Mesa (master): r600/sfn: Fix handling of GS inputs

GitLab Mirror gitlab-mirror at kemper.freedesktop.org
Tue Apr 21 15:20:08 UTC 2020


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

Author: Gert Wollny <gert.wollny at collabora.com>
Date:   Sun Apr 12 16:47:31 2020 +0200

r600/sfn: Fix handling of GS inputs

Signed-off-by: Gert Wollny <gert.wollny at collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4609>

---

 src/gallium/drivers/r600/sfn/sfn_shader_geometry.cpp | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/src/gallium/drivers/r600/sfn/sfn_shader_geometry.cpp b/src/gallium/drivers/r600/sfn/sfn_shader_geometry.cpp
index 931b5cd81da..f6ee95e4912 100644
--- a/src/gallium/drivers/r600/sfn/sfn_shader_geometry.cpp
+++ b/src/gallium/drivers/r600/sfn/sfn_shader_geometry.cpp
@@ -83,8 +83,11 @@ bool GeometryShaderFromNir::do_process_inputs(nir_variable *input)
 
    if (input->data.location == VARYING_SLOT_POS ||
        input->data.location == VARYING_SLOT_PSIZ ||
+       input->data.location == VARYING_SLOT_CLIP_VERTEX ||
        input->data.location == VARYING_SLOT_CLIP_DIST0 ||
        input->data.location == VARYING_SLOT_CLIP_DIST1 ||
+       input->data.location == VARYING_SLOT_COL0 ||
+       input->data.location == VARYING_SLOT_COL1 ||
        (input->data.location >= VARYING_SLOT_VAR0 &&
        input->data.location <= VARYING_SLOT_VAR31) ||
        (input->data.location >= VARYING_SLOT_TEX0 &&



More information about the mesa-commit mailing list