OSDN Git Service

i965: Initial Ivybridge Clip state setup.
authorKenneth Graunke <kenneth@whitecape.org>
Mon, 28 Mar 2011 20:12:21 +0000 (13:12 -0700)
committerKenneth Graunke <kenneth@whitecape.org>
Wed, 18 May 2011 06:32:59 +0000 (23:32 -0700)
commit81fd03fe56372c5c702bf257e821cea71ee25448
tree0f09fcd5d0d413e53e0c332eadd713ca9806370e
parent24d0ed72c1817b624e3021b12a0987b2c5edd71b
i965: Initial Ivybridge Clip state setup.

Copied from gen6_clip_state.c.

This enables early culling and sets the necessary fields.  Otherwise, it
is entirely the same, so I doubt this patch is strictly necessary for a
functional driver.

Signed-off-by: Kenneth Graunke <kenneth@whitecape.org>
Reviewed-by: Eric Anholt <eric@anholt.net>
src/mesa/drivers/dri/i965/Makefile
src/mesa/drivers/dri/i965/brw_defines.h
src/mesa/drivers/dri/i965/brw_state.h
src/mesa/drivers/dri/i965/brw_state_upload.c
src/mesa/drivers/dri/i965/gen7_clip_state.c [new file with mode: 0644]