swr: implement clipPlanes/clipVertex/clipDistance/cullDistance
authorTim Rowley <timothy.o.rowley@intel.com>
Wed, 25 May 2016 23:49:34 +0000 (18:49 -0500)
committerTim Rowley <timothy.o.rowley@intel.com>
Thu, 9 Jun 2016 18:28:35 +0000 (13:28 -0500)
commit2c85128e015a401550046f47ce3e2dc0c0049540
treeb21cb0ab258192b5375ddf067d4ee7553c18562d
parentcf804b4455fac9e585b3600a8318caaced9c23de
swr: implement clipPlanes/clipVertex/clipDistance/cullDistance

v2: only load the clip vertex once

v3: fix clip enable logic, add cullDistance

v4: remove duplicate fields in vs jit key, fix test of clip fixup needed

v5: fix clipdistance linkage for slot!=0,4

v6: support clip+cull; passes most piglit clip (failures understood)

Reviewed-by: Bruce Cherniak <bruce.cherniak@intel.com>
docs/GL3.txt
src/gallium/drivers/swr/swr_context.h
src/gallium/drivers/swr/swr_screen.cpp
src/gallium/drivers/swr/swr_shader.cpp
src/gallium/drivers/swr/swr_shader.h
src/gallium/drivers/swr/swr_state.cpp