]> git.tdb.fi Git - libs/gl.git/blobdiff - source/glsl/spirvconstants.h
Implement textureSize as a visitor function in the SPIR-V generator
[libs/gl.git] / source / glsl / spirvconstants.h
index 3f780b1b247f706e0a833cc87e2e1555b4ad0844..3d424844e6d6975bf59e9013e08dc536a4a00a44 100644 (file)
@@ -64,6 +64,7 @@ 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_CONVERT_F_TO_U = 109,
        OP_CONVERT_F_TO_S = 110,
@@ -159,6 +160,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 +257,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,