spv.computeShaderDerivativesNoLayout.comp // Module Version 10000 // Generated by (magic number): 8000b // Id's are bound by 30 Capability Shader 1: ExtInstImport "GLSL.std.450" MemoryModel Logical GLSL450 EntryPoint GLCompute 4 "main" ExecutionMode 4 LocalSize 2 4 1 Source GLSL 450 SourceExtension "GL_NV_compute_shader_derivatives" Name 4 "main" Name 7 "block" MemberName 7(block) 0 "fDerivativeX" MemberName 7(block) 1 "fDerivativeY" MemberName 7(block) 2 "fX" MemberName 7(block) 3 "fY" Name 9 "" Decorate 7(block) BufferBlock MemberDecorate 7(block) 0 Offset 0 MemberDecorate 7(block) 1 Offset 4 MemberDecorate 7(block) 2 Offset 8 MemberDecorate 7(block) 3 Offset 12 Decorate 9 Binding 1 Decorate 9 DescriptorSet 0 Decorate 29 BuiltIn WorkgroupSize 2: TypeVoid 3: TypeFunction 2 6: TypeFloat 32 7(block): TypeStruct 6(float) 6(float) 6(float) 6(float) 8: TypePointer Uniform 7(block) 9: 8(ptr) Variable Uniform 10: TypeInt 32 1 11: 10(int) Constant 0 12: 10(int) Constant 2 13: TypePointer Uniform 6(float) 18: 10(int) Constant 1 19: 10(int) Constant 3 24: TypeInt 32 0 25: TypeVector 24(int) 3 26: 24(int) Constant 2 27: 24(int) Constant 4 28: 24(int) Constant 1 29: 25(ivec3) ConstantComposite 26 27 28 4(main): 2 Function None 3 5: Label 14: 13(ptr) AccessChain 9 12 15: 6(float) Load 14 16: 6(float) DPdx 15 17: 13(ptr) AccessChain 9 11 Store 17 16 20: 13(ptr) AccessChain 9 19 21: 6(float) Load 20 22: 6(float) DPdy 21 23: 13(ptr) AccessChain 9 18 Store 23 22 Return FunctionEnd