i965: Implement support for ARB_clip_control.
authorMathias Fröhlich <Mathias.Froehlich@gmx.net>
Sun, 29 Mar 2015 14:52:57 +0000 (16:52 +0200)
committerMathias Froehlich <Mathias.Froehlich@gmx.net>
Sun, 5 Apr 2015 06:01:47 +0000 (08:01 +0200)
commitfdd90fcb15c109f3dcbf5e46fa8a1f8284b9c266
treecd3b9af38b86f72a80e2725329b1fe3374eee478
parent107ae27e57dc2a1ddc6bbb7ea101c1c60794423f
i965: Implement support for ARB_clip_control.

Switch between the two clip space definitions already available
in hardware. Update winding order dependent state according
to the clip control state.
This change did not introduce new piglit quick.test regressions on
an Ivybridge Mobile and a GM45 Express chipset.
Also it enables and passes the clip-control and clip-control-depth-precision
tests on these two chipsets.

Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
Signed-off-by: Mathias Froehlich <Mathias.Froehlich@web.de>
docs/GL3.txt
docs/relnotes/10.6.0.html
src/mesa/drivers/dri/i965/brw_clip.c
src/mesa/drivers/dri/i965/brw_clip_state.c
src/mesa/drivers/dri/i965/brw_sf.c
src/mesa/drivers/dri/i965/brw_sf_state.c
src/mesa/drivers/dri/i965/gen6_clip_state.c
src/mesa/drivers/dri/i965/gen6_sf_state.c
src/mesa/drivers/dri/i965/gen7_sf_state.c
src/mesa/drivers/dri/i965/gen8_sf_state.c
src/mesa/drivers/dri/i965/intel_extensions.c