radeonsi: enable full out-of-order drawing when allow_draw_out_of_order is set
Reviewed-by: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer@amd.com> Tested-by: Marge Bot <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4152> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4152>
This commit is contained in:
parent
8c053e5fad
commit
b94c277fd1
|
@ -1185,9 +1185,11 @@ radeonsi_screen_create_impl(struct radeon_winsys *ws,
|
||||||
sscreen->has_out_of_order_rast = sscreen->info.has_out_of_order_rast &&
|
sscreen->has_out_of_order_rast = sscreen->info.has_out_of_order_rast &&
|
||||||
!(sscreen->debug_flags & DBG(NO_OUT_OF_ORDER));
|
!(sscreen->debug_flags & DBG(NO_OUT_OF_ORDER));
|
||||||
sscreen->assume_no_z_fights =
|
sscreen->assume_no_z_fights =
|
||||||
driQueryOptionb(config->options, "radeonsi_assume_no_z_fights");
|
driQueryOptionb(config->options, "radeonsi_assume_no_z_fights") ||
|
||||||
|
driQueryOptionb(config->options, "allow_draw_out_of_order");
|
||||||
sscreen->commutative_blend_add =
|
sscreen->commutative_blend_add =
|
||||||
driQueryOptionb(config->options, "radeonsi_commutative_blend_add");
|
driQueryOptionb(config->options, "radeonsi_commutative_blend_add") ||
|
||||||
|
driQueryOptionb(config->options, "allow_draw_out_of_order");
|
||||||
|
|
||||||
sscreen->use_ngg = sscreen->info.chip_class >= GFX10 &&
|
sscreen->use_ngg = sscreen->info.chip_class >= GFX10 &&
|
||||||
sscreen->info.family != CHIP_NAVI14 &&
|
sscreen->info.family != CHIP_NAVI14 &&
|
||||||
|
|
Loading…
Reference in New Issue