spv.khrComputeShaderDerivativesLayoutOrder.comp // Module Version 10400 // Generated by (magic number): 8000b // Id's are bound by 22 Capability Shader Capability ComputeDerivativeGroupQuadsKHR Extension "SPV_KHR_compute_shader_derivatives" 1: ExtInstImport "GLSL.std.450" MemoryModel Logical GLSL450 EntryPoint GLCompute 4 "main" 12 ExecutionMode 4 LocalSize 2 2 1 ExecutionMode 4 DerivativeGroupQuadsKHR Source GLSL 450 SourceExtension "GL_KHR_compute_shader_derivatives" Name 4 "main" Name 8 "dx" Name 12 "gl_LocalInvocationID" Decorate 12(gl_LocalInvocationID) BuiltIn LocalInvocationId Decorate 21 BuiltIn WorkgroupSize 2: TypeVoid 3: TypeFunction 2 6: TypeFloat 32 7: TypePointer Function 6(float) 9: TypeInt 32 0 10: TypeVector 9(int) 3 11: TypePointer Input 10(ivec3) 12(gl_LocalInvocationID): 11(ptr) Variable Input 13: 9(int) Constant 0 14: TypePointer Input 9(int) 19: 9(int) Constant 2 20: 9(int) Constant 1 21: 10(ivec3) ConstantComposite 19 19 20 4(main): 2 Function None 3 5: Label 8(dx): 7(ptr) Variable Function 15: 14(ptr) AccessChain 12(gl_LocalInvocationID) 13 16: 9(int) Load 15 17: 6(float) ConvertUToF 16 18: 6(float) DPdx 17 Store 8(dx) 18 Return FunctionEnd