summaryrefslogtreecommitdiffstats
path: root/src/glsl/nir/nir.h
diff options
context:
space:
mode:
authorKenneth Graunke <[email protected]>2015-11-17 14:56:32 -0800
committerKenneth Graunke <[email protected]>2015-11-18 10:49:18 -0800
commit2631bfd62c899dfa2a7095685c4f6874d5e9704d (patch)
treecc6422452116e28e40a06b0272f45f0a0a4a7d5e /src/glsl/nir/nir.h
parentb196f1fff31f1528afa84590926c2935d9b0c255 (diff)
nir: Store the size of the TCS output patch in nir_shader_info.
Signed-off-by: Kenneth Graunke <[email protected]> Reviewed-by: Jason Ekstrand <[email protected]>
Diffstat (limited to 'src/glsl/nir/nir.h')
-rw-r--r--src/glsl/nir/nir.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/glsl/nir/nir.h b/src/glsl/nir/nir.h
index beabcafef4e..46add22da70 100644
--- a/src/glsl/nir/nir.h
+++ b/src/glsl/nir/nir.h
@@ -1544,6 +1544,11 @@ typedef struct nir_shader_info {
struct {
unsigned local_size[3];
} cs;
+
+ struct {
+ /** The number of vertices in the TCS output patch. */
+ unsigned vertices_out;
+ } tcs;
};
} nir_shader_info;