aboutsummaryrefslogtreecommitdiffstats
path: root/src/amd/vulkan/radv_private.h
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_private.h
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_private.h')
-rw-r--r--src/amd/vulkan/radv_private.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/amd/vulkan/radv_private.h b/src/amd/vulkan/radv_private.h
index 24a04c4e6a5..b56772e6edb 100644
--- a/src/amd/vulkan/radv_private.h
+++ b/src/amd/vulkan/radv_private.h
@@ -327,6 +327,9 @@ struct radv_physical_device {
/* Whether to enable NGG. */
bool use_ngg;
+ /* Whether to enable NGG GS. */
+ bool use_ngg_gs;
+
/* Whether to enable NGG streamout. */
bool use_ngg_streamout;