summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRhys Perry <[email protected]>2019-09-25 12:04:51 +0100
committerRhys Perry <[email protected]>2019-09-26 11:04:45 +0100
commit0aef1a230e7f0f883296e25d965386b6b0859dcc (patch)
treeb169a1084b7495e911cf4c45fec15bd078ed0f73
parent031752798b440f650c9bc758dfe8d18323a2b9e3 (diff)
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]>
-rw-r--r--src/amd/vulkan/radv_device.c1
1 files changed, 0 insertions, 1 deletions
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;