r600/sfn: Fix handling of GS inputs
authorGert Wollny <gert.wollny@collabora.com>
Sun, 12 Apr 2020 14:47:31 +0000 (16:47 +0200)
committerMarge Bot <eric+marge@anholt.net>
Tue, 21 Apr 2020 15:10:43 +0000 (15:10 +0000)
Signed-off-by: Gert Wollny <gert.wollny@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4609>

src/gallium/drivers/r600/sfn/sfn_shader_geometry.cpp

index 931b5cd81daf241f09e93ea7199a3a556b453520..f6ee95e49121a0e9b104eae9e8650888995591cd 100644 (file)
@@ -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 &&