]> git.tdb.fi Git - libs/gl.git/blobdiff - source/glsl/spirvconstants.h
Recognize unknown index as matching any index
[libs/gl.git] / source / glsl / spirvconstants.h
index 3f780b1b247f706e0a833cc87e2e1555b4ad0844..661839053544d7e762d640fac159073cc57392da 100644 (file)
@@ -64,7 +64,10 @@ enum SpirVOpcode
        OP_IMAGE_SAMPLE_DREF_IMPLICIT_LOD = 89,
        OP_IMAGE_SAMPLE_DREF_EXPLICIT_LOD = 89,
        OP_IMAGE_FETCH = 95,
+       OP_IMAGE = 100,
        OP_IMAGE_QUERY_SIZE_LOD = 103,
+       OP_IMAGE_QUERY_LOD = 105,
+       OP_IMAGE_QUERY_LEVELS = 106,
        OP_CONVERT_F_TO_U = 109,
        OP_CONVERT_F_TO_S = 110,
        OP_CONVERT_S_TO_F = 111,
@@ -159,6 +162,8 @@ enum SpirVCapability
        CAP_SAMPLED_1D = 43,
        CAP_IMAGE_1D = 44,
        CAP_SAMPLED_CUBE_ARRAY = 45,
+       CAP_IMAGE_QUERY = 50,
+       CAP_DERIVATIVE_CONTROL = 51,
        CAP_INTERPOLATION_FUNCTION = 52
 };
 
@@ -254,7 +259,7 @@ enum SpirVGlslStd450Opcode
        GLSL450_SQRT = 31,
        GLSL450_INVERSE_SQRT = 32,
        GLSL450_DETERMINANT = 33,
-       GLSL450_MATRIX_INVERSE = 33,
+       GLSL450_MATRIX_INVERSE = 34,
        GLSL450_F_MIN = 37,
        GLSL450_U_MIN = 38,
        GLSL450_S_MIN = 39,