]> git.tdb.fi Git - libs/gl.git/blobdiff - source/glsl/validate.h
Validate the presence of in/out layout qualifiers for geometry shaders
[libs/gl.git] / source / glsl / validate.h
index c9a7b736035519e3d3767062e198cb22e5f8ba6b..f562043576e0b8db285b3a9d2a821c78977979c3 100644 (file)
@@ -44,6 +44,9 @@ private:
        InterfaceLayout *iface_layout = 0;
        VariableDeclaration *iface_block = 0;
        VariableDeclaration *variable = 0;
+       bool have_input_primitive = false;
+       bool have_output_primitive = false;
+       bool have_output_vertex_count = false;
 
 public:
        void apply(Stage &, const Features &);