aboutsummaryrefslogtreecommitdiffstats
path: root/src/amd/vulkan/radv_device.c
diff options
context:
space:
mode:
authorSamuel Pitoiset <[email protected]>2020-04-16 16:15:45 +0200
committerSamuel Pitoiset <[email protected]>2020-04-17 17:39:16 +0200
commitfd6e44236c07583b3b838b2c7ed01fea27002ef9 (patch)
tree82925ed1fbcc9c4ba5c50dfe7e7b77cdaf54c754 /src/amd/vulkan/radv_device.c
parentf7d620f47d53d9ad513c41730f3a24b9564e5e74 (diff)
radv: fix geometry shader primitives query with ACO on GFX10
Fixes dEQP-VK.query_pool.statistics_query.*.geometry_shader_primitives.*. Fixes: c24d9522dae ("radv: Enable ACO for NGG VS/TES, but disable NGG for ACO GS.") Signed-off-by: Samuel Pitoiset <[email protected]> Reviewed-by: Timur Kristóf <[email protected]> Reviewed-by: Bas Nieuwenhuizen <[email protected]> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4593>
Diffstat (limited to 'src/amd/vulkan/radv_device.c')
-rw-r--r--src/amd/vulkan/radv_device.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/amd/vulkan/radv_device.c b/src/amd/vulkan/radv_device.c
index 09b19ed0007..8e4fc861722 100644
--- a/src/amd/vulkan/radv_device.c
+++ b/src/amd/vulkan/radv_device.c
@@ -412,6 +412,8 @@ radv_physical_device_init(struct radv_physical_device *device,
device->rad_info.family != CHIP_NAVI14 &&
!(device->instance->debug_flags & RADV_DEBUG_NO_NGG);
+ /* TODO: Implement NGG GS with ACO. */
+ device->use_ngg_gs = device->use_ngg && !device->use_aco;
device->use_ngg_streamout = false;
/* Determine the number of threads per wave for all stages. */