1 hlsl.swizzle.frag 2 Shader version: 500 3 gl_FragCoord origin is upper left 4 0:? Sequence 5 0:1 Sequence 6 0:1 move second child to first child ( temp 4-component vector of float) 7 0:1 'AmbientColor' ( global 4-component vector of float) 8 0:? Constant: 9 0:? 1.000000 10 0:? 0.500000 11 0:? 0.000000 12 0:? 1.000000 13 0:4 Function Definition: ShaderFunction(vf4; ( temp 4-component vector of float) 14 0:4 Function Parameters: 15 0:4 'input' ( in 4-component vector of float) 16 0:? Sequence 17 0:5 Branch: Return with expression 18 0:5 component-wise multiply ( temp 4-component vector of float) 19 0:5 vector swizzle ( temp 4-component vector of float) 20 0:5 'input' ( in 4-component vector of float) 21 0:5 Sequence 22 0:5 Constant: 23 0:5 3 (const int) 24 0:5 Constant: 25 0:5 3 (const int) 26 0:5 Constant: 27 0:5 1 (const int) 28 0:5 Constant: 29 0:5 0 (const int) 30 0:5 Construct vec4 ( temp 4-component vector of float) 31 0:5 direct index ( temp float) 32 0:5 'AmbientColor' ( global 4-component vector of float) 33 0:5 Constant: 34 0:5 2 (const int) 35 0:? Linker Objects 36 0:? 'AmbientColor' ( global 4-component vector of float) 37 38 39 Linked fragment stage: 40 41 WARNING: Linking fragment stage: Entry point not found 42 43 Shader version: 500 44 gl_FragCoord origin is upper left 45 0:? Sequence 46 0:1 Sequence 47 0:1 move second child to first child ( temp 4-component vector of float) 48 0:1 'AmbientColor' ( global 4-component vector of float) 49 0:? Constant: 50 0:? 1.000000 51 0:? 0.500000 52 0:? 0.000000 53 0:? 1.000000 54 0:4 Function Definition: ShaderFunction(vf4; ( temp 4-component vector of float) 55 0:4 Function Parameters: 56 0:4 'input' ( in 4-component vector of float) 57 0:? Sequence 58 0:5 Branch: Return with expression 59 0:5 component-wise multiply ( temp 4-component vector of float) 60 0:5 vector swizzle ( temp 4-component vector of float) 61 0:5 'input' ( in 4-component vector of float) 62 0:5 Sequence 63 0:5 Constant: 64 0:5 3 (const int) 65 0:5 Constant: 66 0:5 3 (const int) 67 0:5 Constant: 68 0:5 1 (const int) 69 0:5 Constant: 70 0:5 0 (const int) 71 0:5 Construct vec4 ( temp 4-component vector of float) 72 0:5 direct index ( temp float) 73 0:5 'AmbientColor' ( global 4-component vector of float) 74 0:5 Constant: 75 0:5 2 (const int) 76 0:? Linker Objects 77 0:? 'AmbientColor' ( global 4-component vector of float) 78 79 // Module Version 10000 80 // Generated by (magic number): 80007 81 // Id's are bound by 30 82 83 Capability Shader 84 1: ExtInstImport "GLSL.std.450" 85 MemoryModel Logical GLSL450 86 EntryPoint Fragment 4 "PixelShaderFunction" 87 ExecutionMode 4 OriginUpperLeft 88 Source HLSL 500 89 Name 4 "PixelShaderFunction" 90 Name 11 "ShaderFunction(vf4;" 91 Name 10 "input" 92 Name 14 "AmbientColor" 93 2: TypeVoid 94 3: TypeFunction 2 95 6: TypeFloat 32 96 7: TypeVector 6(float) 4 97 8: TypePointer Function 7(fvec4) 98 9: TypeFunction 7(fvec4) 8(ptr) 99 13: TypePointer Private 7(fvec4) 100 14(AmbientColor): 13(ptr) Variable Private 101 15: 6(float) Constant 1065353216 102 16: 6(float) Constant 1056964608 103 17: 6(float) Constant 0 104 18: 7(fvec4) ConstantComposite 15 16 17 15 105 21: TypeInt 32 0 106 22: 21(int) Constant 2 107 23: TypePointer Private 6(float) 108 4(PixelShaderFunction): 2 Function None 3 109 5: Label 110 Store 14(AmbientColor) 18 111 Return 112 FunctionEnd 113 11(ShaderFunction(vf4;): 7(fvec4) Function None 9 114 10(input): 8(ptr) FunctionParameter 115 12: Label 116 19: 7(fvec4) Load 10(input) 117 20: 7(fvec4) VectorShuffle 19 19 3 3 1 0 118 24: 23(ptr) AccessChain 14(AmbientColor) 22 119 25: 6(float) Load 24 120 26: 7(fvec4) CompositeConstruct 25 25 25 25 121 27: 7(fvec4) FMul 20 26 122 ReturnValue 27 123 FunctionEnd 124