X-Git-Url: http://git.tdb.fi/?p=libs%2Fgl.git;a=blobdiff_plain;f=source%2Fglsl%2Fspirvconstants.h;fp=source%2Fglsl%2Fspirvconstants.h;h=d60b809cbcf067ecc35dfab89b28296644531382;hp=ac934eae1209c5f9fa2689a3a8b95e3961011d51;hb=30c7ba8f7fd08c13562c86bf651bdc3ec8d30ab5;hpb=2b1dc627491c987b0459226dcb8ac6aadd7ee4d3 diff --git a/source/glsl/spirvconstants.h b/source/glsl/spirvconstants.h index ac934eae..d60b809c 100644 --- a/source/glsl/spirvconstants.h +++ b/source/glsl/spirvconstants.h @@ -177,6 +177,7 @@ enum SpirVExecutionMode EXEC_INVOCATIONS = 0, EXEC_ORIGIN_UPPER_LEFT = 7, EXEC_ORIGIN_LOWER_LEFT = 8, + EXEC_LOCAL_SIZE = 17, EXEC_INPUT_POINTS = 19, EXEC_INPUT_LINES = 20, EXEC_INPUT_LINES_ADJACENCY = 21, @@ -229,7 +230,13 @@ enum SpirVBuiltin BUILTIN_FRONT_FACING = 17, BUILTIN_SAMPLE_ID = 18, BUILTIN_SAMPLE_POSITION = 19, - BUILTIN_FRAG_DEPTH = 22 + BUILTIN_FRAG_DEPTH = 22, + BUILTIN_NUM_WORKGROUPS = 24, + BUILTIN_WORKGROUP_SIZE = 25, + BUILTIN_WORKGROUP_ID = 26, + BUILTIN_LOCAL_INVOCATION_ID = 27, + BUILTIN_GLOBAL_INVOCATION_ID = 28, + BUILTIN_LOCAL_INVOCATION_INDEX = 29 }; enum SpirVFormat