tgsi_ureg: add property_gs_invocations
authorJordan Justen <jordan.l.justen@intel.com>
Thu, 20 Feb 2014 22:36:33 +0000 (14:36 -0800)
committerJordan Justen <jordan.l.justen@intel.com>
Fri, 21 Feb 2014 00:41:01 +0000 (16:41 -0800)
Fixes a build break in state_tracker/st_program.c

Signed-off-by: Jordan Justen <jordan.l.justen@intel.com>
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=75278
Reviewed-by: Dave Airlie <airlied@redhat.com>
src/gallium/auxiliary/tgsi/tgsi_ureg.c
src/gallium/auxiliary/tgsi/tgsi_ureg.h

index f928f5730997bb9287a75098a4642e6657f5d6f8..38cce58490001f6ef4ab815404f811439e1bf2b1 100644 (file)
@@ -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,
index e22598413aeef8da987e3dedd993b89c9cb3da7a..a0a50b7220e53d7f56e15880546bbb4affb9725f 100644 (file)
@@ -164,6 +164,10 @@ void
 ureg_property_gs_max_vertices(struct ureg_program *ureg,
                               unsigned max_vertices);
 
+void
+ureg_property_gs_invocations(struct ureg_program *ureg,
+                             unsigned invocations);
+
 void
 ureg_property_fs_coord_origin(struct ureg_program *ureg,
                             unsigned fs_coord_origin);