]> git.tdb.fi Git - libs/gl.git/blobdiff - source/glsl/spirvconstants.h
Add multisampled texture types to the shader compiler
[libs/gl.git] / source / glsl / spirvconstants.h
index 33d705e22383971ccd273a3d8d4cc77f1b2fc9b3..64daa9ff01a58f60a92b2ca54669f1f9ac026b73 100644 (file)
@@ -68,6 +68,7 @@ enum SpirVOpcode
        OP_IMAGE_QUERY_SIZE_LOD = 103,
        OP_IMAGE_QUERY_LOD = 105,
        OP_IMAGE_QUERY_LEVELS = 106,
+       OP_IMAGE_QUERY_SAMPLES = 107,
        OP_CONVERT_F_TO_U = 109,
        OP_CONVERT_F_TO_S = 110,
        OP_CONVERT_S_TO_F = 111,
@@ -169,6 +170,8 @@ enum SpirVCapability
 
 enum SpirVExecutionMode
 {
+       EXEC_INVOCATIONS = 0,
+       EXEC_ORIGIN_UPPER_LEFT = 7,
        EXEC_ORIGIN_LOWER_LEFT = 8,
        EXEC_INPUT_POINTS = 19,
        EXEC_INPUT_LINES = 20,