Mesa (main): radv: do not initialize is_ngg_passthrough for geometry shaders

GitLab Mirror gitlab-mirror at kemper.freedesktop.org
Tue Oct 12 09:18:13 UTC 2021


Module: Mesa
Branch: main
Commit: 6bfe65d1dc167d5b70ae5bce7bc9b91638e7fe04
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=6bfe65d1dc167d5b70ae5bce7bc9b91638e7fe04

Author: Samuel Pitoiset <samuel.pitoiset at gmail.com>
Date:   Thu Oct  7 10:23:51 2021 +0200

radv: do not initialize is_ngg_passthrough for geometry shaders

Geometry shaders can't be NGG passthrough at all.

Signed-off-by: Samuel Pitoiset <samuel.pitoiset at gmail.com>
Reviewed-by: Bas Nieuwenhuizen <bas at basnieuwenhuizen.nl>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/13243>

---

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

diff --git a/src/amd/vulkan/radv_pipeline.c b/src/amd/vulkan/radv_pipeline.c
index af37ed5a5af..8106e93d749 100644
--- a/src/amd/vulkan/radv_pipeline.c
+++ b/src/amd/vulkan/radv_pipeline.c
@@ -2954,7 +2954,6 @@ radv_fill_shader_info(struct radv_pipeline *pipeline,
          infos[MESA_SHADER_GEOMETRY].tes.as_es = infos[MESA_SHADER_TESS_EVAL].tes.as_es;
       }
       infos[MESA_SHADER_GEOMETRY].is_ngg = infos[pre_stage].is_ngg;
-      infos[MESA_SHADER_GEOMETRY].is_ngg_passthrough = infos[pre_stage].is_ngg_passthrough;
       infos[MESA_SHADER_GEOMETRY].gs.es_type = pre_stage;
 
       for (int i = 0; i < 2; i++) {



More information about the mesa-commit mailing list