summaryrefslogtreecommitdiff
path: root/src/gallium/drivers/freedreno
diff options
context:
space:
mode:
authorRob Clark <robdclark@gmail.com>2016-12-25 13:16:51 -0500
committerRob Clark <robdclark@gmail.com>2016-12-27 16:54:01 -0500
commitc416ea31cfe50e3d8ac3e433f9e4490a850b8e56 (patch)
tree75446c195ea08e80217197bcf7f3e0534f62c6ed /src/gallium/drivers/freedreno
parentd10c5a24818b39585acfa60ceb6dbbae22b5be09 (diff)
freedreno/ir3: treat clipvertex like a normal varying
We need this in case it is streamed out. Not sure why we were treating it specially before. Having it as a VS out is harmless if FS doesn't have a matching input. Signed-off-by: Rob Clark <robdclark@gmail.com>
Diffstat (limited to 'src/gallium/drivers/freedreno')
-rw-r--r--src/gallium/drivers/freedreno/ir3/ir3_compiler_nir.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/gallium/drivers/freedreno/ir3/ir3_compiler_nir.c b/src/gallium/drivers/freedreno/ir3/ir3_compiler_nir.c
index bfc04a7197..b0f40f1c2f 100644
--- a/src/gallium/drivers/freedreno/ir3/ir3_compiler_nir.c
+++ b/src/gallium/drivers/freedreno/ir3/ir3_compiler_nir.c
@@ -2151,10 +2151,8 @@ setup_output(struct ir3_compile *ctx, nir_variable *out)
case VARYING_SLOT_FOGC:
case VARYING_SLOT_CLIP_DIST0:
case VARYING_SLOT_CLIP_DIST1:
- break;
case VARYING_SLOT_CLIP_VERTEX:
- /* handled entirely in nir_lower_clip: */
- return;
+ break;
default:
if (slot >= VARYING_SLOT_VAR0)
break;