]> git.tdb.fi Git - libs/gl.git/blobdiff - source/glsl/spirvconstants.h
Store required capabilities for SPIR-V builtin functions
[libs/gl.git] / source / glsl / spirvconstants.h
index 3f780b1b247f706e0a833cc87e2e1555b4ad0844..04d283490e790dd21421d4ef7ee2dda228ea16a5 100644 (file)
@@ -159,6 +159,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 +256,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,