hlsl.entry-in.frag Shader version: 450 gl_FragCoord origin is upper left 0:? Sequence 0:8 Function Definition: PixelShaderFunction(struct-InParam-vf2-vf4-vi21; (global 4-component vector of float) 0:8 Function Parameters: 0:8 'i' (in structure{temp 2-component vector of float v, temp 4-component vector of float FragCoord fragCoord, temp 2-component vector of int i2}) 0:? Sequence 0:? Sequence 0:10 move second child to first child (temp 2-component vector of float) 0:10 v: direct index for structure (temp 2-component vector of float) 0:10 'local' (temp structure{temp 2-component vector of float v, temp 4-component vector of float FragCoord fragCoord, temp 2-component vector of int i2}) 0:10 Constant: 0:10 0 (const int) 0:? 'v' (layout(location=0 ) in 2-component vector of float) 0:10 move second child to first child (temp 4-component vector of float) 0:10 fragCoord: direct index for structure (temp 4-component vector of float FragCoord) 0:10 'local' (temp structure{temp 2-component vector of float v, temp 4-component vector of float FragCoord fragCoord, temp 2-component vector of int i2}) 0:10 Constant: 0:10 1 (const int) 0:? 'fragCoord' (in 4-component vector of float FragCoord) 0:10 move second child to first child (temp 2-component vector of int) 0:10 i2: direct index for structure (temp 2-component vector of int) 0:10 'local' (temp structure{temp 2-component vector of float v, temp 4-component vector of float FragCoord fragCoord, temp 2-component vector of int i2}) 0:10 Constant: 0:10 2 (const int) 0:? 'i2' (layout(location=1 ) in 2-component vector of int) 0:12 Sequence 0:12 move second child to first child (temp 4-component vector of float) 0:? '@entryPointOutput' (layout(location=0 ) out 4-component vector of float) 0:12 fragCoord: direct index for structure (temp 4-component vector of float FragCoord) 0:12 'local' (temp structure{temp 2-component vector of float v, temp 4-component vector of float FragCoord fragCoord, temp 2-component vector of int i2}) 0:12 Constant: 0:12 1 (const int) 0:12 Branch: Return 0:? Linker Objects 0:? '@entryPointOutput' (layout(location=0 ) out 4-component vector of float) 0:? 'v' (layout(location=0 ) in 2-component vector of float) 0:? 'fragCoord' (in 4-component vector of float FragCoord) 0:? 'i2' (layout(location=1 ) in 2-component vector of int) Linked fragment stage: Shader version: 450 gl_FragCoord origin is upper left 0:? Sequence 0:8 Function Definition: PixelShaderFunction(struct-InParam-vf2-vf4-vi21; (global 4-component vector of float) 0:8 Function Parameters: 0:8 'i' (in structure{temp 2-component vector of float v, temp 4-component vector of float FragCoord fragCoord, temp 2-component vector of int i2}) 0:? Sequence 0:? Sequence 0:10 move second child to first child (temp 2-component vector of float) 0:10 v: direct index for structure (temp 2-component vector of float) 0:10 'local' (temp structure{temp 2-component vector of float v, temp 4-component vector of float FragCoord fragCoord, temp 2-component vector of int i2}) 0:10 Constant: 0:10 0 (const int) 0:? 'v' (layout(location=0 ) in 2-component vector of float) 0:10 move second child to first child (temp 4-component vector of float) 0:10 fragCoord: direct index for structure (temp 4-component vector of float FragCoord) 0:10 'local' (temp structure{temp 2-component vector of float v, temp 4-component vector of float FragCoord fragCoord, temp 2-component vector of int i2}) 0:10 Constant: 0:10 1 (const int) 0:? 'fragCoord' (in 4-component vector of float FragCoord) 0:10 move second child to first child (temp 2-component vector of int) 0:10 i2: direct index for structure (temp 2-component vector of int) 0:10 'local' (temp structure{temp 2-component vector of float v, temp 4-component vector of float FragCoord fragCoord, temp 2-component vector of int i2}) 0:10 Constant: 0:10 2 (const int) 0:? 'i2' (layout(location=1 ) in 2-component vector of int) 0:12 Sequence 0:12 move second child to first child (temp 4-component vector of float) 0:? '@entryPointOutput' (layout(location=0 ) out 4-component vector of float) 0:12 fragCoord: direct index for structure (temp 4-component vector of float FragCoord) 0:12 'local' (temp structure{temp 2-component vector of float v, temp 4-component vector of float FragCoord fragCoord, temp 2-component vector of int i2}) 0:12 Constant: 0:12 1 (const int) 0:12 Branch: Return 0:? Linker Objects 0:? '@entryPointOutput' (layout(location=0 ) out 4-component vector of float) 0:? 'v' (layout(location=0 ) in 2-component vector of float) 0:? 'fragCoord' (in 4-component vector of float FragCoord) 0:? 'i2' (layout(location=1 ) in 2-component vector of int) // Module Version 10000 // Generated by (magic number): 80001 // Id's are bound by 37 Capability Shader 1: ExtInstImport "GLSL.std.450" MemoryModel Logical GLSL450 EntryPoint Fragment 4 "PixelShaderFunction" 16 22 28 33 ExecutionMode 4 OriginUpperLeft Name 4 "PixelShaderFunction" Name 11 "InParam" MemberName 11(InParam) 0 "v" MemberName 11(InParam) 1 "fragCoord" MemberName 11(InParam) 2 "i2" Name 13 "local" Name 16 "v" Name 22 "fragCoord" Name 28 "i2" Name 33 "@entryPointOutput" MemberDecorate 11(InParam) 1 BuiltIn FragCoord Decorate 16(v) Location 0 Decorate 22(fragCoord) BuiltIn FragCoord Decorate 28(i2) Location 1 Decorate 33(@entryPointOutput) Location 0 2: TypeVoid 3: TypeFunction 2 6: TypeFloat 32 7: TypeVector 6(float) 2 8: TypeVector 6(float) 4 9: TypeInt 32 1 10: TypeVector 9(int) 2 11(InParam): TypeStruct 7(fvec2) 8(fvec4) 10(ivec2) 12: TypePointer Function 11(InParam) 14: 9(int) Constant 0 15: TypePointer Input 7(fvec2) 16(v): 15(ptr) Variable Input 18: TypePointer Function 7(fvec2) 20: 9(int) Constant 1 21: TypePointer Input 8(fvec4) 22(fragCoord): 21(ptr) Variable Input 24: TypePointer Function 8(fvec4) 26: 9(int) Constant 2 27: TypePointer Input 10(ivec2) 28(i2): 27(ptr) Variable Input 30: TypePointer Function 10(ivec2) 32: TypePointer Output 8(fvec4) 33(@entryPointOutput): 32(ptr) Variable Output 4(PixelShaderFunction): 2 Function None 3 5: Label 13(local): 12(ptr) Variable Function 17: 7(fvec2) Load 16(v) 19: 18(ptr) AccessChain 13(local) 14 Store 19 17 23: 8(fvec4) Load 22(fragCoord) 25: 24(ptr) AccessChain 13(local) 20 Store 25 23 29: 10(ivec2) Load 28(i2) 31: 30(ptr) AccessChain 13(local) 26 Store 31 29 34: 24(ptr) AccessChain 13(local) 20 35: 8(fvec4) Load 34 Store 33(@entryPointOutput) 35 Return FunctionEnd