glsl/shader_cache: handle SPIR-V shaders
[mesa.git] / src / compiler / glsl / ir_variable_refcount.h
index 0a8eec7a2696792ad2f7edf419e931419d45e279..4a90f08c91f7d83b50eb1fca119b02dc57e88ee6 100644 (file)
@@ -29,6 +29,9 @@
  * were defined in the scope.
  */
 
+#ifndef GLSL_IR_VARIABLE_REFCOUNT_H
+#define GLSL_IR_VARIABLE_REFCOUNT_H
+
 #include "ir.h"
 #include "ir_visitor.h"
 #include "compiler/glsl_types.h"
@@ -84,3 +87,5 @@ public:
 
    void *mem_ctx;
 };
+
+#endif /* GLSL_IR_VARIABLE_REFCOUNT_H */