1 hlsl.sample.sub-vec4.dx10.frag 2 Shader version: 500 3 gl_FragCoord origin is upper left 4 0:? Sequence 5 0:14 Function Definition: @main( ( temp structure{ temp 4-component vector of float Color}) 6 0:14 Function Parameters: 7 0:? Sequence 8 0:17 Sequence 9 0:17 move second child to first child ( temp float) 10 0:17 'txval10' ( temp float) 11 0:17 Construct float ( temp float) 12 0:? texture ( temp 4-component vector of float) 13 0:17 Construct combined texture-sampler ( temp sampler1D) 14 0:17 'g_tTex1df1' ( uniform texture1D) 15 0:17 'g_sSamp' (layout( binding=0) uniform sampler) 16 0:17 Constant: 17 0:17 0.100000 18 0:18 Sequence 19 0:18 move second child to first child ( temp 2-component vector of float) 20 0:18 'txval11' ( temp 2-component vector of float) 21 0:18 Construct vec2 ( temp 2-component vector of float) 22 0:? texture ( temp 4-component vector of float) 23 0:18 Construct combined texture-sampler ( temp sampler1D) 24 0:18 'g_tTex1df2' ( uniform texture1D) 25 0:18 'g_sSamp' (layout( binding=0) uniform sampler) 26 0:18 Constant: 27 0:18 0.200000 28 0:19 Sequence 29 0:19 move second child to first child ( temp 3-component vector of float) 30 0:19 'txval12' ( temp 3-component vector of float) 31 0:19 Construct vec3 ( temp 3-component vector of float) 32 0:? texture ( temp 4-component vector of float) 33 0:19 Construct combined texture-sampler ( temp sampler1D) 34 0:19 'g_tTex1df3' ( uniform texture1D) 35 0:19 'g_sSamp' (layout( binding=0) uniform sampler) 36 0:19 Constant: 37 0:19 0.200000 38 0:20 Sequence 39 0:20 move second child to first child ( temp 4-component vector of float) 40 0:20 'txval13' ( temp 4-component vector of float) 41 0:20 texture ( temp 4-component vector of float) 42 0:20 Construct combined texture-sampler ( temp sampler1D) 43 0:20 'g_tTex1df4' ( uniform texture1D) 44 0:20 'g_sSamp' (layout( binding=0) uniform sampler) 45 0:20 Constant: 46 0:20 0.200000 47 0:22 move second child to first child ( temp 4-component vector of float) 48 0:22 Color: direct index for structure ( temp 4-component vector of float) 49 0:22 'psout' ( temp structure{ temp 4-component vector of float Color}) 50 0:22 Constant: 51 0:22 0 (const int) 52 0:22 Constant: 53 0:22 1.000000 54 0:22 1.000000 55 0:22 1.000000 56 0:22 1.000000 57 0:23 Branch: Return with expression 58 0:23 'psout' ( temp structure{ temp 4-component vector of float Color}) 59 0:14 Function Definition: main( ( temp void) 60 0:14 Function Parameters: 61 0:? Sequence 62 0:14 Sequence 63 0:14 move second child to first child ( temp 4-component vector of float) 64 0:? '@entryPointOutput.Color' (layout( location=0) out 4-component vector of float) 65 0:14 Color: direct index for structure ( temp 4-component vector of float) 66 0:14 Function Call: @main( ( temp structure{ temp 4-component vector of float Color}) 67 0:14 Constant: 68 0:14 0 (const int) 69 0:? Linker Objects 70 0:? 'g_sSamp' (layout( binding=0) uniform sampler) 71 0:? 'g_tTex1df1' ( uniform texture1D) 72 0:? 'g_tTex1df2' ( uniform texture1D) 73 0:? 'g_tTex1df3' ( uniform texture1D) 74 0:? 'g_tTex1df4' ( uniform texture1D) 75 0:? '@entryPointOutput.Color' (layout( location=0) out 4-component vector of float) 76 77 78 Linked fragment stage: 79 80 81 Shader version: 500 82 gl_FragCoord origin is upper left 83 0:? Sequence 84 0:14 Function Definition: @main( ( temp structure{ temp 4-component vector of float Color}) 85 0:14 Function Parameters: 86 0:? Sequence 87 0:17 Sequence 88 0:17 move second child to first child ( temp float) 89 0:17 'txval10' ( temp float) 90 0:17 Construct float ( temp float) 91 0:? texture ( temp 4-component vector of float) 92 0:17 Construct combined texture-sampler ( temp sampler1D) 93 0:17 'g_tTex1df1' ( uniform texture1D) 94 0:17 'g_sSamp' (layout( binding=0) uniform sampler) 95 0:17 Constant: 96 0:17 0.100000 97 0:18 Sequence 98 0:18 move second child to first child ( temp 2-component vector of float) 99 0:18 'txval11' ( temp 2-component vector of float) 100 0:18 Construct vec2 ( temp 2-component vector of float) 101 0:? texture ( temp 4-component vector of float) 102 0:18 Construct combined texture-sampler ( temp sampler1D) 103 0:18 'g_tTex1df2' ( uniform texture1D) 104 0:18 'g_sSamp' (layout( binding=0) uniform sampler) 105 0:18 Constant: 106 0:18 0.200000 107 0:19 Sequence 108 0:19 move second child to first child ( temp 3-component vector of float) 109 0:19 'txval12' ( temp 3-component vector of float) 110 0:19 Construct vec3 ( temp 3-component vector of float) 111 0:? texture ( temp 4-component vector of float) 112 0:19 Construct combined texture-sampler ( temp sampler1D) 113 0:19 'g_tTex1df3' ( uniform texture1D) 114 0:19 'g_sSamp' (layout( binding=0) uniform sampler) 115 0:19 Constant: 116 0:19 0.200000 117 0:20 Sequence 118 0:20 move second child to first child ( temp 4-component vector of float) 119 0:20 'txval13' ( temp 4-component vector of float) 120 0:20 texture ( temp 4-component vector of float) 121 0:20 Construct combined texture-sampler ( temp sampler1D) 122 0:20 'g_tTex1df4' ( uniform texture1D) 123 0:20 'g_sSamp' (layout( binding=0) uniform sampler) 124 0:20 Constant: 125 0:20 0.200000 126 0:22 move second child to first child ( temp 4-component vector of float) 127 0:22 Color: direct index for structure ( temp 4-component vector of float) 128 0:22 'psout' ( temp structure{ temp 4-component vector of float Color}) 129 0:22 Constant: 130 0:22 0 (const int) 131 0:22 Constant: 132 0:22 1.000000 133 0:22 1.000000 134 0:22 1.000000 135 0:22 1.000000 136 0:23 Branch: Return with expression 137 0:23 'psout' ( temp structure{ temp 4-component vector of float Color}) 138 0:14 Function Definition: main( ( temp void) 139 0:14 Function Parameters: 140 0:? Sequence 141 0:14 Sequence 142 0:14 move second child to first child ( temp 4-component vector of float) 143 0:? '@entryPointOutput.Color' (layout( location=0) out 4-component vector of float) 144 0:14 Color: direct index for structure ( temp 4-component vector of float) 145 0:14 Function Call: @main( ( temp structure{ temp 4-component vector of float Color}) 146 0:14 Constant: 147 0:14 0 (const int) 148 0:? Linker Objects 149 0:? 'g_sSamp' (layout( binding=0) uniform sampler) 150 0:? 'g_tTex1df1' ( uniform texture1D) 151 0:? 'g_tTex1df2' ( uniform texture1D) 152 0:? 'g_tTex1df3' ( uniform texture1D) 153 0:? 'g_tTex1df4' ( uniform texture1D) 154 0:? '@entryPointOutput.Color' (layout( location=0) out 4-component vector of float) 155 156 // Module Version 10000 157 // Generated by (magic number): 80007 158 // Id's are bound by 72 159 160 Capability Shader 161 Capability Sampled1D 162 1: ExtInstImport "GLSL.std.450" 163 MemoryModel Logical GLSL450 164 EntryPoint Fragment 4 "main" 69 165 ExecutionMode 4 OriginUpperLeft 166 Source HLSL 500 167 Name 4 "main" 168 Name 8 "PS_OUTPUT" 169 MemberName 8(PS_OUTPUT) 0 "Color" 170 Name 10 "@main(" 171 Name 13 "txval10" 172 Name 16 "g_tTex1df1" 173 Name 20 "g_sSamp" 174 Name 29 "txval11" 175 Name 30 "g_tTex1df2" 176 Name 41 "txval12" 177 Name 42 "g_tTex1df3" 178 Name 52 "txval13" 179 Name 53 "g_tTex1df4" 180 Name 59 "psout" 181 Name 69 "@entryPointOutput.Color" 182 Decorate 16(g_tTex1df1) DescriptorSet 0 183 Decorate 16(g_tTex1df1) Binding 0 184 Decorate 20(g_sSamp) DescriptorSet 0 185 Decorate 20(g_sSamp) Binding 0 186 Decorate 30(g_tTex1df2) DescriptorSet 0 187 Decorate 30(g_tTex1df2) Binding 0 188 Decorate 42(g_tTex1df3) DescriptorSet 0 189 Decorate 42(g_tTex1df3) Binding 0 190 Decorate 53(g_tTex1df4) DescriptorSet 0 191 Decorate 53(g_tTex1df4) Binding 0 192 Decorate 69(@entryPointOutput.Color) Location 0 193 2: TypeVoid 194 3: TypeFunction 2 195 6: TypeFloat 32 196 7: TypeVector 6(float) 4 197 8(PS_OUTPUT): TypeStruct 7(fvec4) 198 9: TypeFunction 8(PS_OUTPUT) 199 12: TypePointer Function 6(float) 200 14: TypeImage 6(float) 1D sampled format:Unknown 201 15: TypePointer UniformConstant 14 202 16(g_tTex1df1): 15(ptr) Variable UniformConstant 203 18: TypeSampler 204 19: TypePointer UniformConstant 18 205 20(g_sSamp): 19(ptr) Variable UniformConstant 206 22: TypeSampledImage 14 207 24: 6(float) Constant 1036831949 208 27: TypeVector 6(float) 2 209 28: TypePointer Function 27(fvec2) 210 30(g_tTex1df2): 15(ptr) Variable UniformConstant 211 34: 6(float) Constant 1045220557 212 39: TypeVector 6(float) 3 213 40: TypePointer Function 39(fvec3) 214 42(g_tTex1df3): 15(ptr) Variable UniformConstant 215 51: TypePointer Function 7(fvec4) 216 53(g_tTex1df4): 15(ptr) Variable UniformConstant 217 58: TypePointer Function 8(PS_OUTPUT) 218 60: TypeInt 32 1 219 61: 60(int) Constant 0 220 62: 6(float) Constant 1065353216 221 63: 7(fvec4) ConstantComposite 62 62 62 62 222 68: TypePointer Output 7(fvec4) 223 69(@entryPointOutput.Color): 68(ptr) Variable Output 224 4(main): 2 Function None 3 225 5: Label 226 70:8(PS_OUTPUT) FunctionCall 10(@main() 227 71: 7(fvec4) CompositeExtract 70 0 228 Store 69(@entryPointOutput.Color) 71 229 Return 230 FunctionEnd 231 10(@main():8(PS_OUTPUT) Function None 9 232 11: Label 233 13(txval10): 12(ptr) Variable Function 234 29(txval11): 28(ptr) Variable Function 235 41(txval12): 40(ptr) Variable Function 236 52(txval13): 51(ptr) Variable Function 237 59(psout): 58(ptr) Variable Function 238 17: 14 Load 16(g_tTex1df1) 239 21: 18 Load 20(g_sSamp) 240 23: 22 SampledImage 17 21 241 25: 7(fvec4) ImageSampleImplicitLod 23 24 242 26: 6(float) CompositeExtract 25 0 243 Store 13(txval10) 26 244 31: 14 Load 30(g_tTex1df2) 245 32: 18 Load 20(g_sSamp) 246 33: 22 SampledImage 31 32 247 35: 7(fvec4) ImageSampleImplicitLod 33 34 248 36: 6(float) CompositeExtract 35 0 249 37: 6(float) CompositeExtract 35 1 250 38: 27(fvec2) CompositeConstruct 36 37 251 Store 29(txval11) 38 252 43: 14 Load 42(g_tTex1df3) 253 44: 18 Load 20(g_sSamp) 254 45: 22 SampledImage 43 44 255 46: 7(fvec4) ImageSampleImplicitLod 45 34 256 47: 6(float) CompositeExtract 46 0 257 48: 6(float) CompositeExtract 46 1 258 49: 6(float) CompositeExtract 46 2 259 50: 39(fvec3) CompositeConstruct 47 48 49 260 Store 41(txval12) 50 261 54: 14 Load 53(g_tTex1df4) 262 55: 18 Load 20(g_sSamp) 263 56: 22 SampledImage 54 55 264 57: 7(fvec4) ImageSampleImplicitLod 56 34 265 Store 52(txval13) 57 266 64: 51(ptr) AccessChain 59(psout) 61 267 Store 64 63 268 65:8(PS_OUTPUT) Load 59(psout) 269 ReturnValue 65 270 FunctionEnd 271