diff options
author | Dave Airlie <[email protected]> | 2016-05-13 15:42:19 +1000 |
---|---|---|
committer | Dave Airlie <[email protected]> | 2016-05-23 11:03:40 +1000 |
commit | d17062a40e16454a15aa037a4d1d9e9562cedd46 (patch) | |
tree | a672ea54c162210a965561036258458bcfd7a1dc /src/gallium/auxiliary/tgsi/tgsi_scan.c | |
parent | bddb3b5375899e99e96d499a20083d6c95486a6f (diff) |
draw: stop using CULLDIST semantic.
The way the HW works doesn't really fit with having
two semantics for this.
The GLSL compiler emits 2 vec4s and two properties,
this makes draw use those instead of CULLDIST semantics.
Reviewed-by: Roland Scheidegger <[email protected]>
Signed-off-by: Dave Airlie <[email protected]>
Diffstat (limited to 'src/gallium/auxiliary/tgsi/tgsi_scan.c')
-rw-r--r-- | src/gallium/auxiliary/tgsi/tgsi_scan.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/gallium/auxiliary/tgsi/tgsi_scan.c b/src/gallium/auxiliary/tgsi/tgsi_scan.c index e07148d6783..1baf031d73e 100644 --- a/src/gallium/auxiliary/tgsi/tgsi_scan.c +++ b/src/gallium/auxiliary/tgsi/tgsi_scan.c @@ -336,8 +336,7 @@ scan_declaration(struct tgsi_shader_info *info, semName == TGSI_SEMANTIC_COLOR || semName == TGSI_SEMANTIC_BCOLOR || semName == TGSI_SEMANTIC_FOG || - semName == TGSI_SEMANTIC_CLIPDIST || - semName == TGSI_SEMANTIC_CULLDIST) { + semName == TGSI_SEMANTIC_CLIPDIST) { switch (fulldecl->Interp.Interpolate) { case TGSI_INTERPOLATE_COLOR: case TGSI_INTERPOLATE_PERSPECTIVE: |