summaryrefslogtreecommitdiffstats
path: root/src/gallium/auxiliary
diff options
context:
space:
mode:
Diffstat (limited to 'src/gallium/auxiliary')
-rw-r--r--src/gallium/auxiliary/tgsi/tgsi_ureg.c7
-rw-r--r--src/gallium/auxiliary/tgsi/tgsi_ureg.h4
2 files changed, 11 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,
diff --git a/src/gallium/auxiliary/tgsi/tgsi_ureg.h b/src/gallium/auxiliary/tgsi/tgsi_ureg.h
index e22598413ae..a0a50b7220e 100644
--- a/src/gallium/auxiliary/tgsi/tgsi_ureg.h
+++ b/src/gallium/auxiliary/tgsi/tgsi_ureg.h
@@ -165,6 +165,10 @@ 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);