summaryrefslogtreecommitdiffstats
path: root/src/gallium/auxiliary/tgsi/tgsi_ureg.c
diff options
context:
space:
mode:
authorJordan Justen <[email protected]>2014-02-20 14:36:33 -0800
committerJordan Justen <[email protected]>2014-02-20 16:41:01 -0800
commitc97763ca2d740bd44062a81def9a49a03dcc0424 (patch)
treef9be45b19dc83d1bb31c940f4b8698f51f71b3a7 /src/gallium/auxiliary/tgsi/tgsi_ureg.c
parent1336ccb7dd63b64ef5d8bb0a7f57d6291b0f3a97 (diff)
tgsi_ureg: add property_gs_invocations
Fixes a build break in state_tracker/st_program.c Signed-off-by: Jordan Justen <[email protected]> Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=75278 Reviewed-by: Dave Airlie <[email protected]>
Diffstat (limited to 'src/gallium/auxiliary/tgsi/tgsi_ureg.c')
-rw-r--r--src/gallium/auxiliary/tgsi/tgsi_ureg.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/gallium/auxiliary/tgsi/tgsi_ureg.c b/src/gallium/auxiliary/tgsi/tgsi_ureg.c
index f928f573099..38cce584900 100644
--- a/src/gallium/auxiliary/tgsi/tgsi_ureg.c
+++ b/src/gallium/auxiliary/tgsi/tgsi_ureg.c
@@ -168,6 +168,7 @@ struct ureg_program
unsigned property_gs_input_prim;
unsigned property_gs_output_prim;
unsigned property_gs_max_vertices;
+ unsigned property_gs_invocations;
unsigned char property_fs_coord_origin; /* = TGSI_FS_COORD_ORIGIN_* */
unsigned char property_fs_coord_pixel_center; /* = TGSI_FS_COORD_PIXEL_CENTER_* */
unsigned char property_fs_color0_writes_all_cbufs; /* = TGSI_FS_COLOR0_WRITES_ALL_CBUFS * */
@@ -295,6 +296,12 @@ ureg_property_gs_max_vertices(struct ureg_program *ureg,
{
ureg->property_gs_max_vertices = max_vertices;
}
+void
+ureg_property_gs_invocations(struct ureg_program *ureg,
+ unsigned invocations)
+{
+ ureg->property_gs_invocations = invocations;
+}
void
ureg_property_fs_coord_origin(struct ureg_program *ureg,