aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorGert Wollny <[email protected]>2020-05-07 00:01:48 +0200
committerMarge Bot <[email protected]>2020-05-19 07:52:13 +0000
commit70b84920befb3121b58e22e176267a63a8b1317a (patch)
tree2c03043f6dd2a49054378d823319fb4ccf0306a6 /src
parentd777c040958f3881d065123b73a7abcf422809a7 (diff)
r600/sfn: Take FOGC, and backcolors into account im GS outputs
Signed-off-by: Gert Wollny <[email protected]> Reviewed-by: Reviewed-by: Dave Airlie <[email protected]> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5085>
Diffstat (limited to 'src')
-rw-r--r--src/gallium/drivers/r600/sfn/sfn_shader_geometry.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/gallium/drivers/r600/sfn/sfn_shader_geometry.cpp b/src/gallium/drivers/r600/sfn/sfn_shader_geometry.cpp
index f9993c34120..1b215b471e3 100644
--- a/src/gallium/drivers/r600/sfn/sfn_shader_geometry.cpp
+++ b/src/gallium/drivers/r600/sfn/sfn_shader_geometry.cpp
@@ -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 &&