summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/r600/r600_shader.h
diff options
context:
space:
mode:
authorDave Airlie <[email protected]>2013-12-23 01:30:03 +0000
committerDave Airlie <[email protected]>2014-02-05 10:49:39 +1000
commitf4652babbde7bd9a7660ece7fe38ed16e294595e (patch)
tree7332896e634c8a1b934a92404fa6ee0b641c7717 /src/gallium/drivers/r600/r600_shader.h
parentb0e842bd9f90d6b77eae085a168d5a6c49962bf3 (diff)
r600g: add primitive input support for gs
only enable prim id if gs uses it Signed-off-by: Dave Airlie <[email protected]> Reviewed-by: Alex Deucher <[email protected]>
Diffstat (limited to 'src/gallium/drivers/r600/r600_shader.h')
-rw-r--r--src/gallium/drivers/r600/r600_shader.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gallium/drivers/r600/r600_shader.h b/src/gallium/drivers/r600/r600_shader.h
index 0bf8b51fff3..d31c65f4bc8 100644
--- a/src/gallium/drivers/r600/r600_shader.h
+++ b/src/gallium/drivers/r600/r600_shader.h
@@ -64,6 +64,7 @@ struct r600_shader {
boolean vs_out_point_size;
boolean has_txq_cube_array_z_comp;
boolean uses_tex_buffers;
+ boolean gs_prim_id_input;
/* geometry shader properties */
unsigned gs_input_prim;