Module: Mesa
Branch: master
Commit: 0aef1a230e7f0f883296e25d965386b6b0859dcc
URL:    
http://cgit.freedesktop.org/mesa/mesa/commit/?id=0aef1a230e7f0f883296e25d965386b6b0859dcc

Author: Rhys Perry <[email protected]>
Date:   Wed Sep 25 12:04:51 2019 +0100

radv/aco: actually disable ACO when unsupported

We were setting this twice. The second time, we weren't later disabling
it if unsupported.

Signed-off-by: Rhys Perry <[email protected]>
Reviewed-by: Daniel Schürmann <[email protected]>
Reviewed-by: Bas Nieuwenhuizen <[email protected]>

---

 src/amd/vulkan/radv_device.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/src/amd/vulkan/radv_device.c b/src/amd/vulkan/radv_device.c
index af425b39b96..ea132ee8bc4 100644
--- a/src/amd/vulkan/radv_device.c
+++ b/src/amd/vulkan/radv_device.c
@@ -373,7 +373,6 @@ radv_physical_device_init(struct radv_physical_device 
*device,
                                    (device->use_aco || 
device->instance->perftest_flags & RADV_PERFTEST_SHADER_BALLOT);
 
        device->use_ngg_streamout = false;
-       device->use_aco = device->instance->perftest_flags & RADV_PERFTEST_ACO;
 
        /* Determine the number of threads per wave for all stages. */
        device->cs_wave_size = 64;

_______________________________________________
mesa-commit mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/mesa-commit

Reply via email to