r600/sfn: Take FOGC, and backcolors into account im GS outputs
authorGert Wollny <gert.wollny@collabora.com>
Wed, 6 May 2020 22:01:48 +0000 (00:01 +0200)
committerMarge Bot <eric+marge@anholt.net>
Tue, 19 May 2020 07:52:13 +0000 (07:52 +0000)
Signed-off-by: Gert Wollny <gert.wollny@collabora.com>
Reviewed-by: Reviewed-by: Dave Airlie <airlied@redhat.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5085>

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

index f9993c34120373d1ccb0d470d75f0214ecc15255..1b215b471e3b4edfd7b184b75e1878d07aedda7c 100644 (file)
@@ -81,11 +81,14 @@ 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_FOGC ||
        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_BFC0 ||
+       input->data.location == VARYING_SLOT_BFC1 ||
        (input->data.location >= VARYING_SLOT_VAR0 &&
        input->data.location <= VARYING_SLOT_VAR31) ||
        (input->data.location >= VARYING_SLOT_TEX0 &&