1 hlsl.layout.frag 2 Shader version: 500 3 gl_FragCoord origin is upper left 4 0:? Sequence 5 0:16 Function Definition: PixelShaderFunction(vf4; ( temp 4-component vector of float) 6 0:16 Function Parameters: 7 0:16 'input' ( in 4-component vector of float) 8 0:? Sequence 9 0:17 Sequence 10 0:17 move second child to first child ( temp 4-component vector of float) 11 0:17 'layout' ( temp 4-component vector of float) 12 0:17 Constant: 13 0:17 2.000000 14 0:17 2.000000 15 0:17 2.000000 16 0:17 2.000000 17 0:18 Branch: Return with expression 18 0:18 add ( temp 4-component vector of float) 19 0:18 add ( temp 4-component vector of float) 20 0:18 add ( temp 4-component vector of float) 21 0:18 'input' ( in 4-component vector of float) 22 0:18 v1: direct index for structure (layout( row_major std430 offset=16) buffer 4-component vector of float) 23 0:18 'anon@0' (layout( set=3 binding=5 row_major std430) readonly buffer block{layout( row_major std430 offset=16) buffer 4-component vector of float v1}) 24 0:18 Constant: 25 0:18 0 (const uint) 26 0:18 v5: direct index for structure (layout( row_major std430 offset=0) buffer 4-component vector of float) 27 0:18 'anon@1' (layout( row_major std430 push_constant) readonly buffer block{layout( row_major std430 offset=0) buffer 4-component vector of float v5}) 28 0:18 Constant: 29 0:18 0 (const uint) 30 0:18 component-wise multiply ( temp 4-component vector of float) 31 0:18 v1PostLayout: direct index for structure (layout( row_major std430 offset=16) buffer 4-component vector of float) 32 0:18 'anon@2' (layout( set=4 binding=7 row_major std430) readonly buffer block{layout( row_major std430 offset=16) buffer 4-component vector of float v1PostLayout}) 33 0:18 Constant: 34 0:18 0 (const uint) 35 0:18 'layout' ( temp 4-component vector of float) 36 0:? Linker Objects 37 0:? 'anon@0' (layout( set=3 binding=5 row_major std430) readonly buffer block{layout( row_major std430 offset=16) buffer 4-component vector of float v1}) 38 0:? 'anon@1' (layout( row_major std430 push_constant) readonly buffer block{layout( row_major std430 offset=0) buffer 4-component vector of float v5}) 39 0:? 'specConst' ( specialization-constant const int) 40 0:? 10 (const int) 41 0:? 'anon@2' (layout( set=4 binding=7 row_major std430) readonly buffer block{layout( row_major std430 offset=16) buffer 4-component vector of float v1PostLayout}) 42 43 44 Linked fragment stage: 45 46 WARNING: Linking fragment stage: Entry point not found 47 48 Shader version: 500 49 gl_FragCoord origin is upper left 50 0:? Sequence 51 0:16 Function Definition: PixelShaderFunction(vf4; ( temp 4-component vector of float) 52 0:16 Function Parameters: 53 0:16 'input' ( in 4-component vector of float) 54 0:? Sequence 55 0:17 Sequence 56 0:17 move second child to first child ( temp 4-component vector of float) 57 0:17 'layout' ( temp 4-component vector of float) 58 0:17 Constant: 59 0:17 2.000000 60 0:17 2.000000 61 0:17 2.000000 62 0:17 2.000000 63 0:18 Branch: Return with expression 64 0:18 add ( temp 4-component vector of float) 65 0:18 add ( temp 4-component vector of float) 66 0:18 add ( temp 4-component vector of float) 67 0:18 'input' ( in 4-component vector of float) 68 0:18 v1: direct index for structure (layout( row_major std430 offset=16) buffer 4-component vector of float) 69 0:18 'anon@0' (layout( set=3 binding=5 row_major std430) readonly buffer block{layout( row_major std430 offset=16) buffer 4-component vector of float v1}) 70 0:18 Constant: 71 0:18 0 (const uint) 72 0:18 v5: direct index for structure (layout( row_major std430 offset=0) buffer 4-component vector of float) 73 0:18 'anon@1' (layout( row_major std430 push_constant) readonly buffer block{layout( row_major std430 offset=0) buffer 4-component vector of float v5}) 74 0:18 Constant: 75 0:18 0 (const uint) 76 0:18 component-wise multiply ( temp 4-component vector of float) 77 0:18 v1PostLayout: direct index for structure (layout( row_major std430 offset=16) buffer 4-component vector of float) 78 0:18 'anon@2' (layout( set=4 binding=7 row_major std430) readonly buffer block{layout( row_major std430 offset=16) buffer 4-component vector of float v1PostLayout}) 79 0:18 Constant: 80 0:18 0 (const uint) 81 0:18 'layout' ( temp 4-component vector of float) 82 0:? Linker Objects 83 0:? 'anon@0' (layout( set=3 binding=5 row_major std430) readonly buffer block{layout( row_major std430 offset=16) buffer 4-component vector of float v1}) 84 0:? 'anon@1' (layout( row_major std430 push_constant) readonly buffer block{layout( row_major std430 offset=0) buffer 4-component vector of float v5}) 85 0:? 'specConst' ( specialization-constant const int) 86 0:? 10 (const int) 87 0:? 'anon@2' (layout( set=4 binding=7 row_major std430) readonly buffer block{layout( row_major std430 offset=16) buffer 4-component vector of float v1PostLayout}) 88 89 Validation failed 90 // Module Version 10000 91 // Generated by (magic number): 80007 92 // Id's are bound by 44 93 94 Capability Shader 95 1: ExtInstImport "GLSL.std.450" 96 MemoryModel Logical GLSL450 97 EntryPoint Fragment 4 "main" 98 ExecutionMode 4 OriginUpperLeft 99 Source HLSL 500 100 Name 4 "main" 101 Name 11 "PixelShaderFunction(vf4;" 102 Name 10 "input" 103 Name 13 "layout" 104 Name 17 "tbufName" 105 MemberName 17(tbufName) 0 "v1" 106 Name 19 "" 107 Name 26 "tbufName2" 108 MemberName 26(tbufName2) 0 "v5" 109 Name 28 "" 110 Name 33 "tbufName2" 111 MemberName 33(tbufName2) 0 "v1PostLayout" 112 Name 35 "" 113 Name 43 "specConst" 114 MemberDecorate 17(tbufName) 0 NonWritable 115 MemberDecorate 17(tbufName) 0 Offset 16 116 Decorate 17(tbufName) BufferBlock 117 Decorate 19 DescriptorSet 3 118 Decorate 19 Binding 5 119 MemberDecorate 26(tbufName2) 0 NonWritable 120 MemberDecorate 26(tbufName2) 0 Offset 0 121 Decorate 26(tbufName2) BufferBlock 122 MemberDecorate 33(tbufName2) 0 NonWritable 123 MemberDecorate 33(tbufName2) 0 Offset 16 124 Decorate 33(tbufName2) BufferBlock 125 Decorate 35 DescriptorSet 4 126 Decorate 35 Binding 7 127 Decorate 43(specConst) SpecId 17 128 2: TypeVoid 129 3: TypeFunction 2 130 6: TypeFloat 32 131 7: TypeVector 6(float) 4 132 8: TypePointer Function 7(fvec4) 133 9: TypeFunction 7(fvec4) 8(ptr) 134 14: 6(float) Constant 1073741824 135 15: 7(fvec4) ConstantComposite 14 14 14 14 136 17(tbufName): TypeStruct 7(fvec4) 137 18: TypePointer Uniform 17(tbufName) 138 19: 18(ptr) Variable Uniform 139 20: TypeInt 32 1 140 21: 20(int) Constant 0 141 22: TypePointer Uniform 7(fvec4) 142 26(tbufName2): TypeStruct 7(fvec4) 143 27: TypePointer PushConstant 26(tbufName2) 144 28: 27(ptr) Variable PushConstant 145 29: TypePointer PushConstant 7(fvec4) 146 33(tbufName2): TypeStruct 7(fvec4) 147 34: TypePointer Uniform 33(tbufName2) 148 35: 34(ptr) Variable Uniform 149 43(specConst): 20(int) SpecConstant 10 150 4(main): 2 Function None 3 151 5: Label 152 Return 153 FunctionEnd 154 11(PixelShaderFunction(vf4;): 7(fvec4) Function None 9 155 10(input): 8(ptr) FunctionParameter 156 12: Label 157 13(layout): 8(ptr) Variable Function 158 Store 13(layout) 15 159 16: 7(fvec4) Load 10(input) 160 23: 22(ptr) AccessChain 19 21 161 24: 7(fvec4) Load 23 162 25: 7(fvec4) FAdd 16 24 163 30: 29(ptr) AccessChain 28 21 164 31: 7(fvec4) Load 30 165 32: 7(fvec4) FAdd 25 31 166 36: 22(ptr) AccessChain 35 21 167 37: 7(fvec4) Load 36 168 38: 7(fvec4) Load 13(layout) 169 39: 7(fvec4) FMul 37 38 170 40: 7(fvec4) FAdd 32 39 171 ReturnValue 40 172 FunctionEnd 173