summaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers/dri/i965/brw_compiler.h
diff options
context:
space:
mode:
authorKristian Høgsberg Kristensen <kristian.h.kristensen@intel.com>2016-05-12 17:38:56 -0700
committerKristian Høgsberg Kristensen <kristian.h.kristensen@intel.com>2016-05-13 16:28:25 -0700
commitc564348a2ec601b28ae607ca0f77054ea53f6912 (patch)
tree44312abbc8162862bebb751b3cd323b881b50b39 /src/mesa/drivers/dri/i965/brw_compiler.h
parenta1c244479247a736961f637b415e07d327203250 (diff)
downloadexternal_mesa3d-c564348a2ec601b28ae607ca0f77054ea53f6912.zip
external_mesa3d-c564348a2ec601b28ae607ca0f77054ea53f6912.tar.gz
external_mesa3d-c564348a2ec601b28ae607ca0f77054ea53f6912.tar.bz2
i965: Add support for GL_ARB_cull_distance
Signed-off-by: Kristian Høgsberg Kristensen <kristian.h.kristensen@intel.com> Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
Diffstat (limited to 'src/mesa/drivers/dri/i965/brw_compiler.h')
-rw-r--r--src/mesa/drivers/dri/i965/brw_compiler.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/mesa/drivers/dri/i965/brw_compiler.h b/src/mesa/drivers/dri/i965/brw_compiler.h
index 5807305..3d1dc88 100644
--- a/src/mesa/drivers/dri/i965/brw_compiler.h
+++ b/src/mesa/drivers/dri/i965/brw_compiler.h
@@ -592,6 +592,8 @@ struct brw_vue_prog_data {
GLuint urb_read_length;
GLuint total_grf;
+ uint32_t cull_distance_mask;
+
/* Used for calculating urb partitions. In the VS, this is the size of the
* URB entry used for both input and output to the thread. In the GS, this
* is the size of the URB entry used for output.