[Mesa-dev] [PATCH 4/7] compiler: add input primative field for gs in shader info

Timothy Arceri timothy.arceri at collabora.com
Thu Oct 13 08:43:07 UTC 2016


---
 src/compiler/shader_info.h | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/src/compiler/shader_info.h b/src/compiler/shader_info.h
index 8266fc3..502c7c8 100644
--- a/src/compiler/shader_info.h
+++ b/src/compiler/shader_info.h
@@ -78,6 +78,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;
 
-- 
2.7.4



More information about the mesa-dev mailing list