yum-mirror/glslang
git clone https://git.yummers.dev/yum-mirror/glslang
118ac898
main
1spv.khrComputeShaderDerivativesLayoutOrder.comp 2// Module Version 10400 3// Generated by (magic number): 8000b 4// Id's are bound by 22 5 6 Capability Shader 7 Capability ComputeDerivativeGroupQuadsKHR 8 Extension "SPV_KHR_compute_shader_derivatives" 9 1: ExtInstImport "GLSL.std.450" 10 MemoryModel Logical GLSL450 11 EntryPoint GLCompute 4 "main" 12 12 ExecutionMode 4 LocalSize 2 2 1 13 ExecutionMode 4 DerivativeGroupQuadsKHR 14 Source GLSL 450 15 SourceExtension "GL_KHR_compute_shader_derivatives" 16 Name 4 "main" 17 Name 8 "dx" 18 Name 12 "gl_LocalInvocationID" 19 Decorate 12(gl_LocalInvocationID) BuiltIn LocalInvocationId 20 Decorate 21 BuiltIn WorkgroupSize 21 2: TypeVoid 22 3: TypeFunction 2 23 6: TypeFloat 32 24 7: TypePointer Function 6(float) 25 9: TypeInt 32 0 26 10: TypeVector 9(int) 3 27 11: TypePointer Input 10(ivec3) 2812(gl_LocalInvocationID): 11(ptr) Variable Input 29 13: 9(int) Constant 0 30 14: TypePointer Input 9(int) 31 19: 9(int) Constant 2 32 20: 9(int) Constant 1 33 21: 10(ivec3) ConstantComposite 19 19 20 34 4(main): 2 Function None 3 35 5: Label 36 8(dx): 7(ptr) Variable Function 37 15: 14(ptr) AccessChain 12(gl_LocalInvocationID) 13 38 16: 9(int) Load 15 39 17: 6(float) ConvertUToF 16 40 18: 6(float) DPdx 17 41 Store 8(dx) 18 42 Return 43 FunctionEnd