summaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers/dri/i965/brw_compiler.h
diff options
context:
space:
mode:
authorKenneth Graunke <kenneth@whitecape.org>2015-09-29 14:43:29 -0700
committerKenneth Graunke <kenneth@whitecape.org>2015-10-21 14:27:48 -0700
commit72d84ae7ceaed4e723376a18d09689be183e0155 (patch)
tree1dcadb203b79988a8f759e5f9c941da70384b43e /src/mesa/drivers/dri/i965/brw_compiler.h
parentac98888afdc121e6eaafc9c5393647a2df4baef6 (diff)
downloadexternal_mesa3d-72d84ae7ceaed4e723376a18d09689be183e0155.zip
external_mesa3d-72d84ae7ceaed4e723376a18d09689be183e0155.tar.gz
external_mesa3d-72d84ae7ceaed4e723376a18d09689be183e0155.tar.bz2
i965: Introduce a brw_vue_prog_data::include_vue_handles flag.
Tessellation shaders and SIMD8 geometry shaders may need to resort to the pull model for inputs at times. When set, the state upload code will tell the hardware to provide URB handles for input data. Signed-off-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Kristian Høgsberg <krh@bitplanet.net>
Diffstat (limited to 'src/mesa/drivers/dri/i965/brw_compiler.h')
-rw-r--r--src/mesa/drivers/dri/i965/brw_compiler.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/mesa/drivers/dri/i965/brw_compiler.h b/src/mesa/drivers/dri/i965/brw_compiler.h
index 10e1fde..6a9799e 100644
--- a/src/mesa/drivers/dri/i965/brw_compiler.h
+++ b/src/mesa/drivers/dri/i965/brw_compiler.h
@@ -485,6 +485,9 @@ struct brw_vue_prog_data {
struct brw_stage_prog_data base;
struct brw_vue_map vue_map;
+ /** Should the hardware deliver input VUE handles for URB pull loads? */
+ bool include_vue_handles;
+
GLuint urb_read_length;
GLuint total_grf;