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/draw/draw_vs.h | |
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/draw/draw_vs.h')
-rw-r--r-- | src/gallium/auxiliary/draw/draw_vs.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/gallium/auxiliary/draw/draw_vs.h b/src/gallium/auxiliary/draw/draw_vs.h index 24b29e70dd9..6a900224c11 100644 --- a/src/gallium/auxiliary/draw/draw_vs.h +++ b/src/gallium/auxiliary/draw/draw_vs.h @@ -113,8 +113,7 @@ struct draw_vertex_shader { unsigned viewport_index_output; unsigned edgeflag_output; unsigned clipvertex_output; - unsigned clipdistance_output[PIPE_MAX_CLIP_OR_CULL_DISTANCE_ELEMENT_COUNT]; - unsigned culldistance_output[PIPE_MAX_CLIP_OR_CULL_DISTANCE_ELEMENT_COUNT]; + unsigned ccdistance_output[PIPE_MAX_CLIP_OR_CULL_DISTANCE_ELEMENT_COUNT]; /* Extracted from shader: */ const float (*immediates)[4]; |