draw: stop using CULLDIST semantic.
authorDave Airlie <airlied@redhat.com>
Fri, 13 May 2016 05:42:19 +0000 (15:42 +1000)
committerDave Airlie <airlied@redhat.com>
Mon, 23 May 2016 01:03:40 +0000 (11:03 +1000)
commitd17062a40e16454a15aa037a4d1d9e9562cedd46
treea672ea54c162210a965561036258458bcfd7a1dc
parentbddb3b5375899e99e96d499a20083d6c95486a6f
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 <sroland@vmware.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
src/gallium/auxiliary/draw/draw_cliptest_tmp.h
src/gallium/auxiliary/draw/draw_context.c
src/gallium/auxiliary/draw/draw_gs.c
src/gallium/auxiliary/draw/draw_gs.h
src/gallium/auxiliary/draw/draw_llvm.c
src/gallium/auxiliary/draw/draw_pipe_clip.c
src/gallium/auxiliary/draw/draw_pipe_cull.c
src/gallium/auxiliary/draw/draw_private.h
src/gallium/auxiliary/draw/draw_vs.c
src/gallium/auxiliary/draw/draw_vs.h
src/gallium/auxiliary/tgsi/tgsi_scan.c