summaryrefslogtreecommitdiffstats
path: root/src/compiler/shader_info.h
diff options
context:
space:
mode:
authorTimothy Arceri <[email protected]>2016-10-13 15:16:49 +1100
committerTimothy Arceri <[email protected]>2016-10-26 14:29:36 +1100
commitb99ecaf8724cf7fac29dbc2851c3be13d0fed5b2 (patch)
treec3257aa93527a67ac3c54f7c5249b92c643ba974 /src/compiler/shader_info.h
parent67c2d80a839614e4638d6cff390627122f8148ca (diff)
compiler: add input primative field for gs in shader info
And copy the value from GLSL. Reviewed-by: Jason Ekstrand <[email protected]>
Diffstat (limited to 'src/compiler/shader_info.h')
-rw-r--r--src/compiler/shader_info.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/compiler/shader_info.h b/src/compiler/shader_info.h
index 5eae8f13f46..a44fcac2388 100644
--- a/src/compiler/shader_info.h
+++ b/src/compiler/shader_info.h
@@ -82,6 +82,9 @@ typedef struct shader_info {
/** The output primitive type (GL enum value) */
unsigned output_primitive;
+ /** The input primitive type (GL enum value) */
+ unsigned input_primitive;
+
/** The maximum number of vertices the geometry shader might write. */
unsigned vertices_out;