]> git.tdb.fi Git - libs/gl.git/blobdiff - source/glsl/spirv.h
Use standard fixed-size integer types
[libs/gl.git] / source / glsl / spirv.h
index f18bf61c39443196795c2fdb9d80145e2e8d888c..669342f36a5bb3297bb76ac8a9e8e74913d210bb 100644 (file)
@@ -1,5 +1,5 @@
-#ifndef MSP_GL_SL_SPIRV
-#define MSP_GL_SL_SPIRV
+#ifndef MSP_GL_SL_SPIRV_H_
+#define MSP_GL_SL_SPIRV_H_
 
 #include <map>
 #include <string>
@@ -30,7 +30,7 @@ private:
                char arg_types[5];
                char extension[13];
                Word opcode;
-               UInt8 arg_order[4];
+               std::uint8_t arg_order[4];
                Word capability;
                void (SpirVGenerator::*handler)(FunctionCall &, const std::vector<Id> &);
        };