diff options
author | Rob Clark <[email protected]> | 2016-12-25 13:16:51 -0500 |
---|---|---|
committer | Rob Clark <[email protected]> | 2016-12-27 16:54:01 -0500 |
commit | c416ea31cfe50e3d8ac3e433f9e4490a850b8e56 (patch) | |
tree | 75446c195ea08e80217197bcf7f3e0534f62c6ed /src/gallium/drivers/freedreno | |
parent | d10c5a24818b39585acfa60ceb6dbbae22b5be09 (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 <[email protected]>
Diffstat (limited to 'src/gallium/drivers/freedreno')
-rw-r--r-- | src/gallium/drivers/freedreno/ir3/ir3_compiler_nir.c | 4 |
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 bfc04a7197a..b0f40f1c2ff 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; |