From b94c277fd1e7e8008ccc37aa2f4dd547ef92688b Mon Sep 17 00:00:00 2001 From: =?utf8?q?Marek=20Ol=C5=A1=C3=A1k?= Date: Mon, 23 Mar 2020 14:50:53 -0400 Subject: [PATCH] radeonsi: enable full out-of-order drawing when allow_draw_out_of_order is set Reviewed-by: Pierre-Eric Pelloux-Prayer Tested-by: Marge Bot Part-of: --- src/gallium/drivers/radeonsi/si_pipe.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/gallium/drivers/radeonsi/si_pipe.c b/src/gallium/drivers/radeonsi/si_pipe.c index 157a1982d37..90e05a590f3 100644 --- a/src/gallium/drivers/radeonsi/si_pipe.c +++ b/src/gallium/drivers/radeonsi/si_pipe.c @@ -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->debug_flags & DBG(NO_OUT_OF_ORDER)); 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 = - 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->info.family != CHIP_NAVI14 && -- 2.30.2