Commit b0a63f57 by John Kessenich

HLSL: Correctly identify which variables are global storage class.

parent 532543c1
...@@ -2,7 +2,7 @@ hlsl.array.frag ...@@ -2,7 +2,7 @@ hlsl.array.frag
Shader version: 450 Shader version: 450
gl_FragCoord origin is upper left gl_FragCoord origin is upper left
0:? Sequence 0:? Sequence
0:11 Function Definition: PixelShaderFunction(i1;vf4[3]; (temp 4-component vector of float) 0:11 Function Definition: PixelShaderFunction(i1;vf4[3]; (global 4-component vector of float)
0:8 Function Parameters: 0:8 Function Parameters:
0:8 'i' (in int) 0:8 'i' (in int)
0:8 'input' (in 3-element array of 4-component vector of float) 0:8 'input' (in 3-element array of 4-component vector of float)
...@@ -12,11 +12,11 @@ gl_FragCoord origin is upper left ...@@ -12,11 +12,11 @@ gl_FragCoord origin is upper left
0:10 add (temp 4-component vector of float) 0:10 add (temp 4-component vector of float)
0:10 add (temp 4-component vector of float) 0:10 add (temp 4-component vector of float)
0:10 direct index (temp 4-component vector of float) 0:10 direct index (temp 4-component vector of float)
0:10 'a' (temp 4-element array of 4-component vector of float) 0:10 'a' (global 4-element array of 4-component vector of float)
0:10 Constant: 0:10 Constant:
0:10 1 (const int) 0:10 1 (const int)
0:10 indirect index (temp 4-component vector of float) 0:10 indirect index (temp 4-component vector of float)
0:10 'a' (temp 4-element array of 4-component vector of float) 0:10 'a' (global 4-element array of 4-component vector of float)
0:10 'i' (in int) 0:10 'i' (in int)
0:10 add (temp 4-component vector of float) 0:10 add (temp 4-component vector of float)
0:10 direct index (temp 4-component vector of float) 0:10 direct index (temp 4-component vector of float)
...@@ -38,14 +38,14 @@ gl_FragCoord origin is upper left ...@@ -38,14 +38,14 @@ gl_FragCoord origin is upper left
0:10 indirect index (temp 4-component vector of float) 0:10 indirect index (temp 4-component vector of float)
0:10 m: direct index for structure (temp 7-element array of 4-component vector of float) 0:10 m: direct index for structure (temp 7-element array of 4-component vector of float)
0:10 indirect index (temp structure{temp 7-element array of 4-component vector of float m}) 0:10 indirect index (temp structure{temp 7-element array of 4-component vector of float m})
0:10 's' (temp 11-element array of structure{temp 7-element array of 4-component vector of float m}) 0:10 's' (global 11-element array of structure{temp 7-element array of 4-component vector of float m})
0:10 'i' (in int) 0:10 'i' (in int)
0:10 Constant: 0:10 Constant:
0:10 0 (const int) 0:10 0 (const int)
0:10 'i' (in int) 0:10 'i' (in int)
0:? Linker Objects 0:? Linker Objects
0:? 'a' (temp 4-element array of 4-component vector of float) 0:? 'a' (global 4-element array of 4-component vector of float)
0:? 's' (temp 11-element array of structure{temp 7-element array of 4-component vector of float m}) 0:? 's' (global 11-element array of structure{temp 7-element array of 4-component vector of float m})
Linked fragment stage: Linked fragment stage:
...@@ -54,7 +54,7 @@ Linked fragment stage: ...@@ -54,7 +54,7 @@ Linked fragment stage:
Shader version: 450 Shader version: 450
gl_FragCoord origin is upper left gl_FragCoord origin is upper left
0:? Sequence 0:? Sequence
0:11 Function Definition: PixelShaderFunction(i1;vf4[3]; (temp 4-component vector of float) 0:11 Function Definition: PixelShaderFunction(i1;vf4[3]; (global 4-component vector of float)
0:8 Function Parameters: 0:8 Function Parameters:
0:8 'i' (in int) 0:8 'i' (in int)
0:8 'input' (in 3-element array of 4-component vector of float) 0:8 'input' (in 3-element array of 4-component vector of float)
...@@ -64,11 +64,11 @@ gl_FragCoord origin is upper left ...@@ -64,11 +64,11 @@ gl_FragCoord origin is upper left
0:10 add (temp 4-component vector of float) 0:10 add (temp 4-component vector of float)
0:10 add (temp 4-component vector of float) 0:10 add (temp 4-component vector of float)
0:10 direct index (temp 4-component vector of float) 0:10 direct index (temp 4-component vector of float)
0:10 'a' (temp 4-element array of 4-component vector of float) 0:10 'a' (global 4-element array of 4-component vector of float)
0:10 Constant: 0:10 Constant:
0:10 1 (const int) 0:10 1 (const int)
0:10 indirect index (temp 4-component vector of float) 0:10 indirect index (temp 4-component vector of float)
0:10 'a' (temp 4-element array of 4-component vector of float) 0:10 'a' (global 4-element array of 4-component vector of float)
0:10 'i' (in int) 0:10 'i' (in int)
0:10 add (temp 4-component vector of float) 0:10 add (temp 4-component vector of float)
0:10 direct index (temp 4-component vector of float) 0:10 direct index (temp 4-component vector of float)
...@@ -90,18 +90,18 @@ gl_FragCoord origin is upper left ...@@ -90,18 +90,18 @@ gl_FragCoord origin is upper left
0:10 indirect index (temp 4-component vector of float) 0:10 indirect index (temp 4-component vector of float)
0:10 m: direct index for structure (temp 7-element array of 4-component vector of float) 0:10 m: direct index for structure (temp 7-element array of 4-component vector of float)
0:10 indirect index (temp structure{temp 7-element array of 4-component vector of float m}) 0:10 indirect index (temp structure{temp 7-element array of 4-component vector of float m})
0:10 's' (temp 11-element array of structure{temp 7-element array of 4-component vector of float m}) 0:10 's' (global 11-element array of structure{temp 7-element array of 4-component vector of float m})
0:10 'i' (in int) 0:10 'i' (in int)
0:10 Constant: 0:10 Constant:
0:10 0 (const int) 0:10 0 (const int)
0:10 'i' (in int) 0:10 'i' (in int)
0:? Linker Objects 0:? Linker Objects
0:? 'a' (temp 4-element array of 4-component vector of float) 0:? 'a' (global 4-element array of 4-component vector of float)
0:? 's' (temp 11-element array of structure{temp 7-element array of 4-component vector of float m}) 0:? 's' (global 11-element array of structure{temp 7-element array of 4-component vector of float m})
// Module Version 10000 // Module Version 10000
// Generated by (magic number): 80001 // Generated by (magic number): 80001
// Id's are bound by 63 // Id's are bound by 64
Capability Shader Capability Shader
1: ExtInstImport "GLSL.std.450" 1: ExtInstImport "GLSL.std.450"
...@@ -114,9 +114,9 @@ gl_FragCoord origin is upper left ...@@ -114,9 +114,9 @@ gl_FragCoord origin is upper left
Name 19 "i" Name 19 "i"
Name 27 "input" Name 27 "input"
Name 40 "b" Name 40 "b"
Name 50 "" Name 51 ""
MemberName 50 0 "m" MemberName 51 0 "m"
Name 54 "s" Name 55 "s"
2: TypeVoid 2: TypeVoid
3: TypeFunction 2 3: TypeFunction 2
6: TypeFloat 32 6: TypeFloat 32
...@@ -124,10 +124,11 @@ gl_FragCoord origin is upper left ...@@ -124,10 +124,11 @@ gl_FragCoord origin is upper left
8: TypeInt 32 0 8: TypeInt 32 0
9: 8(int) Constant 4 9: 8(int) Constant 4
10: TypeArray 7(fvec4) 9 10: TypeArray 7(fvec4) 9
11: TypePointer Function 10 11: TypePointer Private 10
12(a): 11(ptr) Variable Private
13: TypeInt 32 1 13: TypeInt 32 1
14: 13(int) Constant 1 14: 13(int) Constant 1
15: TypePointer Function 7(fvec4) 15: TypePointer Private 7(fvec4)
18: TypePointer Input 13(int) 18: TypePointer Input 13(int)
19(i): 18(ptr) Variable Input 19(i): 18(ptr) Variable Input
24: 8(int) Constant 3 24: 8(int) Constant 3
...@@ -140,18 +141,18 @@ gl_FragCoord origin is upper left ...@@ -140,18 +141,18 @@ gl_FragCoord origin is upper left
38: TypeArray 7(fvec4) 37 38: TypeArray 7(fvec4) 37
39: TypePointer Function 38 39: TypePointer Function 38
41: 13(int) Constant 5 41: 13(int) Constant 5
48: 8(int) Constant 7 42: TypePointer Function 7(fvec4)
49: TypeArray 7(fvec4) 48 49: 8(int) Constant 7
50: TypeStruct 49 50: TypeArray 7(fvec4) 49
51: 8(int) Constant 11 51: TypeStruct 50
52: TypeArray 50(struct) 51 52: 8(int) Constant 11
53: TypePointer Function 52 53: TypeArray 51(struct) 52
56: 13(int) Constant 0 54: TypePointer Private 53
55(s): 54(ptr) Variable Private
57: 13(int) Constant 0
4(PixelShaderFunction): 2 Function None 3 4(PixelShaderFunction): 2 Function None 3
5: Label 5: Label
12(a): 11(ptr) Variable Function
40(b): 39(ptr) Variable Function 40(b): 39(ptr) Variable Function
54(s): 53(ptr) Variable Function
16: 15(ptr) AccessChain 12(a) 14 16: 15(ptr) AccessChain 12(a) 14
17: 7(fvec4) Load 16 17: 7(fvec4) Load 16
20: 13(int) Load 19(i) 20: 13(int) Load 19(i)
...@@ -165,17 +166,17 @@ gl_FragCoord origin is upper left ...@@ -165,17 +166,17 @@ gl_FragCoord origin is upper left
34: 7(fvec4) Load 33 34: 7(fvec4) Load 33
35: 7(fvec4) FAdd 31 34 35: 7(fvec4) FAdd 31 34
36: 7(fvec4) FAdd 23 35 36: 7(fvec4) FAdd 23 35
42: 15(ptr) AccessChain 40(b) 41 43: 42(ptr) AccessChain 40(b) 41
43: 7(fvec4) Load 42 44: 7(fvec4) Load 43
44: 13(int) Load 19(i) 45: 13(int) Load 19(i)
45: 15(ptr) AccessChain 40(b) 44 46: 42(ptr) AccessChain 40(b) 45
46: 7(fvec4) Load 45 47: 7(fvec4) Load 46
47: 7(fvec4) FAdd 43 46 48: 7(fvec4) FAdd 44 47
55: 13(int) Load 19(i) 56: 13(int) Load 19(i)
57: 13(int) Load 19(i) 58: 13(int) Load 19(i)
58: 15(ptr) AccessChain 54(s) 55 56 57 59: 15(ptr) AccessChain 55(s) 56 57 58
59: 7(fvec4) Load 58 60: 7(fvec4) Load 59
60: 7(fvec4) FAdd 47 59 61: 7(fvec4) FAdd 48 60
61: 7(fvec4) FAdd 36 60 62: 7(fvec4) FAdd 36 61
ReturnValue 61 ReturnValue 62
FunctionEnd FunctionEnd
...@@ -2,7 +2,7 @@ hlsl.assoc.frag ...@@ -2,7 +2,7 @@ hlsl.assoc.frag
Shader version: 450 Shader version: 450
gl_FragCoord origin is upper left gl_FragCoord origin is upper left
0:? Sequence 0:? Sequence
0:12 Function Definition: PixelShaderFunction(vf4;vf4;vf4;vf4;vf4; (temp 4-component vector of float) 0:12 Function Definition: PixelShaderFunction(vf4;vf4;vf4;vf4;vf4; (global 4-component vector of float)
0:8 Function Parameters: 0:8 Function Parameters:
0:8 'a1' (in 4-component vector of float) 0:8 'a1' (in 4-component vector of float)
0:8 'a2' (in 4-component vector of float) 0:8 'a2' (in 4-component vector of float)
...@@ -38,7 +38,7 @@ Linked fragment stage: ...@@ -38,7 +38,7 @@ Linked fragment stage:
Shader version: 450 Shader version: 450
gl_FragCoord origin is upper left gl_FragCoord origin is upper left
0:? Sequence 0:? Sequence
0:12 Function Definition: PixelShaderFunction(vf4;vf4;vf4;vf4;vf4; (temp 4-component vector of float) 0:12 Function Definition: PixelShaderFunction(vf4;vf4;vf4;vf4;vf4; (global 4-component vector of float)
0:8 Function Parameters: 0:8 Function Parameters:
0:8 'a1' (in 4-component vector of float) 0:8 'a1' (in 4-component vector of float)
0:8 'a2' (in 4-component vector of float) 0:8 'a2' (in 4-component vector of float)
......
...@@ -2,7 +2,7 @@ hlsl.attribute.frag ...@@ -2,7 +2,7 @@ hlsl.attribute.frag
Shader version: 450 Shader version: 450
gl_FragCoord origin is upper left gl_FragCoord origin is upper left
0:? Sequence 0:? Sequence
0:14 Function Definition: PixelShaderFunction(vf4; (temp 4-component vector of float) 0:14 Function Definition: PixelShaderFunction(vf4; (global 4-component vector of float)
0:2 Function Parameters: 0:2 Function Parameters:
0:2 'input' (in 4-component vector of float) 0:2 'input' (in 4-component vector of float)
0:? Sequence 0:? Sequence
...@@ -20,7 +20,7 @@ Linked fragment stage: ...@@ -20,7 +20,7 @@ Linked fragment stage:
Shader version: 450 Shader version: 450
gl_FragCoord origin is upper left gl_FragCoord origin is upper left
0:? Sequence 0:? Sequence
0:14 Function Definition: PixelShaderFunction(vf4; (temp 4-component vector of float) 0:14 Function Definition: PixelShaderFunction(vf4; (global 4-component vector of float)
0:2 Function Parameters: 0:2 Function Parameters:
0:2 'input' (in 4-component vector of float) 0:2 'input' (in 4-component vector of float)
0:? Sequence 0:? Sequence
......
...@@ -2,7 +2,7 @@ hlsl.cast.frag ...@@ -2,7 +2,7 @@ hlsl.cast.frag
Shader version: 450 Shader version: 450
gl_FragCoord origin is upper left gl_FragCoord origin is upper left
0:? Sequence 0:? Sequence
0:5 Function Definition: PixelShaderFunction(vf4; (temp 4-component vector of float) 0:5 Function Definition: PixelShaderFunction(vf4; (global 4-component vector of float)
0:2 Function Parameters: 0:2 Function Parameters:
0:2 'input' (in 4-component vector of float) 0:2 'input' (in 4-component vector of float)
0:? Sequence 0:? Sequence
...@@ -28,7 +28,7 @@ Linked fragment stage: ...@@ -28,7 +28,7 @@ Linked fragment stage:
Shader version: 450 Shader version: 450
gl_FragCoord origin is upper left gl_FragCoord origin is upper left
0:? Sequence 0:? Sequence
0:5 Function Definition: PixelShaderFunction(vf4; (temp 4-component vector of float) 0:5 Function Definition: PixelShaderFunction(vf4; (global 4-component vector of float)
0:2 Function Parameters: 0:2 Function Parameters:
0:2 'input' (in 4-component vector of float) 0:2 'input' (in 4-component vector of float)
0:? Sequence 0:? Sequence
......
...@@ -2,7 +2,7 @@ hlsl.discard.frag ...@@ -2,7 +2,7 @@ hlsl.discard.frag
Shader version: 450 Shader version: 450
gl_FragCoord origin is upper left gl_FragCoord origin is upper left
0:? Sequence 0:? Sequence
0:7 Function Definition: foo(f1; (temp void) 0:7 Function Definition: foo(f1; (global void)
0:2 Function Parameters: 0:2 Function Parameters:
0:2 'f' (in float) 0:2 'f' (in float)
0:? Sequence 0:? Sequence
...@@ -14,11 +14,11 @@ gl_FragCoord origin is upper left ...@@ -14,11 +14,11 @@ gl_FragCoord origin is upper left
0:3 1.000000 0:3 1.000000
0:3 true case 0:3 true case
0:4 Branch: Kill 0:4 Branch: Kill
0:15 Function Definition: PixelShaderFunction(vf4; (temp 4-component vector of float) 0:15 Function Definition: PixelShaderFunction(vf4; (global 4-component vector of float)
0:8 Function Parameters: 0:8 Function Parameters:
0:8 'input' (in 4-component vector of float) 0:8 'input' (in 4-component vector of float)
0:? Sequence 0:? Sequence
0:9 Function Call: foo(f1; (temp void) 0:9 Function Call: foo(f1; (global void)
0:9 direct index (temp float) 0:9 direct index (temp float)
0:9 'input' (in 4-component vector of float) 0:9 'input' (in 4-component vector of float)
0:9 Constant: 0:9 Constant:
...@@ -48,7 +48,7 @@ Linked fragment stage: ...@@ -48,7 +48,7 @@ Linked fragment stage:
Shader version: 450 Shader version: 450
gl_FragCoord origin is upper left gl_FragCoord origin is upper left
0:? Sequence 0:? Sequence
0:7 Function Definition: foo(f1; (temp void) 0:7 Function Definition: foo(f1; (global void)
0:2 Function Parameters: 0:2 Function Parameters:
0:2 'f' (in float) 0:2 'f' (in float)
0:? Sequence 0:? Sequence
...@@ -60,11 +60,11 @@ gl_FragCoord origin is upper left ...@@ -60,11 +60,11 @@ gl_FragCoord origin is upper left
0:3 1.000000 0:3 1.000000
0:3 true case 0:3 true case
0:4 Branch: Kill 0:4 Branch: Kill
0:15 Function Definition: PixelShaderFunction(vf4; (temp 4-component vector of float) 0:15 Function Definition: PixelShaderFunction(vf4; (global 4-component vector of float)
0:8 Function Parameters: 0:8 Function Parameters:
0:8 'input' (in 4-component vector of float) 0:8 'input' (in 4-component vector of float)
0:? Sequence 0:? Sequence
0:9 Function Call: foo(f1; (temp void) 0:9 Function Call: foo(f1; (global void)
0:9 direct index (temp float) 0:9 direct index (temp float)
0:9 'input' (in 4-component vector of float) 0:9 'input' (in 4-component vector of float)
0:9 Constant: 0:9 Constant:
......
...@@ -2,7 +2,7 @@ hlsl.doLoop.frag ...@@ -2,7 +2,7 @@ hlsl.doLoop.frag
Shader version: 450 Shader version: 450
gl_FragCoord origin is upper left gl_FragCoord origin is upper left
0:? Sequence 0:? Sequence
0:7 Function Definition: PixelShaderFunction(vf4; (temp 4-component vector of float) 0:7 Function Definition: PixelShaderFunction(vf4; (global 4-component vector of float)
0:2 Function Parameters: 0:2 Function Parameters:
0:2 'input' (in 4-component vector of float) 0:2 'input' (in 4-component vector of float)
0:? Sequence 0:? Sequence
...@@ -33,7 +33,7 @@ Linked fragment stage: ...@@ -33,7 +33,7 @@ Linked fragment stage:
Shader version: 450 Shader version: 450
gl_FragCoord origin is upper left gl_FragCoord origin is upper left
0:? Sequence 0:? Sequence
0:7 Function Definition: PixelShaderFunction(vf4; (temp 4-component vector of float) 0:7 Function Definition: PixelShaderFunction(vf4; (global 4-component vector of float)
0:2 Function Parameters: 0:2 Function Parameters:
0:2 'input' (in 4-component vector of float) 0:2 'input' (in 4-component vector of float)
0:? Sequence 0:? Sequence
......
...@@ -4,15 +4,15 @@ gl_FragCoord origin is upper left ...@@ -4,15 +4,15 @@ gl_FragCoord origin is upper left
0:? Sequence 0:? Sequence
0:1 Sequence 0:1 Sequence
0:1 move second child to first child (temp 1-component vector of float) 0:1 move second child to first child (temp 1-component vector of float)
0:1 'f1' (temp 1-component vector of float) 0:1 'f1' (global 1-component vector of float)
0:1 Constant: 0:1 Constant:
0:1 1.000000 0:1 1.000000
0:2 Sequence 0:2 Sequence
0:2 move second child to first child (temp float) 0:2 move second child to first child (temp float)
0:2 'scalar' (temp float) 0:2 'scalar' (global float)
0:2 Constant: 0:2 Constant:
0:2 2.000000 0:2 2.000000
0:8 Function Definition: ShaderFunction(vf1;f1; (temp 1-component vector of float) 0:8 Function Definition: ShaderFunction(vf1;f1; (global 1-component vector of float)
0:5 Function Parameters: 0:5 Function Parameters:
0:5 'inFloat1' (in 1-component vector of float) 0:5 'inFloat1' (in 1-component vector of float)
0:5 'inScalar' (in float) 0:5 'inScalar' (in float)
...@@ -20,14 +20,14 @@ gl_FragCoord origin is upper left ...@@ -20,14 +20,14 @@ gl_FragCoord origin is upper left
0:6 Branch: Return with expression 0:6 Branch: Return with expression
0:6 add (temp 1-component vector of float) 0:6 add (temp 1-component vector of float)
0:6 vector-scale (temp 1-component vector of float) 0:6 vector-scale (temp 1-component vector of float)
0:6 'f1' (temp 1-component vector of float) 0:6 'f1' (global 1-component vector of float)
0:6 'scalar' (temp float) 0:6 'scalar' (global float)
0:6 vector-scale (temp 1-component vector of float) 0:6 vector-scale (temp 1-component vector of float)
0:6 'inFloat1' (in 1-component vector of float) 0:6 'inFloat1' (in 1-component vector of float)
0:6 'inScalar' (in float) 0:6 'inScalar' (in float)
0:? Linker Objects 0:? Linker Objects
0:? 'f1' (temp 1-component vector of float) 0:? 'f1' (global 1-component vector of float)
0:? 'scalar' (temp float) 0:? 'scalar' (global float)
Linked fragment stage: Linked fragment stage:
...@@ -38,15 +38,15 @@ gl_FragCoord origin is upper left ...@@ -38,15 +38,15 @@ gl_FragCoord origin is upper left
0:? Sequence 0:? Sequence
0:1 Sequence 0:1 Sequence
0:1 move second child to first child (temp 1-component vector of float) 0:1 move second child to first child (temp 1-component vector of float)
0:1 'f1' (temp 1-component vector of float) 0:1 'f1' (global 1-component vector of float)
0:1 Constant: 0:1 Constant:
0:1 1.000000 0:1 1.000000
0:2 Sequence 0:2 Sequence
0:2 move second child to first child (temp float) 0:2 move second child to first child (temp float)
0:2 'scalar' (temp float) 0:2 'scalar' (global float)
0:2 Constant: 0:2 Constant:
0:2 2.000000 0:2 2.000000
0:8 Function Definition: ShaderFunction(vf1;f1; (temp 1-component vector of float) 0:8 Function Definition: ShaderFunction(vf1;f1; (global 1-component vector of float)
0:5 Function Parameters: 0:5 Function Parameters:
0:5 'inFloat1' (in 1-component vector of float) 0:5 'inFloat1' (in 1-component vector of float)
0:5 'inScalar' (in float) 0:5 'inScalar' (in float)
...@@ -54,18 +54,18 @@ gl_FragCoord origin is upper left ...@@ -54,18 +54,18 @@ gl_FragCoord origin is upper left
0:6 Branch: Return with expression 0:6 Branch: Return with expression
0:6 add (temp 1-component vector of float) 0:6 add (temp 1-component vector of float)
0:6 vector-scale (temp 1-component vector of float) 0:6 vector-scale (temp 1-component vector of float)
0:6 'f1' (temp 1-component vector of float) 0:6 'f1' (global 1-component vector of float)
0:6 'scalar' (temp float) 0:6 'scalar' (global float)
0:6 vector-scale (temp 1-component vector of float) 0:6 vector-scale (temp 1-component vector of float)
0:6 'inFloat1' (in 1-component vector of float) 0:6 'inFloat1' (in 1-component vector of float)
0:6 'inScalar' (in float) 0:6 'inScalar' (in float)
0:? Linker Objects 0:? Linker Objects
0:? 'f1' (temp 1-component vector of float) 0:? 'f1' (global 1-component vector of float)
0:? 'scalar' (temp float) 0:? 'scalar' (global float)
// Module Version 10000 // Module Version 10000
// Generated by (magic number): 80001 // Generated by (magic number): 80001
// Id's are bound by 26 // Id's are bound by 27
Capability Shader Capability Shader
1: ExtInstImport "GLSL.std.450" 1: ExtInstImport "GLSL.std.450"
...@@ -77,32 +77,33 @@ gl_FragCoord origin is upper left ...@@ -77,32 +77,33 @@ gl_FragCoord origin is upper left
Name 11 "ShaderFunction(vf1;f1;" Name 11 "ShaderFunction(vf1;f1;"
Name 9 "inFloat1" Name 9 "inFloat1"
Name 10 "inScalar" Name 10 "inScalar"
Name 13 "f1" Name 14 "f1"
Name 15 "scalar" Name 16 "scalar"
2: TypeVoid 2: TypeVoid
3: TypeFunction 2 3: TypeFunction 2
6: TypeFloat 32 6: TypeFloat 32
7: TypePointer Function 6(float) 7: TypePointer Function 6(float)
8: TypeFunction 6(float) 7(ptr) 7(ptr) 8: TypeFunction 6(float) 7(ptr) 7(ptr)
14: 6(float) Constant 1065353216 13: TypePointer Private 6(float)
16: 6(float) Constant 1073741824 14(f1): 13(ptr) Variable Private
15: 6(float) Constant 1065353216
16(scalar): 13(ptr) Variable Private
17: 6(float) Constant 1073741824
4(PixelShaderFunction): 2 Function None 3 4(PixelShaderFunction): 2 Function None 3
5: Label 5: Label
13(f1): 7(ptr) Variable Function Store 14(f1) 15
15(scalar): 7(ptr) Variable Function Store 16(scalar) 17
Store 13(f1) 14
Store 15(scalar) 16
FunctionEnd FunctionEnd
11(ShaderFunction(vf1;f1;): 6(float) Function None 8 11(ShaderFunction(vf1;f1;): 6(float) Function None 8
9(inFloat1): 7(ptr) FunctionParameter 9(inFloat1): 7(ptr) FunctionParameter
10(inScalar): 7(ptr) FunctionParameter 10(inScalar): 7(ptr) FunctionParameter
12: Label 12: Label
17: 6(float) Load 13(f1) 18: 6(float) Load 14(f1)
18: 6(float) Load 15(scalar) 19: 6(float) Load 16(scalar)
19: 6(float) IMul 17 18 20: 6(float) IMul 18 19
20: 6(float) Load 9(inFloat1) 21: 6(float) Load 9(inFloat1)
21: 6(float) Load 10(inScalar) 22: 6(float) Load 10(inScalar)
22: 6(float) IMul 20 21 23: 6(float) IMul 21 22
23: 6(float) FAdd 19 22 24: 6(float) FAdd 20 23
ReturnValue 23 ReturnValue 24
FunctionEnd FunctionEnd
...@@ -4,26 +4,26 @@ gl_FragCoord origin is upper left ...@@ -4,26 +4,26 @@ gl_FragCoord origin is upper left
0:? Sequence 0:? Sequence
0:1 Sequence 0:1 Sequence
0:1 move second child to first child (temp 4-component vector of float) 0:1 move second child to first child (temp 4-component vector of float)
0:1 'AmbientColor' (temp 4-component vector of float) 0:1 'AmbientColor' (global 4-component vector of float)
0:? Constant: 0:? Constant:
0:? 1.000000 0:? 1.000000
0:? 0.500000 0:? 0.500000
0:? 0.000000 0:? 0.000000
0:? 1.000000 0:? 1.000000
0:12 Function Definition: ShaderFunction(vf4; (temp 4-component vector of float) 0:12 Function Definition: ShaderFunction(vf4; (global 4-component vector of float)
0:9 Function Parameters: 0:9 Function Parameters:
0:9 'input' (in 4-component vector of float) 0:9 'input' (in 4-component vector of float)
0:? Sequence 0:? Sequence
0:10 Branch: Return with expression 0:10 Branch: Return with expression
0:10 component-wise multiply (temp 4-component vector of float) 0:10 component-wise multiply (temp 4-component vector of float)
0:10 'input' (in 4-component vector of float) 0:10 'input' (in 4-component vector of float)
0:10 'AmbientColor' (temp 4-component vector of float) 0:10 'AmbientColor' (global 4-component vector of float)
0:? Linker Objects 0:? Linker Objects
0:? 'AmbientColor' (temp 4-component vector of float) 0:? 'AmbientColor' (global 4-component vector of float)
0:? 'ff1' (temp bool Face) 0:? 'ff1' (global bool Face)
0:? 'ff2' (temp 4-component vector of float) 0:? 'ff2' (global 4-component vector of float)
0:? 'ff3' (temp 4-component vector of float) 0:? 'ff3' (global 4-component vector of float)
0:? 'ff4' (temp 4-component vector of float FragCoord) 0:? 'ff4' (global 4-component vector of float FragCoord)
Linked fragment stage: Linked fragment stage:
...@@ -34,30 +34,30 @@ gl_FragCoord origin is upper left ...@@ -34,30 +34,30 @@ gl_FragCoord origin is upper left
0:? Sequence 0:? Sequence
0:1 Sequence 0:1 Sequence
0:1 move second child to first child (temp 4-component vector of float) 0:1 move second child to first child (temp 4-component vector of float)
0:1 'AmbientColor' (temp 4-component vector of float) 0:1 'AmbientColor' (global 4-component vector of float)
0:? Constant: 0:? Constant:
0:? 1.000000 0:? 1.000000
0:? 0.500000 0:? 0.500000
0:? 0.000000 0:? 0.000000
0:? 1.000000 0:? 1.000000
0:12 Function Definition: ShaderFunction(vf4; (temp 4-component vector of float) 0:12 Function Definition: ShaderFunction(vf4; (global 4-component vector of float)
0:9 Function Parameters: 0:9 Function Parameters:
0:9 'input' (in 4-component vector of float) 0:9 'input' (in 4-component vector of float)
0:? Sequence 0:? Sequence
0:10 Branch: Return with expression 0:10 Branch: Return with expression
0:10 component-wise multiply (temp 4-component vector of float) 0:10 component-wise multiply (temp 4-component vector of float)
0:10 'input' (in 4-component vector of float) 0:10 'input' (in 4-component vector of float)
0:10 'AmbientColor' (temp 4-component vector of float) 0:10 'AmbientColor' (global 4-component vector of float)
0:? Linker Objects 0:? Linker Objects
0:? 'AmbientColor' (temp 4-component vector of float) 0:? 'AmbientColor' (global 4-component vector of float)
0:? 'ff1' (temp bool Face) 0:? 'ff1' (global bool Face)
0:? 'ff2' (temp 4-component vector of float) 0:? 'ff2' (global 4-component vector of float)
0:? 'ff3' (temp 4-component vector of float) 0:? 'ff3' (global 4-component vector of float)
0:? 'ff4' (temp 4-component vector of float FragCoord) 0:? 'ff4' (global 4-component vector of float FragCoord)
// Module Version 10000 // Module Version 10000
// Generated by (magic number): 80001 // Generated by (magic number): 80001
// Id's are bound by 29 // Id's are bound by 30
Capability Shader Capability Shader
1: ExtInstImport "GLSL.std.450" 1: ExtInstImport "GLSL.std.450"
...@@ -68,39 +68,40 @@ gl_FragCoord origin is upper left ...@@ -68,39 +68,40 @@ gl_FragCoord origin is upper left
Name 4 "PixelShaderFunction" Name 4 "PixelShaderFunction"
Name 11 "ShaderFunction(vf4;" Name 11 "ShaderFunction(vf4;"
Name 10 "input" Name 10 "input"
Name 13 "AmbientColor" Name 14 "AmbientColor"
Name 25 "ff1" Name 26 "ff1"
Name 26 "ff2" Name 27 "ff2"
Name 27 "ff3" Name 28 "ff3"
Name 28 "ff4" Name 29 "ff4"
Decorate 25(ff1) BuiltIn FrontFacing Decorate 26(ff1) BuiltIn FrontFacing
Decorate 28(ff4) BuiltIn FragCoord Decorate 29(ff4) BuiltIn FragCoord
2: TypeVoid 2: TypeVoid
3: TypeFunction 2 3: TypeFunction 2
6: TypeFloat 32 6: TypeFloat 32
7: TypeVector 6(float) 4 7: TypeVector 6(float) 4
8: TypePointer Function 7(fvec4) 8: TypePointer Function 7(fvec4)
9: TypeFunction 7(fvec4) 8(ptr) 9: TypeFunction 7(fvec4) 8(ptr)
14: 6(float) Constant 1065353216 13: TypePointer Private 7(fvec4)
15: 6(float) Constant 1056964608 14(AmbientColor): 13(ptr) Variable Private
16: 6(float) Constant 0 15: 6(float) Constant 1065353216
17: 7(fvec4) ConstantComposite 14 15 16 14 16: 6(float) Constant 1056964608
23: TypeBool 17: 6(float) Constant 0
24: TypePointer Function 23(bool) 18: 7(fvec4) ConstantComposite 15 16 17 15
24: TypeBool
25: TypePointer Private 24(bool)
26(ff1): 25(ptr) Variable Private
27(ff2): 13(ptr) Variable Private
28(ff3): 13(ptr) Variable Private
29(ff4): 13(ptr) Variable Private
4(PixelShaderFunction): 2 Function None 3 4(PixelShaderFunction): 2 Function None 3
5: Label 5: Label
13(AmbientColor): 8(ptr) Variable Function Store 14(AmbientColor) 18
Store 13(AmbientColor) 17
FunctionEnd FunctionEnd
11(ShaderFunction(vf4;): 7(fvec4) Function None 9 11(ShaderFunction(vf4;): 7(fvec4) Function None 9
10(input): 8(ptr) FunctionParameter 10(input): 8(ptr) FunctionParameter
12: Label 12: Label
25(ff1): 24(ptr) Variable Function 19: 7(fvec4) Load 10(input)
26(ff2): 8(ptr) Variable Function 20: 7(fvec4) Load 14(AmbientColor)
27(ff3): 8(ptr) Variable Function 21: 7(fvec4) FMul 19 20
28(ff4): 8(ptr) Variable Function ReturnValue 21
18: 7(fvec4) Load 10(input)
19: 7(fvec4) Load 13(AmbientColor)
20: 7(fvec4) FMul 18 19
ReturnValue 20
FunctionEnd FunctionEnd
...@@ -2,7 +2,7 @@ hlsl.forLoop.frag ...@@ -2,7 +2,7 @@ hlsl.forLoop.frag
Shader version: 450 Shader version: 450
gl_FragCoord origin is upper left gl_FragCoord origin is upper left
0:? Sequence 0:? Sequence
0:14 Function Definition: PixelShaderFunction(vf4; (temp 4-component vector of float) 0:14 Function Definition: PixelShaderFunction(vf4; (global 4-component vector of float)
0:2 Function Parameters: 0:2 Function Parameters:
0:2 'input' (in 4-component vector of float) 0:2 'input' (in 4-component vector of float)
0:? Sequence 0:? Sequence
...@@ -116,7 +116,7 @@ Linked fragment stage: ...@@ -116,7 +116,7 @@ Linked fragment stage:
Shader version: 450 Shader version: 450
gl_FragCoord origin is upper left gl_FragCoord origin is upper left
0:? Sequence 0:? Sequence
0:14 Function Definition: PixelShaderFunction(vf4; (temp 4-component vector of float) 0:14 Function Definition: PixelShaderFunction(vf4; (global 4-component vector of float)
0:2 Function Parameters: 0:2 Function Parameters:
0:2 'input' (in 4-component vector of float) 0:2 'input' (in 4-component vector of float)
0:? Sequence 0:? Sequence
......
...@@ -2,7 +2,7 @@ hlsl.if.frag ...@@ -2,7 +2,7 @@ hlsl.if.frag
Shader version: 450 Shader version: 450
gl_FragCoord origin is upper left gl_FragCoord origin is upper left
0:? Sequence 0:? Sequence
0:34 Function Definition: PixelShaderFunction(vf4; (temp 4-component vector of float) 0:34 Function Definition: PixelShaderFunction(vf4; (global 4-component vector of float)
0:2 Function Parameters: 0:2 Function Parameters:
0:2 'input' (in 4-component vector of float) 0:2 'input' (in 4-component vector of float)
0:? Sequence 0:? Sequence
...@@ -83,7 +83,7 @@ Linked fragment stage: ...@@ -83,7 +83,7 @@ Linked fragment stage:
Shader version: 450 Shader version: 450
gl_FragCoord origin is upper left gl_FragCoord origin is upper left
0:? Sequence 0:? Sequence
0:34 Function Definition: PixelShaderFunction(vf4; (temp 4-component vector of float) 0:34 Function Definition: PixelShaderFunction(vf4; (global 4-component vector of float)
0:2 Function Parameters: 0:2 Function Parameters:
0:2 'input' (in 4-component vector of float) 0:2 'input' (in 4-component vector of float)
0:? Sequence 0:? Sequence
......
...@@ -2,7 +2,7 @@ hlsl.intrinsics.barriers.comp ...@@ -2,7 +2,7 @@ hlsl.intrinsics.barriers.comp
Shader version: 450 Shader version: 450
local_size = (1, 1, 1) local_size = (1, 1, 1)
0:? Sequence 0:? Sequence
0:14 Function Definition: ComputeShaderFunction( (temp float) 0:14 Function Definition: ComputeShaderFunction( (global float)
0:3 Function Parameters: 0:3 Function Parameters:
0:? Sequence 0:? Sequence
0:4 MemoryBarrier (global void) 0:4 MemoryBarrier (global void)
...@@ -23,7 +23,7 @@ Linked compute stage: ...@@ -23,7 +23,7 @@ Linked compute stage:
Shader version: 450 Shader version: 450
local_size = (1, 1, 1) local_size = (1, 1, 1)
0:? Sequence 0:? Sequence
0:14 Function Definition: ComputeShaderFunction( (temp float) 0:14 Function Definition: ComputeShaderFunction( (global float)
0:3 Function Parameters: 0:3 Function Parameters:
0:? Sequence 0:? Sequence
0:4 MemoryBarrier (global void) 0:4 MemoryBarrier (global void)
......
...@@ -2,7 +2,7 @@ hlsl.intrinsics.double.frag ...@@ -2,7 +2,7 @@ hlsl.intrinsics.double.frag
Shader version: 450 Shader version: 450
gl_FragCoord origin is upper left gl_FragCoord origin is upper left
0:? Sequence 0:? Sequence
0:12 Function Definition: PixelShaderFunction(d1;d1;d1;vd2;vd3;vd4;u1;u1; (temp float) 0:12 Function Definition: PixelShaderFunction(d1;d1;d1;vd2;vd3;vd4;u1;u1; (global float)
0:5 Function Parameters: 0:5 Function Parameters:
0:5 'inDV1a' (in double) 0:5 'inDV1a' (in double)
0:5 'inDV1b' (in double) 0:5 'inDV1b' (in double)
...@@ -39,7 +39,7 @@ Linked fragment stage: ...@@ -39,7 +39,7 @@ Linked fragment stage:
Shader version: 450 Shader version: 450
gl_FragCoord origin is upper left gl_FragCoord origin is upper left
0:? Sequence 0:? Sequence
0:12 Function Definition: PixelShaderFunction(d1;d1;d1;vd2;vd3;vd4;u1;u1; (temp float) 0:12 Function Definition: PixelShaderFunction(d1;d1;d1;vd2;vd3;vd4;u1;u1; (global float)
0:5 Function Parameters: 0:5 Function Parameters:
0:5 'inDV1a' (in double) 0:5 'inDV1a' (in double)
0:5 'inDV1b' (in double) 0:5 'inDV1b' (in double)
......
...@@ -2,7 +2,7 @@ hlsl.intrinsics.evalfns.frag ...@@ -2,7 +2,7 @@ hlsl.intrinsics.evalfns.frag
Shader version: 450 Shader version: 450
gl_FragCoord origin is upper left gl_FragCoord origin is upper left
0:? Sequence 0:? Sequence
0:11 Function Definition: main(f1;vf2;vf3;vf4;vi2; (temp void) 0:11 Function Definition: main(f1;vf2;vf3;vf4;vi2; (global void)
0:3 Function Parameters: 0:3 Function Parameters:
0:3 'inF1' (in float) 0:3 'inF1' (in float)
0:3 'inF2' (in 2-component vector of float) 0:3 'inF2' (in 2-component vector of float)
...@@ -52,7 +52,7 @@ Linked fragment stage: ...@@ -52,7 +52,7 @@ Linked fragment stage:
Shader version: 450 Shader version: 450
gl_FragCoord origin is upper left gl_FragCoord origin is upper left
0:? Sequence 0:? Sequence
0:11 Function Definition: main(f1;vf2;vf3;vf4;vi2; (temp void) 0:11 Function Definition: main(f1;vf2;vf3;vf4;vi2; (global void)
0:3 Function Parameters: 0:3 Function Parameters:
0:3 'inF1' (in float) 0:3 'inF1' (in float)
0:3 'inF2' (in 2-component vector of float) 0:3 'inF2' (in 2-component vector of float)
......
...@@ -9,7 +9,7 @@ ERROR: 4 compilation errors. No code generated. ...@@ -9,7 +9,7 @@ ERROR: 4 compilation errors. No code generated.
Shader version: 450 Shader version: 450
gl_FragCoord origin is upper left gl_FragCoord origin is upper left
ERROR: node is still EOpNull! ERROR: node is still EOpNull!
0:8 Function Definition: PixelShaderFunctionS(f1; (temp float) 0:8 Function Definition: PixelShaderFunctionS(f1; (global float)
0:2 Function Parameters: 0:2 Function Parameters:
0:2 'inF0' (in float) 0:2 'inF0' (in float)
0:? Sequence 0:? Sequence
...@@ -19,14 +19,14 @@ ERROR: node is still EOpNull! ...@@ -19,14 +19,14 @@ ERROR: node is still EOpNull!
0:5 Branch: Return with expression 0:5 Branch: Return with expression
0:5 Constant: 0:5 Constant:
0:5 0.000000 0:5 0.000000
0:14 Function Definition: PixelShaderFunction1(vf1; (temp 1-component vector of float) 0:14 Function Definition: PixelShaderFunction1(vf1; (global 1-component vector of float)
0:9 Function Parameters: 0:9 Function Parameters:
0:9 'inF0' (in 1-component vector of float) 0:9 'inF0' (in 1-component vector of float)
0:? Sequence 0:? Sequence
0:11 Branch: Return with expression 0:11 Branch: Return with expression
0:11 Constant: 0:11 Constant:
0:11 0.000000 0:11 0.000000
0:21 Function Definition: PixelShaderFunction2(vf2; (temp 2-component vector of float) 0:21 Function Definition: PixelShaderFunction2(vf2; (global 2-component vector of float)
0:15 Function Parameters: 0:15 Function Parameters:
0:15 'inF0' (in 2-component vector of float) 0:15 'inF0' (in 2-component vector of float)
0:? Sequence 0:? Sequence
...@@ -37,7 +37,7 @@ ERROR: node is still EOpNull! ...@@ -37,7 +37,7 @@ ERROR: node is still EOpNull!
0:? Constant: 0:? Constant:
0:? 1.000000 0:? 1.000000
0:? 2.000000 0:? 2.000000
0:28 Function Definition: PixelShaderFunction3(vf3; (temp 3-component vector of float) 0:28 Function Definition: PixelShaderFunction3(vf3; (global 3-component vector of float)
0:22 Function Parameters: 0:22 Function Parameters:
0:22 'inF0' (in 3-component vector of float) 0:22 'inF0' (in 3-component vector of float)
0:? Sequence 0:? Sequence
...@@ -49,7 +49,7 @@ ERROR: node is still EOpNull! ...@@ -49,7 +49,7 @@ ERROR: node is still EOpNull!
0:? 1.000000 0:? 1.000000
0:? 2.000000 0:? 2.000000
0:? 3.000000 0:? 3.000000
0:35 Function Definition: PixelShaderFunction(vf4; (temp 4-component vector of float) 0:35 Function Definition: PixelShaderFunction(vf4; (global 4-component vector of float)
0:29 Function Parameters: 0:29 Function Parameters:
0:29 'inF0' (in 4-component vector of float) 0:29 'inF0' (in 4-component vector of float)
0:? Sequence 0:? Sequence
...@@ -71,7 +71,7 @@ Linked fragment stage: ...@@ -71,7 +71,7 @@ Linked fragment stage:
Shader version: 450 Shader version: 450
gl_FragCoord origin is upper left gl_FragCoord origin is upper left
ERROR: node is still EOpNull! ERROR: node is still EOpNull!
0:8 Function Definition: PixelShaderFunctionS(f1; (temp float) 0:8 Function Definition: PixelShaderFunctionS(f1; (global float)
0:2 Function Parameters: 0:2 Function Parameters:
0:2 'inF0' (in float) 0:2 'inF0' (in float)
0:? Sequence 0:? Sequence
...@@ -81,14 +81,14 @@ ERROR: node is still EOpNull! ...@@ -81,14 +81,14 @@ ERROR: node is still EOpNull!
0:5 Branch: Return with expression 0:5 Branch: Return with expression
0:5 Constant: 0:5 Constant:
0:5 0.000000 0:5 0.000000
0:14 Function Definition: PixelShaderFunction1(vf1; (temp 1-component vector of float) 0:14 Function Definition: PixelShaderFunction1(vf1; (global 1-component vector of float)
0:9 Function Parameters: 0:9 Function Parameters:
0:9 'inF0' (in 1-component vector of float) 0:9 'inF0' (in 1-component vector of float)
0:? Sequence 0:? Sequence
0:11 Branch: Return with expression 0:11 Branch: Return with expression
0:11 Constant: 0:11 Constant:
0:11 0.000000 0:11 0.000000
0:21 Function Definition: PixelShaderFunction2(vf2; (temp 2-component vector of float) 0:21 Function Definition: PixelShaderFunction2(vf2; (global 2-component vector of float)
0:15 Function Parameters: 0:15 Function Parameters:
0:15 'inF0' (in 2-component vector of float) 0:15 'inF0' (in 2-component vector of float)
0:? Sequence 0:? Sequence
...@@ -99,7 +99,7 @@ ERROR: node is still EOpNull! ...@@ -99,7 +99,7 @@ ERROR: node is still EOpNull!
0:? Constant: 0:? Constant:
0:? 1.000000 0:? 1.000000
0:? 2.000000 0:? 2.000000
0:28 Function Definition: PixelShaderFunction3(vf3; (temp 3-component vector of float) 0:28 Function Definition: PixelShaderFunction3(vf3; (global 3-component vector of float)
0:22 Function Parameters: 0:22 Function Parameters:
0:22 'inF0' (in 3-component vector of float) 0:22 'inF0' (in 3-component vector of float)
0:? Sequence 0:? Sequence
...@@ -111,7 +111,7 @@ ERROR: node is still EOpNull! ...@@ -111,7 +111,7 @@ ERROR: node is still EOpNull!
0:? 1.000000 0:? 1.000000
0:? 2.000000 0:? 2.000000
0:? 3.000000 0:? 3.000000
0:35 Function Definition: PixelShaderFunction(vf4; (temp 4-component vector of float) 0:35 Function Definition: PixelShaderFunction(vf4; (global 4-component vector of float)
0:29 Function Parameters: 0:29 Function Parameters:
0:29 'inF0' (in 4-component vector of float) 0:29 'inF0' (in 4-component vector of float)
0:? Sequence 0:? Sequence
......
...@@ -2,7 +2,7 @@ hlsl.intrinsics.lit.frag ...@@ -2,7 +2,7 @@ hlsl.intrinsics.lit.frag
Shader version: 450 Shader version: 450
gl_FragCoord origin is upper left gl_FragCoord origin is upper left
0:? Sequence 0:? Sequence
0:5 Function Definition: PixelShaderFunction(f1;f1;f1; (temp void) 0:5 Function Definition: PixelShaderFunction(f1;f1;f1; (global void)
0:2 Function Parameters: 0:2 Function Parameters:
0:2 'n_dot_l' (in float) 0:2 'n_dot_l' (in float)
0:2 'n_dot_h' (in float) 0:2 'n_dot_h' (in float)
...@@ -44,7 +44,7 @@ Linked fragment stage: ...@@ -44,7 +44,7 @@ Linked fragment stage:
Shader version: 450 Shader version: 450
gl_FragCoord origin is upper left gl_FragCoord origin is upper left
0:? Sequence 0:? Sequence
0:5 Function Definition: PixelShaderFunction(f1;f1;f1; (temp void) 0:5 Function Definition: PixelShaderFunction(f1;f1;f1; (global void)
0:2 Function Parameters: 0:2 Function Parameters:
0:2 'n_dot_l' (in float) 0:2 'n_dot_l' (in float)
0:2 'n_dot_h' (in float) 0:2 'n_dot_h' (in float)
......
...@@ -152,7 +152,7 @@ ERROR: 147 compilation errors. No code generated. ...@@ -152,7 +152,7 @@ ERROR: 147 compilation errors. No code generated.
Shader version: 450 Shader version: 450
local_size = (1, 1, 1) local_size = (1, 1, 1)
ERROR: node is still EOpNull! ERROR: node is still EOpNull!
0:56 Function Definition: ComputeShaderFunctionS(f1;f1;f1;i1; (temp float) 0:56 Function Definition: ComputeShaderFunctionS(f1;f1;f1;i1; (global float)
0:2 Function Parameters: 0:2 Function Parameters:
0:2 'inF0' (in float) 0:2 'inF0' (in float)
0:2 'inF1' (in float) 0:2 'inF1' (in float)
...@@ -246,7 +246,7 @@ ERROR: node is still EOpNull! ...@@ -246,7 +246,7 @@ ERROR: node is still EOpNull!
0:53 Branch: Return with expression 0:53 Branch: Return with expression
0:53 Constant: 0:53 Constant:
0:53 0.000000 0:53 0.000000
0:65 Function Definition: ComputeShaderFunction1(vf1;vf1;vf1;vi1; (temp 1-component vector of float) 0:65 Function Definition: ComputeShaderFunction1(vf1;vf1;vf1;vi1; (global 1-component vector of float)
0:57 Function Parameters: 0:57 Function Parameters:
0:57 'inF0' (in 1-component vector of float) 0:57 'inF0' (in 1-component vector of float)
0:57 'inF1' (in 1-component vector of float) 0:57 'inF1' (in 1-component vector of float)
...@@ -258,7 +258,7 @@ ERROR: node is still EOpNull! ...@@ -258,7 +258,7 @@ ERROR: node is still EOpNull!
0:62 Branch: Return with expression 0:62 Branch: Return with expression
0:62 Constant: 0:62 Constant:
0:62 0.000000 0:62 0.000000
0:112 Function Definition: ComputeShaderFunction2(vf2;vf2;vf2;vi2; (temp 2-component vector of float) 0:112 Function Definition: ComputeShaderFunction2(vf2;vf2;vf2;vi2; (global 2-component vector of float)
0:66 Function Parameters: 0:66 Function Parameters:
0:66 'inF0' (in 2-component vector of float) 0:66 'inF0' (in 2-component vector of float)
0:66 'inF1' (in 2-component vector of float) 0:66 'inF1' (in 2-component vector of float)
...@@ -341,7 +341,7 @@ ERROR: node is still EOpNull! ...@@ -341,7 +341,7 @@ ERROR: node is still EOpNull!
0:? Constant: 0:? Constant:
0:? 1.000000 0:? 1.000000
0:? 2.000000 0:? 2.000000
0:157 Function Definition: ComputeShaderFunction3(vf3;vf3;vf3;vi3; (temp 3-component vector of float) 0:157 Function Definition: ComputeShaderFunction3(vf3;vf3;vf3;vi3; (global 3-component vector of float)
0:113 Function Parameters: 0:113 Function Parameters:
0:113 'inF0' (in 3-component vector of float) 0:113 'inF0' (in 3-component vector of float)
0:113 'inF1' (in 3-component vector of float) 0:113 'inF1' (in 3-component vector of float)
...@@ -421,7 +421,7 @@ ERROR: node is still EOpNull! ...@@ -421,7 +421,7 @@ ERROR: node is still EOpNull!
0:? 1.000000 0:? 1.000000
0:? 2.000000 0:? 2.000000
0:? 3.000000 0:? 3.000000
0:202 Function Definition: ComputeShaderFunction(vf4;vf4;vf4;vi4; (temp 4-component vector of float) 0:202 Function Definition: ComputeShaderFunction(vf4;vf4;vf4;vi4; (global 4-component vector of float)
0:158 Function Parameters: 0:158 Function Parameters:
0:158 'inF0' (in 4-component vector of float) 0:158 'inF0' (in 4-component vector of float)
0:158 'inF1' (in 4-component vector of float) 0:158 'inF1' (in 4-component vector of float)
...@@ -511,7 +511,7 @@ Linked compute stage: ...@@ -511,7 +511,7 @@ Linked compute stage:
Shader version: 450 Shader version: 450
local_size = (1, 1, 1) local_size = (1, 1, 1)
ERROR: node is still EOpNull! ERROR: node is still EOpNull!
0:56 Function Definition: ComputeShaderFunctionS(f1;f1;f1;i1; (temp float) 0:56 Function Definition: ComputeShaderFunctionS(f1;f1;f1;i1; (global float)
0:2 Function Parameters: 0:2 Function Parameters:
0:2 'inF0' (in float) 0:2 'inF0' (in float)
0:2 'inF1' (in float) 0:2 'inF1' (in float)
...@@ -605,7 +605,7 @@ ERROR: node is still EOpNull! ...@@ -605,7 +605,7 @@ ERROR: node is still EOpNull!
0:53 Branch: Return with expression 0:53 Branch: Return with expression
0:53 Constant: 0:53 Constant:
0:53 0.000000 0:53 0.000000
0:65 Function Definition: ComputeShaderFunction1(vf1;vf1;vf1;vi1; (temp 1-component vector of float) 0:65 Function Definition: ComputeShaderFunction1(vf1;vf1;vf1;vi1; (global 1-component vector of float)
0:57 Function Parameters: 0:57 Function Parameters:
0:57 'inF0' (in 1-component vector of float) 0:57 'inF0' (in 1-component vector of float)
0:57 'inF1' (in 1-component vector of float) 0:57 'inF1' (in 1-component vector of float)
...@@ -617,7 +617,7 @@ ERROR: node is still EOpNull! ...@@ -617,7 +617,7 @@ ERROR: node is still EOpNull!
0:62 Branch: Return with expression 0:62 Branch: Return with expression
0:62 Constant: 0:62 Constant:
0:62 0.000000 0:62 0.000000
0:112 Function Definition: ComputeShaderFunction2(vf2;vf2;vf2;vi2; (temp 2-component vector of float) 0:112 Function Definition: ComputeShaderFunction2(vf2;vf2;vf2;vi2; (global 2-component vector of float)
0:66 Function Parameters: 0:66 Function Parameters:
0:66 'inF0' (in 2-component vector of float) 0:66 'inF0' (in 2-component vector of float)
0:66 'inF1' (in 2-component vector of float) 0:66 'inF1' (in 2-component vector of float)
...@@ -700,7 +700,7 @@ ERROR: node is still EOpNull! ...@@ -700,7 +700,7 @@ ERROR: node is still EOpNull!
0:? Constant: 0:? Constant:
0:? 1.000000 0:? 1.000000
0:? 2.000000 0:? 2.000000
0:157 Function Definition: ComputeShaderFunction3(vf3;vf3;vf3;vi3; (temp 3-component vector of float) 0:157 Function Definition: ComputeShaderFunction3(vf3;vf3;vf3;vi3; (global 3-component vector of float)
0:113 Function Parameters: 0:113 Function Parameters:
0:113 'inF0' (in 3-component vector of float) 0:113 'inF0' (in 3-component vector of float)
0:113 'inF1' (in 3-component vector of float) 0:113 'inF1' (in 3-component vector of float)
...@@ -780,7 +780,7 @@ ERROR: node is still EOpNull! ...@@ -780,7 +780,7 @@ ERROR: node is still EOpNull!
0:? 1.000000 0:? 1.000000
0:? 2.000000 0:? 2.000000
0:? 3.000000 0:? 3.000000
0:202 Function Definition: ComputeShaderFunction(vf4;vf4;vf4;vi4; (temp 4-component vector of float) 0:202 Function Definition: ComputeShaderFunction(vf4;vf4;vf4;vi4; (global 4-component vector of float)
0:158 Function Parameters: 0:158 Function Parameters:
0:158 'inF0' (in 4-component vector of float) 0:158 'inF0' (in 4-component vector of float)
0:158 'inF1' (in 4-component vector of float) 0:158 'inF1' (in 4-component vector of float)
......
...@@ -91,7 +91,7 @@ ERROR: 86 compilation errors. No code generated. ...@@ -91,7 +91,7 @@ ERROR: 86 compilation errors. No code generated.
Shader version: 450 Shader version: 450
gl_FragCoord origin is upper left gl_FragCoord origin is upper left
ERROR: node is still EOpNull! ERROR: node is still EOpNull!
0:35 Function Definition: PixelShaderFunctionS(f1;f1;f1;i1; (temp float) 0:35 Function Definition: PixelShaderFunctionS(f1;f1;f1;i1; (global float)
0:2 Function Parameters: 0:2 Function Parameters:
0:2 'inF0' (in float) 0:2 'inF0' (in float)
0:2 'inF1' (in float) 0:2 'inF1' (in float)
...@@ -135,7 +135,7 @@ ERROR: node is still EOpNull! ...@@ -135,7 +135,7 @@ ERROR: node is still EOpNull!
0:32 Branch: Return with expression 0:32 Branch: Return with expression
0:32 Constant: 0:32 Constant:
0:32 0.000000 0:32 0.000000
0:44 Function Definition: PixelShaderFunction1(vf1;vf1;vf1;vi1; (temp 1-component vector of float) 0:44 Function Definition: PixelShaderFunction1(vf1;vf1;vf1;vi1; (global 1-component vector of float)
0:36 Function Parameters: 0:36 Function Parameters:
0:36 'inF0' (in 1-component vector of float) 0:36 'inF0' (in 1-component vector of float)
0:36 'inF1' (in 1-component vector of float) 0:36 'inF1' (in 1-component vector of float)
...@@ -147,7 +147,7 @@ ERROR: node is still EOpNull! ...@@ -147,7 +147,7 @@ ERROR: node is still EOpNull!
0:41 Branch: Return with expression 0:41 Branch: Return with expression
0:41 Constant: 0:41 Constant:
0:41 0.000000 0:41 0.000000
0:62 Function Definition: PixelShaderFunction2(vf2;vf2;vf2;vi2; (temp 2-component vector of float) 0:62 Function Definition: PixelShaderFunction2(vf2;vf2;vf2;vi2; (global 2-component vector of float)
0:45 Function Parameters: 0:45 Function Parameters:
0:45 'inF0' (in 2-component vector of float) 0:45 'inF0' (in 2-component vector of float)
0:45 'inF1' (in 2-component vector of float) 0:45 'inF1' (in 2-component vector of float)
...@@ -180,7 +180,7 @@ ERROR: node is still EOpNull! ...@@ -180,7 +180,7 @@ ERROR: node is still EOpNull!
0:? Constant: 0:? Constant:
0:? 1.000000 0:? 1.000000
0:? 2.000000 0:? 2.000000
0:79 Function Definition: PixelShaderFunction3(vf3;vf3;vf3;vi3; (temp 3-component vector of float) 0:79 Function Definition: PixelShaderFunction3(vf3;vf3;vf3;vi3; (global 3-component vector of float)
0:63 Function Parameters: 0:63 Function Parameters:
0:63 'inF0' (in 3-component vector of float) 0:63 'inF0' (in 3-component vector of float)
0:63 'inF1' (in 3-component vector of float) 0:63 'inF1' (in 3-component vector of float)
...@@ -210,7 +210,7 @@ ERROR: node is still EOpNull! ...@@ -210,7 +210,7 @@ ERROR: node is still EOpNull!
0:? 1.000000 0:? 1.000000
0:? 2.000000 0:? 2.000000
0:? 3.000000 0:? 3.000000
0:114 Function Definition: PixelShaderFunction(vf4;vf4;vf4;vi4; (temp 4-component vector of float) 0:114 Function Definition: PixelShaderFunction(vf4;vf4;vf4;vi4; (global 4-component vector of float)
0:80 Function Parameters: 0:80 Function Parameters:
0:80 'inF0' (in 4-component vector of float) 0:80 'inF0' (in 4-component vector of float)
0:80 'inF1' (in 4-component vector of float) 0:80 'inF1' (in 4-component vector of float)
...@@ -241,7 +241,7 @@ ERROR: node is still EOpNull! ...@@ -241,7 +241,7 @@ ERROR: node is still EOpNull!
0:? 2.000000 0:? 2.000000
0:? 3.000000 0:? 3.000000
0:? 4.000000 0:? 4.000000
0:122 Function Definition: PixelShaderFunction2x2(mf22;mf22;mf22; (temp 2X2 matrix of float) 0:122 Function Definition: PixelShaderFunction2x2(mf22;mf22;mf22; (global 2X2 matrix of float)
0:115 Function Parameters: 0:115 Function Parameters:
0:115 'inF0' (in 2X2 matrix of float) 0:115 'inF0' (in 2X2 matrix of float)
0:115 'inF1' (in 2X2 matrix of float) 0:115 'inF1' (in 2X2 matrix of float)
...@@ -279,7 +279,7 @@ ERROR: node is still EOpNull! ...@@ -279,7 +279,7 @@ ERROR: node is still EOpNull!
0:? 2.000000 0:? 2.000000
0:? 2.000000 0:? 2.000000
0:? 2.000000 0:? 2.000000
0:130 Function Definition: PixelShaderFunction3x3(mf33;mf33;mf33; (temp 3X3 matrix of float) 0:130 Function Definition: PixelShaderFunction3x3(mf33;mf33;mf33; (global 3X3 matrix of float)
0:123 Function Parameters: 0:123 Function Parameters:
0:123 'inF0' (in 3X3 matrix of float) 0:123 'inF0' (in 3X3 matrix of float)
0:123 'inF1' (in 3X3 matrix of float) 0:123 'inF1' (in 3X3 matrix of float)
...@@ -322,7 +322,7 @@ ERROR: node is still EOpNull! ...@@ -322,7 +322,7 @@ ERROR: node is still EOpNull!
0:? 3.000000 0:? 3.000000
0:? 3.000000 0:? 3.000000
0:? 3.000000 0:? 3.000000
0:137 Function Definition: PixelShaderFunction4x4(mf44;mf44;mf44; (temp 4X4 matrix of float) 0:137 Function Definition: PixelShaderFunction4x4(mf44;mf44;mf44; (global 4X4 matrix of float)
0:131 Function Parameters: 0:131 Function Parameters:
0:131 'inF0' (in 4X4 matrix of float) 0:131 'inF0' (in 4X4 matrix of float)
0:131 'inF1' (in 4X4 matrix of float) 0:131 'inF1' (in 4X4 matrix of float)
...@@ -381,7 +381,7 @@ Linked fragment stage: ...@@ -381,7 +381,7 @@ Linked fragment stage:
Shader version: 450 Shader version: 450
gl_FragCoord origin is upper left gl_FragCoord origin is upper left
ERROR: node is still EOpNull! ERROR: node is still EOpNull!
0:35 Function Definition: PixelShaderFunctionS(f1;f1;f1;i1; (temp float) 0:35 Function Definition: PixelShaderFunctionS(f1;f1;f1;i1; (global float)
0:2 Function Parameters: 0:2 Function Parameters:
0:2 'inF0' (in float) 0:2 'inF0' (in float)
0:2 'inF1' (in float) 0:2 'inF1' (in float)
...@@ -425,7 +425,7 @@ ERROR: node is still EOpNull! ...@@ -425,7 +425,7 @@ ERROR: node is still EOpNull!
0:32 Branch: Return with expression 0:32 Branch: Return with expression
0:32 Constant: 0:32 Constant:
0:32 0.000000 0:32 0.000000
0:44 Function Definition: PixelShaderFunction1(vf1;vf1;vf1;vi1; (temp 1-component vector of float) 0:44 Function Definition: PixelShaderFunction1(vf1;vf1;vf1;vi1; (global 1-component vector of float)
0:36 Function Parameters: 0:36 Function Parameters:
0:36 'inF0' (in 1-component vector of float) 0:36 'inF0' (in 1-component vector of float)
0:36 'inF1' (in 1-component vector of float) 0:36 'inF1' (in 1-component vector of float)
...@@ -437,7 +437,7 @@ ERROR: node is still EOpNull! ...@@ -437,7 +437,7 @@ ERROR: node is still EOpNull!
0:41 Branch: Return with expression 0:41 Branch: Return with expression
0:41 Constant: 0:41 Constant:
0:41 0.000000 0:41 0.000000
0:62 Function Definition: PixelShaderFunction2(vf2;vf2;vf2;vi2; (temp 2-component vector of float) 0:62 Function Definition: PixelShaderFunction2(vf2;vf2;vf2;vi2; (global 2-component vector of float)
0:45 Function Parameters: 0:45 Function Parameters:
0:45 'inF0' (in 2-component vector of float) 0:45 'inF0' (in 2-component vector of float)
0:45 'inF1' (in 2-component vector of float) 0:45 'inF1' (in 2-component vector of float)
...@@ -470,7 +470,7 @@ ERROR: node is still EOpNull! ...@@ -470,7 +470,7 @@ ERROR: node is still EOpNull!
0:? Constant: 0:? Constant:
0:? 1.000000 0:? 1.000000
0:? 2.000000 0:? 2.000000
0:79 Function Definition: PixelShaderFunction3(vf3;vf3;vf3;vi3; (temp 3-component vector of float) 0:79 Function Definition: PixelShaderFunction3(vf3;vf3;vf3;vi3; (global 3-component vector of float)
0:63 Function Parameters: 0:63 Function Parameters:
0:63 'inF0' (in 3-component vector of float) 0:63 'inF0' (in 3-component vector of float)
0:63 'inF1' (in 3-component vector of float) 0:63 'inF1' (in 3-component vector of float)
...@@ -500,7 +500,7 @@ ERROR: node is still EOpNull! ...@@ -500,7 +500,7 @@ ERROR: node is still EOpNull!
0:? 1.000000 0:? 1.000000
0:? 2.000000 0:? 2.000000
0:? 3.000000 0:? 3.000000
0:114 Function Definition: PixelShaderFunction(vf4;vf4;vf4;vi4; (temp 4-component vector of float) 0:114 Function Definition: PixelShaderFunction(vf4;vf4;vf4;vi4; (global 4-component vector of float)
0:80 Function Parameters: 0:80 Function Parameters:
0:80 'inF0' (in 4-component vector of float) 0:80 'inF0' (in 4-component vector of float)
0:80 'inF1' (in 4-component vector of float) 0:80 'inF1' (in 4-component vector of float)
...@@ -531,7 +531,7 @@ ERROR: node is still EOpNull! ...@@ -531,7 +531,7 @@ ERROR: node is still EOpNull!
0:? 2.000000 0:? 2.000000
0:? 3.000000 0:? 3.000000
0:? 4.000000 0:? 4.000000
0:122 Function Definition: PixelShaderFunction2x2(mf22;mf22;mf22; (temp 2X2 matrix of float) 0:122 Function Definition: PixelShaderFunction2x2(mf22;mf22;mf22; (global 2X2 matrix of float)
0:115 Function Parameters: 0:115 Function Parameters:
0:115 'inF0' (in 2X2 matrix of float) 0:115 'inF0' (in 2X2 matrix of float)
0:115 'inF1' (in 2X2 matrix of float) 0:115 'inF1' (in 2X2 matrix of float)
...@@ -569,7 +569,7 @@ ERROR: node is still EOpNull! ...@@ -569,7 +569,7 @@ ERROR: node is still EOpNull!
0:? 2.000000 0:? 2.000000
0:? 2.000000 0:? 2.000000
0:? 2.000000 0:? 2.000000
0:130 Function Definition: PixelShaderFunction3x3(mf33;mf33;mf33; (temp 3X3 matrix of float) 0:130 Function Definition: PixelShaderFunction3x3(mf33;mf33;mf33; (global 3X3 matrix of float)
0:123 Function Parameters: 0:123 Function Parameters:
0:123 'inF0' (in 3X3 matrix of float) 0:123 'inF0' (in 3X3 matrix of float)
0:123 'inF1' (in 3X3 matrix of float) 0:123 'inF1' (in 3X3 matrix of float)
...@@ -612,7 +612,7 @@ ERROR: node is still EOpNull! ...@@ -612,7 +612,7 @@ ERROR: node is still EOpNull!
0:? 3.000000 0:? 3.000000
0:? 3.000000 0:? 3.000000
0:? 3.000000 0:? 3.000000
0:137 Function Definition: PixelShaderFunction4x4(mf44;mf44;mf44; (temp 4X4 matrix of float) 0:137 Function Definition: PixelShaderFunction4x4(mf44;mf44;mf44; (global 4X4 matrix of float)
0:131 Function Parameters: 0:131 Function Parameters:
0:131 'inF0' (in 4X4 matrix of float) 0:131 'inF0' (in 4X4 matrix of float)
0:131 'inF1' (in 4X4 matrix of float) 0:131 'inF1' (in 4X4 matrix of float)
......
...@@ -230,7 +230,7 @@ ERROR: 226 compilation errors. No code generated. ...@@ -230,7 +230,7 @@ ERROR: 226 compilation errors. No code generated.
Shader version: 450 Shader version: 450
ERROR: node is still EOpNull! ERROR: node is still EOpNull!
0:74 Function Definition: VertexShaderFunctionS(f1;f1;f1;i1; (temp float) 0:74 Function Definition: VertexShaderFunctionS(f1;f1;f1;i1; (global float)
0:15 Function Parameters: 0:15 Function Parameters:
0:15 'inF0' (in float) 0:15 'inF0' (in float)
0:15 'inF1' (in float) 0:15 'inF1' (in float)
...@@ -338,7 +338,7 @@ ERROR: node is still EOpNull! ...@@ -338,7 +338,7 @@ ERROR: node is still EOpNull!
0:71 Branch: Return with expression 0:71 Branch: Return with expression
0:71 Constant: 0:71 Constant:
0:71 0.000000 0:71 0.000000
0:83 Function Definition: VertexShaderFunction1(vf1;vf1;vf1;vi1; (temp 1-component vector of float) 0:83 Function Definition: VertexShaderFunction1(vf1;vf1;vf1;vi1; (global 1-component vector of float)
0:75 Function Parameters: 0:75 Function Parameters:
0:75 'inF0' (in 1-component vector of float) 0:75 'inF0' (in 1-component vector of float)
0:75 'inF1' (in 1-component vector of float) 0:75 'inF1' (in 1-component vector of float)
...@@ -350,7 +350,7 @@ ERROR: node is still EOpNull! ...@@ -350,7 +350,7 @@ ERROR: node is still EOpNull!
0:80 Branch: Return with expression 0:80 Branch: Return with expression
0:80 Constant: 0:80 Constant:
0:80 0.000000 0:80 0.000000
0:130 Function Definition: VertexShaderFunction2(vf2;vf2;vf2;vi2; (temp 2-component vector of float) 0:130 Function Definition: VertexShaderFunction2(vf2;vf2;vf2;vi2; (global 2-component vector of float)
0:84 Function Parameters: 0:84 Function Parameters:
0:84 'inF0' (in 2-component vector of float) 0:84 'inF0' (in 2-component vector of float)
0:84 'inF1' (in 2-component vector of float) 0:84 'inF1' (in 2-component vector of float)
...@@ -433,7 +433,7 @@ ERROR: node is still EOpNull! ...@@ -433,7 +433,7 @@ ERROR: node is still EOpNull!
0:? Constant: 0:? Constant:
0:? 1.000000 0:? 1.000000
0:? 2.000000 0:? 2.000000
0:175 Function Definition: VertexShaderFunction3(vf3;vf3;vf3;vi3; (temp 3-component vector of float) 0:175 Function Definition: VertexShaderFunction3(vf3;vf3;vf3;vi3; (global 3-component vector of float)
0:131 Function Parameters: 0:131 Function Parameters:
0:131 'inF0' (in 3-component vector of float) 0:131 'inF0' (in 3-component vector of float)
0:131 'inF1' (in 3-component vector of float) 0:131 'inF1' (in 3-component vector of float)
...@@ -513,7 +513,7 @@ ERROR: node is still EOpNull! ...@@ -513,7 +513,7 @@ ERROR: node is still EOpNull!
0:? 1.000000 0:? 1.000000
0:? 2.000000 0:? 2.000000
0:? 3.000000 0:? 3.000000
0:250 Function Definition: VertexShaderFunction(vf4;vf4;vf4;vi4; (temp 4-component vector of float) 0:250 Function Definition: VertexShaderFunction(vf4;vf4;vf4;vi4; (global 4-component vector of float)
0:176 Function Parameters: 0:176 Function Parameters:
0:176 'inF0' (in 4-component vector of float) 0:176 'inF0' (in 4-component vector of float)
0:176 'inF1' (in 4-component vector of float) 0:176 'inF1' (in 4-component vector of float)
...@@ -594,7 +594,7 @@ ERROR: node is still EOpNull! ...@@ -594,7 +594,7 @@ ERROR: node is still EOpNull!
0:? 2.000000 0:? 2.000000
0:? 3.000000 0:? 3.000000
0:? 4.000000 0:? 4.000000
0:258 Function Definition: VertexShaderFunction2x2(mf22;mf22;mf22; (temp 2X2 matrix of float) 0:258 Function Definition: VertexShaderFunction2x2(mf22;mf22;mf22; (global 2X2 matrix of float)
0:251 Function Parameters: 0:251 Function Parameters:
0:251 'inF0' (in 2X2 matrix of float) 0:251 'inF0' (in 2X2 matrix of float)
0:251 'inF1' (in 2X2 matrix of float) 0:251 'inF1' (in 2X2 matrix of float)
...@@ -654,7 +654,7 @@ ERROR: node is still EOpNull! ...@@ -654,7 +654,7 @@ ERROR: node is still EOpNull!
0:? 2.000000 0:? 2.000000
0:? 2.000000 0:? 2.000000
0:? 2.000000 0:? 2.000000
0:266 Function Definition: VertexShaderFunction3x3(mf33;mf33;mf33; (temp 3X3 matrix of float) 0:266 Function Definition: VertexShaderFunction3x3(mf33;mf33;mf33; (global 3X3 matrix of float)
0:259 Function Parameters: 0:259 Function Parameters:
0:259 'inF0' (in 3X3 matrix of float) 0:259 'inF0' (in 3X3 matrix of float)
0:259 'inF1' (in 3X3 matrix of float) 0:259 'inF1' (in 3X3 matrix of float)
...@@ -719,7 +719,7 @@ ERROR: node is still EOpNull! ...@@ -719,7 +719,7 @@ ERROR: node is still EOpNull!
0:? 3.000000 0:? 3.000000
0:? 3.000000 0:? 3.000000
0:? 3.000000 0:? 3.000000
0:273 Function Definition: VertexShaderFunction4x4(mf44;mf44;mf44; (temp 4X4 matrix of float) 0:273 Function Definition: VertexShaderFunction4x4(mf44;mf44;mf44; (global 4X4 matrix of float)
0:267 Function Parameters: 0:267 Function Parameters:
0:267 'inF0' (in 4X4 matrix of float) 0:267 'inF0' (in 4X4 matrix of float)
0:267 'inF1' (in 4X4 matrix of float) 0:267 'inF1' (in 4X4 matrix of float)
...@@ -792,18 +792,18 @@ ERROR: node is still EOpNull! ...@@ -792,18 +792,18 @@ ERROR: node is still EOpNull!
0:? 4.000000 0:? 4.000000
0:? 4.000000 0:? 4.000000
0:? Linker Objects 0:? Linker Objects
0:? 'gs_ua' (temp uint) 0:? 'gs_ua' (global uint)
0:? 'gs_ub' (temp uint) 0:? 'gs_ub' (global uint)
0:? 'gs_uc' (temp uint) 0:? 'gs_uc' (global uint)
0:? 'gs_ua2' (temp 2-component vector of uint) 0:? 'gs_ua2' (global 2-component vector of uint)
0:? 'gs_ub2' (temp 2-component vector of uint) 0:? 'gs_ub2' (global 2-component vector of uint)
0:? 'gs_uc2' (temp 2-component vector of uint) 0:? 'gs_uc2' (global 2-component vector of uint)
0:? 'gs_ua3' (temp 3-component vector of uint) 0:? 'gs_ua3' (global 3-component vector of uint)
0:? 'gs_ub3' (temp 3-component vector of uint) 0:? 'gs_ub3' (global 3-component vector of uint)
0:? 'gs_uc3' (temp 3-component vector of uint) 0:? 'gs_uc3' (global 3-component vector of uint)
0:? 'gs_ua4' (temp 4-component vector of uint) 0:? 'gs_ua4' (global 4-component vector of uint)
0:? 'gs_ub4' (temp 4-component vector of uint) 0:? 'gs_ub4' (global 4-component vector of uint)
0:? 'gs_uc4' (temp 4-component vector of uint) 0:? 'gs_uc4' (global 4-component vector of uint)
Linked vertex stage: Linked vertex stage:
...@@ -811,7 +811,7 @@ Linked vertex stage: ...@@ -811,7 +811,7 @@ Linked vertex stage:
Shader version: 450 Shader version: 450
ERROR: node is still EOpNull! ERROR: node is still EOpNull!
0:74 Function Definition: VertexShaderFunctionS(f1;f1;f1;i1; (temp float) 0:74 Function Definition: VertexShaderFunctionS(f1;f1;f1;i1; (global float)
0:15 Function Parameters: 0:15 Function Parameters:
0:15 'inF0' (in float) 0:15 'inF0' (in float)
0:15 'inF1' (in float) 0:15 'inF1' (in float)
...@@ -919,7 +919,7 @@ ERROR: node is still EOpNull! ...@@ -919,7 +919,7 @@ ERROR: node is still EOpNull!
0:71 Branch: Return with expression 0:71 Branch: Return with expression
0:71 Constant: 0:71 Constant:
0:71 0.000000 0:71 0.000000
0:83 Function Definition: VertexShaderFunction1(vf1;vf1;vf1;vi1; (temp 1-component vector of float) 0:83 Function Definition: VertexShaderFunction1(vf1;vf1;vf1;vi1; (global 1-component vector of float)
0:75 Function Parameters: 0:75 Function Parameters:
0:75 'inF0' (in 1-component vector of float) 0:75 'inF0' (in 1-component vector of float)
0:75 'inF1' (in 1-component vector of float) 0:75 'inF1' (in 1-component vector of float)
...@@ -931,7 +931,7 @@ ERROR: node is still EOpNull! ...@@ -931,7 +931,7 @@ ERROR: node is still EOpNull!
0:80 Branch: Return with expression 0:80 Branch: Return with expression
0:80 Constant: 0:80 Constant:
0:80 0.000000 0:80 0.000000
0:130 Function Definition: VertexShaderFunction2(vf2;vf2;vf2;vi2; (temp 2-component vector of float) 0:130 Function Definition: VertexShaderFunction2(vf2;vf2;vf2;vi2; (global 2-component vector of float)
0:84 Function Parameters: 0:84 Function Parameters:
0:84 'inF0' (in 2-component vector of float) 0:84 'inF0' (in 2-component vector of float)
0:84 'inF1' (in 2-component vector of float) 0:84 'inF1' (in 2-component vector of float)
...@@ -1014,7 +1014,7 @@ ERROR: node is still EOpNull! ...@@ -1014,7 +1014,7 @@ ERROR: node is still EOpNull!
0:? Constant: 0:? Constant:
0:? 1.000000 0:? 1.000000
0:? 2.000000 0:? 2.000000
0:175 Function Definition: VertexShaderFunction3(vf3;vf3;vf3;vi3; (temp 3-component vector of float) 0:175 Function Definition: VertexShaderFunction3(vf3;vf3;vf3;vi3; (global 3-component vector of float)
0:131 Function Parameters: 0:131 Function Parameters:
0:131 'inF0' (in 3-component vector of float) 0:131 'inF0' (in 3-component vector of float)
0:131 'inF1' (in 3-component vector of float) 0:131 'inF1' (in 3-component vector of float)
...@@ -1094,7 +1094,7 @@ ERROR: node is still EOpNull! ...@@ -1094,7 +1094,7 @@ ERROR: node is still EOpNull!
0:? 1.000000 0:? 1.000000
0:? 2.000000 0:? 2.000000
0:? 3.000000 0:? 3.000000
0:250 Function Definition: VertexShaderFunction(vf4;vf4;vf4;vi4; (temp 4-component vector of float) 0:250 Function Definition: VertexShaderFunction(vf4;vf4;vf4;vi4; (global 4-component vector of float)
0:176 Function Parameters: 0:176 Function Parameters:
0:176 'inF0' (in 4-component vector of float) 0:176 'inF0' (in 4-component vector of float)
0:176 'inF1' (in 4-component vector of float) 0:176 'inF1' (in 4-component vector of float)
...@@ -1175,7 +1175,7 @@ ERROR: node is still EOpNull! ...@@ -1175,7 +1175,7 @@ ERROR: node is still EOpNull!
0:? 2.000000 0:? 2.000000
0:? 3.000000 0:? 3.000000
0:? 4.000000 0:? 4.000000
0:258 Function Definition: VertexShaderFunction2x2(mf22;mf22;mf22; (temp 2X2 matrix of float) 0:258 Function Definition: VertexShaderFunction2x2(mf22;mf22;mf22; (global 2X2 matrix of float)
0:251 Function Parameters: 0:251 Function Parameters:
0:251 'inF0' (in 2X2 matrix of float) 0:251 'inF0' (in 2X2 matrix of float)
0:251 'inF1' (in 2X2 matrix of float) 0:251 'inF1' (in 2X2 matrix of float)
...@@ -1235,7 +1235,7 @@ ERROR: node is still EOpNull! ...@@ -1235,7 +1235,7 @@ ERROR: node is still EOpNull!
0:? 2.000000 0:? 2.000000
0:? 2.000000 0:? 2.000000
0:? 2.000000 0:? 2.000000
0:266 Function Definition: VertexShaderFunction3x3(mf33;mf33;mf33; (temp 3X3 matrix of float) 0:266 Function Definition: VertexShaderFunction3x3(mf33;mf33;mf33; (global 3X3 matrix of float)
0:259 Function Parameters: 0:259 Function Parameters:
0:259 'inF0' (in 3X3 matrix of float) 0:259 'inF0' (in 3X3 matrix of float)
0:259 'inF1' (in 3X3 matrix of float) 0:259 'inF1' (in 3X3 matrix of float)
...@@ -1300,7 +1300,7 @@ ERROR: node is still EOpNull! ...@@ -1300,7 +1300,7 @@ ERROR: node is still EOpNull!
0:? 3.000000 0:? 3.000000
0:? 3.000000 0:? 3.000000
0:? 3.000000 0:? 3.000000
0:273 Function Definition: VertexShaderFunction4x4(mf44;mf44;mf44; (temp 4X4 matrix of float) 0:273 Function Definition: VertexShaderFunction4x4(mf44;mf44;mf44; (global 4X4 matrix of float)
0:267 Function Parameters: 0:267 Function Parameters:
0:267 'inF0' (in 4X4 matrix of float) 0:267 'inF0' (in 4X4 matrix of float)
0:267 'inF1' (in 4X4 matrix of float) 0:267 'inF1' (in 4X4 matrix of float)
...@@ -1373,17 +1373,17 @@ ERROR: node is still EOpNull! ...@@ -1373,17 +1373,17 @@ ERROR: node is still EOpNull!
0:? 4.000000 0:? 4.000000
0:? 4.000000 0:? 4.000000
0:? Linker Objects 0:? Linker Objects
0:? 'gs_ua' (temp uint) 0:? 'gs_ua' (global uint)
0:? 'gs_ub' (temp uint) 0:? 'gs_ub' (global uint)
0:? 'gs_uc' (temp uint) 0:? 'gs_uc' (global uint)
0:? 'gs_ua2' (temp 2-component vector of uint) 0:? 'gs_ua2' (global 2-component vector of uint)
0:? 'gs_ub2' (temp 2-component vector of uint) 0:? 'gs_ub2' (global 2-component vector of uint)
0:? 'gs_uc2' (temp 2-component vector of uint) 0:? 'gs_uc2' (global 2-component vector of uint)
0:? 'gs_ua3' (temp 3-component vector of uint) 0:? 'gs_ua3' (global 3-component vector of uint)
0:? 'gs_ub3' (temp 3-component vector of uint) 0:? 'gs_ub3' (global 3-component vector of uint)
0:? 'gs_uc3' (temp 3-component vector of uint) 0:? 'gs_uc3' (global 3-component vector of uint)
0:? 'gs_ua4' (temp 4-component vector of uint) 0:? 'gs_ua4' (global 4-component vector of uint)
0:? 'gs_ub4' (temp 4-component vector of uint) 0:? 'gs_ub4' (global 4-component vector of uint)
0:? 'gs_uc4' (temp 4-component vector of uint) 0:? 'gs_uc4' (global 4-component vector of uint)
SPIR-V is not generated for failed compile or link SPIR-V is not generated for failed compile or link
...@@ -4,20 +4,20 @@ gl_FragCoord origin is upper left ...@@ -4,20 +4,20 @@ gl_FragCoord origin is upper left
0:? Sequence 0:? Sequence
0:1 Sequence 0:1 Sequence
0:1 move second child to first child (temp 1-component vector of float) 0:1 move second child to first child (temp 1-component vector of float)
0:1 'f1' (temp 1-component vector of float) 0:1 'f1' (global 1-component vector of float)
0:1 Constant: 0:1 Constant:
0:1 1.000000 0:1 1.000000
0:11 Function Definition: ShaderFunction(vf1;f1; (temp 1-component vector of float) 0:11 Function Definition: ShaderFunction(vf1;f1; (global 1-component vector of float)
0:9 Function Parameters: 0:9 Function Parameters:
0:9 'inFloat1' (in 1-component vector of float) 0:9 'inFloat1' (in 1-component vector of float)
0:9 'inScalar' (in float) 0:9 'inScalar' (in float)
0:? Linker Objects 0:? Linker Objects
0:? 'f1' (temp 1-component vector of float) 0:? 'f1' (global 1-component vector of float)
0:? 'fmat11' (temp 1X1 matrix of float) 0:? 'fmat11' (global 1X1 matrix of float)
0:? 'fmat41' (temp 1X4 matrix of float) 0:? 'fmat41' (global 1X4 matrix of float)
0:? 'fmat12' (temp 2X1 matrix of float) 0:? 'fmat12' (global 2X1 matrix of float)
0:? 'dmat23' (temp 3X2 matrix of double) 0:? 'dmat23' (global 3X2 matrix of double)
0:? 'int44' (temp 4X4 matrix of int) 0:? 'int44' (global 4X4 matrix of int)
Linked fragment stage: Linked fragment stage:
...@@ -28,24 +28,24 @@ gl_FragCoord origin is upper left ...@@ -28,24 +28,24 @@ gl_FragCoord origin is upper left
0:? Sequence 0:? Sequence
0:1 Sequence 0:1 Sequence
0:1 move second child to first child (temp 1-component vector of float) 0:1 move second child to first child (temp 1-component vector of float)
0:1 'f1' (temp 1-component vector of float) 0:1 'f1' (global 1-component vector of float)
0:1 Constant: 0:1 Constant:
0:1 1.000000 0:1 1.000000
0:11 Function Definition: ShaderFunction(vf1;f1; (temp 1-component vector of float) 0:11 Function Definition: ShaderFunction(vf1;f1; (global 1-component vector of float)
0:9 Function Parameters: 0:9 Function Parameters:
0:9 'inFloat1' (in 1-component vector of float) 0:9 'inFloat1' (in 1-component vector of float)
0:9 'inScalar' (in float) 0:9 'inScalar' (in float)
0:? Linker Objects 0:? Linker Objects
0:? 'f1' (temp 1-component vector of float) 0:? 'f1' (global 1-component vector of float)
0:? 'fmat11' (temp 1X1 matrix of float) 0:? 'fmat11' (global 1X1 matrix of float)
0:? 'fmat41' (temp 1X4 matrix of float) 0:? 'fmat41' (global 1X4 matrix of float)
0:? 'fmat12' (temp 2X1 matrix of float) 0:? 'fmat12' (global 2X1 matrix of float)
0:? 'dmat23' (temp 3X2 matrix of double) 0:? 'dmat23' (global 3X2 matrix of double)
0:? 'int44' (temp 4X4 matrix of int) 0:? 'int44' (global 4X4 matrix of int)
// Module Version 10000 // Module Version 10000
// Generated by (magic number): 80001 // Generated by (magic number): 80001
// Id's are bound by 37 // Id's are bound by 38
Capability Shader Capability Shader
Capability Float64 Capability Float64
...@@ -58,48 +58,49 @@ gl_FragCoord origin is upper left ...@@ -58,48 +58,49 @@ gl_FragCoord origin is upper left
Name 11 "ShaderFunction(vf1;f1;" Name 11 "ShaderFunction(vf1;f1;"
Name 9 "inFloat1" Name 9 "inFloat1"
Name 10 "inScalar" Name 10 "inScalar"
Name 13 "f1" Name 14 "f1"
Name 19 "fmat11" Name 20 "fmat11"
Name 23 "fmat41" Name 24 "fmat41"
Name 26 "fmat12" Name 27 "fmat12"
Name 31 "dmat23" Name 32 "dmat23"
Name 36 "int44" Name 37 "int44"
2: TypeVoid 2: TypeVoid
3: TypeFunction 2 3: TypeFunction 2
6: TypeFloat 32 6: TypeFloat 32
7: TypePointer Function 6(float) 7: TypePointer Function 6(float)
8: TypeFunction 6(float) 7(ptr) 7(ptr) 8: TypeFunction 6(float) 7(ptr) 7(ptr)
14: 6(float) Constant 1065353216 13: TypePointer Private 6(float)
16: TypeVector 6(float) 1 14(f1): 13(ptr) Variable Private
17: TypeMatrix 16(fvec) 1 15: 6(float) Constant 1065353216
18: TypePointer Function 17 17: TypeVector 6(float) 1
20: TypeVector 6(float) 4 18: TypeMatrix 17(fvec) 1
21: TypeMatrix 20(fvec4) 1 19: TypePointer Private 18
22: TypePointer Function 21 20(fmat11): 19(ptr) Variable Private
24: TypeMatrix 16(fvec) 2 21: TypeVector 6(float) 4
25: TypePointer Function 24 22: TypeMatrix 21(fvec4) 1
27: TypeFloat 64 23: TypePointer Private 22
28: TypeVector 27(float) 2 24(fmat41): 23(ptr) Variable Private
29: TypeMatrix 28(fvec2) 3 25: TypeMatrix 17(fvec) 2
30: TypePointer Function 29 26: TypePointer Private 25
32: TypeInt 32 1 27(fmat12): 26(ptr) Variable Private
33: TypeVector 32(int) 4 28: TypeFloat 64
34: TypeMatrix 33(ivec4) 4 29: TypeVector 28(float) 2
35: TypePointer Function 34 30: TypeMatrix 29(fvec2) 3
31: TypePointer Private 30
32(dmat23): 31(ptr) Variable Private
33: TypeInt 32 1
34: TypeVector 33(int) 4
35: TypeMatrix 34(ivec4) 4
36: TypePointer Private 35
37(int44): 36(ptr) Variable Private
4(PixelShaderFunction): 2 Function None 3 4(PixelShaderFunction): 2 Function None 3
5: Label 5: Label
13(f1): 7(ptr) Variable Function Store 14(f1) 15
Store 13(f1) 14
FunctionEnd FunctionEnd
11(ShaderFunction(vf1;f1;): 6(float) Function None 8 11(ShaderFunction(vf1;f1;): 6(float) Function None 8
9(inFloat1): 7(ptr) FunctionParameter 9(inFloat1): 7(ptr) FunctionParameter
10(inScalar): 7(ptr) FunctionParameter 10(inScalar): 7(ptr) FunctionParameter
12: Label 12: Label
19(fmat11): 18(ptr) Variable Function 16: 6(float) Undef
23(fmat41): 22(ptr) Variable Function ReturnValue 16
26(fmat12): 25(ptr) Variable Function
31(dmat23): 30(ptr) Variable Function
36(int44): 35(ptr) Variable Function
15: 6(float) Undef
ReturnValue 15
FunctionEnd FunctionEnd
...@@ -2,7 +2,7 @@ hlsl.max.frag ...@@ -2,7 +2,7 @@ hlsl.max.frag
Shader version: 450 Shader version: 450
gl_FragCoord origin is upper left gl_FragCoord origin is upper left
0:? Sequence 0:? Sequence
0:5 Function Definition: PixelShaderFunction(vf4;vf4; (temp 4-component vector of float) 0:5 Function Definition: PixelShaderFunction(vf4;vf4; (global 4-component vector of float)
0:2 Function Parameters: 0:2 Function Parameters:
0:2 'input1' (in 4-component vector of float) 0:2 'input1' (in 4-component vector of float)
0:2 'input2' (in 4-component vector of float) 0:2 'input2' (in 4-component vector of float)
...@@ -20,7 +20,7 @@ Linked fragment stage: ...@@ -20,7 +20,7 @@ Linked fragment stage:
Shader version: 450 Shader version: 450
gl_FragCoord origin is upper left gl_FragCoord origin is upper left
0:? Sequence 0:? Sequence
0:5 Function Definition: PixelShaderFunction(vf4;vf4; (temp 4-component vector of float) 0:5 Function Definition: PixelShaderFunction(vf4;vf4; (global 4-component vector of float)
0:2 Function Parameters: 0:2 Function Parameters:
0:2 'input1' (in 4-component vector of float) 0:2 'input1' (in 4-component vector of float)
0:2 'input2' (in 4-component vector of float) 0:2 'input2' (in 4-component vector of float)
......
...@@ -2,7 +2,7 @@ hlsl.precedence.frag ...@@ -2,7 +2,7 @@ hlsl.precedence.frag
Shader version: 450 Shader version: 450
gl_FragCoord origin is upper left gl_FragCoord origin is upper left
0:? Sequence 0:? Sequence
0:10 Function Definition: PixelShaderFunction(vf4;vf4;vf4;vf4; (temp 4-component vector of float) 0:10 Function Definition: PixelShaderFunction(vf4;vf4;vf4;vf4; (global 4-component vector of float)
0:7 Function Parameters: 0:7 Function Parameters:
0:7 'a1' (in 4-component vector of float) 0:7 'a1' (in 4-component vector of float)
0:7 'a2' (in 4-component vector of float) 0:7 'a2' (in 4-component vector of float)
...@@ -26,7 +26,7 @@ Linked fragment stage: ...@@ -26,7 +26,7 @@ Linked fragment stage:
Shader version: 450 Shader version: 450
gl_FragCoord origin is upper left gl_FragCoord origin is upper left
0:? Sequence 0:? Sequence
0:10 Function Definition: PixelShaderFunction(vf4;vf4;vf4;vf4; (temp 4-component vector of float) 0:10 Function Definition: PixelShaderFunction(vf4;vf4;vf4;vf4; (global 4-component vector of float)
0:7 Function Parameters: 0:7 Function Parameters:
0:7 'a1' (in 4-component vector of float) 0:7 'a1' (in 4-component vector of float)
0:7 'a2' (in 4-component vector of float) 0:7 'a2' (in 4-component vector of float)
......
...@@ -2,7 +2,7 @@ hlsl.precedence2.frag ...@@ -2,7 +2,7 @@ hlsl.precedence2.frag
Shader version: 450 Shader version: 450
gl_FragCoord origin is upper left gl_FragCoord origin is upper left
0:? Sequence 0:? Sequence
0:10 Function Definition: PixelShaderFunction(i1;i1;i1;i1; (temp int) 0:10 Function Definition: PixelShaderFunction(i1;i1;i1;i1; (global int)
0:7 Function Parameters: 0:7 Function Parameters:
0:7 'a1' (in int) 0:7 'a1' (in int)
0:7 'a2' (in int) 0:7 'a2' (in int)
...@@ -34,7 +34,7 @@ Linked fragment stage: ...@@ -34,7 +34,7 @@ Linked fragment stage:
Shader version: 450 Shader version: 450
gl_FragCoord origin is upper left gl_FragCoord origin is upper left
0:? Sequence 0:? Sequence
0:10 Function Definition: PixelShaderFunction(i1;i1;i1;i1; (temp int) 0:10 Function Definition: PixelShaderFunction(i1;i1;i1;i1; (global int)
0:7 Function Parameters: 0:7 Function Parameters:
0:7 'a1' (in int) 0:7 'a1' (in int)
0:7 'a2' (in int) 0:7 'a2' (in int)
......
...@@ -2,7 +2,7 @@ hlsl.scope.frag ...@@ -2,7 +2,7 @@ hlsl.scope.frag
Shader version: 450 Shader version: 450
gl_FragCoord origin is upper left gl_FragCoord origin is upper left
0:? Sequence 0:? Sequence
0:31 Function Definition: PixelShaderFunction(vf4; (temp 4-component vector of float) 0:31 Function Definition: PixelShaderFunction(vf4; (global 4-component vector of float)
0:2 Function Parameters: 0:2 Function Parameters:
0:2 'input' (in 4-component vector of float) 0:2 'input' (in 4-component vector of float)
0:? Sequence 0:? Sequence
...@@ -46,7 +46,7 @@ Linked fragment stage: ...@@ -46,7 +46,7 @@ Linked fragment stage:
Shader version: 450 Shader version: 450
gl_FragCoord origin is upper left gl_FragCoord origin is upper left
0:? Sequence 0:? Sequence
0:31 Function Definition: PixelShaderFunction(vf4; (temp 4-component vector of float) 0:31 Function Definition: PixelShaderFunction(vf4; (global 4-component vector of float)
0:2 Function Parameters: 0:2 Function Parameters:
0:2 'input' (in 4-component vector of float) 0:2 'input' (in 4-component vector of float)
0:? Sequence 0:? Sequence
......
...@@ -2,7 +2,7 @@ hlsl.sin.frag ...@@ -2,7 +2,7 @@ hlsl.sin.frag
Shader version: 450 Shader version: 450
gl_FragCoord origin is upper left gl_FragCoord origin is upper left
0:? Sequence 0:? Sequence
0:5 Function Definition: PixelShaderFunction(vf4; (temp 4-component vector of float) 0:5 Function Definition: PixelShaderFunction(vf4; (global 4-component vector of float)
0:2 Function Parameters: 0:2 Function Parameters:
0:2 'input' (in 4-component vector of float) 0:2 'input' (in 4-component vector of float)
0:? Sequence 0:? Sequence
...@@ -18,7 +18,7 @@ Linked fragment stage: ...@@ -18,7 +18,7 @@ Linked fragment stage:
Shader version: 450 Shader version: 450
gl_FragCoord origin is upper left gl_FragCoord origin is upper left
0:? Sequence 0:? Sequence
0:5 Function Definition: PixelShaderFunction(vf4; (temp 4-component vector of float) 0:5 Function Definition: PixelShaderFunction(vf4; (global 4-component vector of float)
0:2 Function Parameters: 0:2 Function Parameters:
0:2 'input' (in 4-component vector of float) 0:2 'input' (in 4-component vector of float)
0:? Sequence 0:? Sequence
......
...@@ -2,7 +2,7 @@ hlsl.struct.frag ...@@ -2,7 +2,7 @@ hlsl.struct.frag
Shader version: 450 Shader version: 450
gl_FragCoord origin is upper left gl_FragCoord origin is upper left
0:? Sequence 0:? Sequence
0:40 Function Definition: PixelShaderFunction(vf4; (temp 4-component vector of float) 0:40 Function Definition: PixelShaderFunction(vf4; (global 4-component vector of float)
0:31 Function Parameters: 0:31 Function Parameters:
0:31 'input' (in 4-component vector of float) 0:31 'input' (in 4-component vector of float)
0:? Sequence 0:? Sequence
...@@ -11,19 +11,19 @@ gl_FragCoord origin is upper left ...@@ -11,19 +11,19 @@ gl_FragCoord origin is upper left
0:36 's3' (temp structure{temp 3-component vector of bool b3}) 0:36 's3' (temp structure{temp 3-component vector of bool b3})
0:37 move second child to first child (temp 4-component vector of float) 0:37 move second child to first child (temp 4-component vector of float)
0:37 i: direct index for structure (temp 4-component vector of float) 0:37 i: direct index for structure (temp 4-component vector of float)
0:37 's2' (temp structure{temp 4-component vector of float i}) 0:37 's2' (global structure{temp 4-component vector of float i})
0:37 Constant: 0:37 Constant:
0:37 0 (const int) 0:37 0 (const int)
0:37 ff4: direct index for structure (temp 4-component vector of float FragCoord) 0:37 ff4: direct index for structure (temp 4-component vector of float FragCoord)
0:37 's4' (temp structure{smooth in 4-component vector of float a, flat temp bool b, centroid noperspective temp 1-component vector of float c, centroid sample temp 2-component vector of float d, temp bool Face ff1, temp bool ff2, temp bool ff3, temp 4-component vector of float FragCoord ff4}) 0:37 's4' (global structure{smooth in 4-component vector of float a, flat temp bool b, centroid noperspective temp 1-component vector of float c, centroid sample temp 2-component vector of float d, temp bool Face ff1, temp bool ff2, temp bool ff3, temp 4-component vector of float FragCoord ff4})
0:37 Constant: 0:37 Constant:
0:37 7 (const int) 0:37 7 (const int)
0:39 Branch: Return with expression 0:39 Branch: Return with expression
0:39 'input' (in 4-component vector of float) 0:39 'input' (in 4-component vector of float)
0:? Linker Objects 0:? Linker Objects
0:? 's1' (temp structure{temp bool b, temp bool c, temp 4-component vector of float a, temp 4-component vector of float d}) 0:? 's1' (global structure{temp bool b, temp bool c, temp 4-component vector of float a, temp 4-component vector of float d})
0:? 's2' (temp structure{temp 4-component vector of float i}) 0:? 's2' (global structure{temp 4-component vector of float i})
0:? 's4' (temp structure{smooth in 4-component vector of float a, flat temp bool b, centroid noperspective temp 1-component vector of float c, centroid sample temp 2-component vector of float d, temp bool Face ff1, temp bool ff2, temp bool ff3, temp 4-component vector of float FragCoord ff4}) 0:? 's4' (global structure{smooth in 4-component vector of float a, flat temp bool b, centroid noperspective temp 1-component vector of float c, centroid sample temp 2-component vector of float d, temp bool Face ff1, temp bool ff2, temp bool ff3, temp 4-component vector of float FragCoord ff4})
Linked fragment stage: Linked fragment stage:
...@@ -32,7 +32,7 @@ Linked fragment stage: ...@@ -32,7 +32,7 @@ Linked fragment stage:
Shader version: 450 Shader version: 450
gl_FragCoord origin is upper left gl_FragCoord origin is upper left
0:? Sequence 0:? Sequence
0:40 Function Definition: PixelShaderFunction(vf4; (temp 4-component vector of float) 0:40 Function Definition: PixelShaderFunction(vf4; (global 4-component vector of float)
0:31 Function Parameters: 0:31 Function Parameters:
0:31 'input' (in 4-component vector of float) 0:31 'input' (in 4-component vector of float)
0:? Sequence 0:? Sequence
...@@ -41,19 +41,19 @@ gl_FragCoord origin is upper left ...@@ -41,19 +41,19 @@ gl_FragCoord origin is upper left
0:36 's3' (temp structure{temp 3-component vector of bool b3}) 0:36 's3' (temp structure{temp 3-component vector of bool b3})
0:37 move second child to first child (temp 4-component vector of float) 0:37 move second child to first child (temp 4-component vector of float)
0:37 i: direct index for structure (temp 4-component vector of float) 0:37 i: direct index for structure (temp 4-component vector of float)
0:37 's2' (temp structure{temp 4-component vector of float i}) 0:37 's2' (global structure{temp 4-component vector of float i})
0:37 Constant: 0:37 Constant:
0:37 0 (const int) 0:37 0 (const int)
0:37 ff4: direct index for structure (temp 4-component vector of float FragCoord) 0:37 ff4: direct index for structure (temp 4-component vector of float FragCoord)
0:37 's4' (temp structure{smooth in 4-component vector of float a, flat temp bool b, centroid noperspective temp 1-component vector of float c, centroid sample temp 2-component vector of float d, temp bool Face ff1, temp bool ff2, temp bool ff3, temp 4-component vector of float FragCoord ff4}) 0:37 's4' (global structure{smooth in 4-component vector of float a, flat temp bool b, centroid noperspective temp 1-component vector of float c, centroid sample temp 2-component vector of float d, temp bool Face ff1, temp bool ff2, temp bool ff3, temp 4-component vector of float FragCoord ff4})
0:37 Constant: 0:37 Constant:
0:37 7 (const int) 0:37 7 (const int)
0:39 Branch: Return with expression 0:39 Branch: Return with expression
0:39 'input' (in 4-component vector of float) 0:39 'input' (in 4-component vector of float)
0:? Linker Objects 0:? Linker Objects
0:? 's1' (temp structure{temp bool b, temp bool c, temp 4-component vector of float a, temp 4-component vector of float d}) 0:? 's1' (global structure{temp bool b, temp bool c, temp 4-component vector of float a, temp 4-component vector of float d})
0:? 's2' (temp structure{temp 4-component vector of float i}) 0:? 's2' (global structure{temp 4-component vector of float i})
0:? 's4' (temp structure{smooth in 4-component vector of float a, flat temp bool b, centroid noperspective temp 1-component vector of float c, centroid sample temp 2-component vector of float d, temp bool Face ff1, temp bool ff2, temp bool ff3, temp 4-component vector of float FragCoord ff4}) 0:? 's4' (global structure{smooth in 4-component vector of float a, flat temp bool b, centroid noperspective temp 1-component vector of float c, centroid sample temp 2-component vector of float d, temp bool Face ff1, temp bool ff2, temp bool ff3, temp 4-component vector of float FragCoord ff4})
// Module Version 10000 // Module Version 10000
// Generated by (magic number): 80001 // Generated by (magic number): 80001
...@@ -100,24 +100,24 @@ gl_FragCoord origin is upper left ...@@ -100,24 +100,24 @@ gl_FragCoord origin is upper left
17: TypeFloat 32 17: TypeFloat 32
18: TypeVector 17(float) 4 18: TypeVector 17(float) 4
19: TypeStruct 18(fvec4) 19: TypeStruct 18(fvec4)
20: TypePointer Function 19(struct) 20: TypePointer Private 19(struct)
21(s2): 20(ptr) Variable Private
22: TypeInt 32 1 22: TypeInt 32 1
23: 22(int) Constant 0 23: 22(int) Constant 0
24: TypeVector 17(float) 2 24: TypeVector 17(float) 2
25: TypeStruct 18(fvec4) 6(bool) 17(float) 24(fvec2) 6(bool) 6(bool) 6(bool) 18(fvec4) 25: TypeStruct 18(fvec4) 6(bool) 17(float) 24(fvec2) 6(bool) 6(bool) 6(bool) 18(fvec4)
26: TypePointer Function 25(struct) 26: TypePointer Private 25(struct)
27(s4): 26(ptr) Variable Private
28: 22(int) Constant 7 28: 22(int) Constant 7
29: TypePointer Function 18(fvec4) 29: TypePointer Private 18(fvec4)
33: TypePointer Input 18(fvec4) 33: TypePointer Input 18(fvec4)
34(input): 33(ptr) Variable Input 34(input): 33(ptr) Variable Input
37(myS): TypeStruct 6(bool) 6(bool) 18(fvec4) 18(fvec4) 37(myS): TypeStruct 6(bool) 6(bool) 18(fvec4) 18(fvec4)
38: TypePointer Function 37(myS) 38: TypePointer Private 37(myS)
39(s1): 38(ptr) Variable Private
4(PixelShaderFunction): 2 Function None 3 4(PixelShaderFunction): 2 Function None 3
5: Label 5: Label
10(s3): 9(ptr) Variable Function 10(s3): 9(ptr) Variable Function
21(s2): 20(ptr) Variable Function
27(s4): 26(ptr) Variable Function
39(s1): 38(ptr) Variable Function
11: 8(FS) Load 10(s3) 11: 8(FS) Load 10(s3)
12: 8(FS) Load 10(s3) 12: 8(FS) Load 10(s3)
13: 7(bvec3) CompositeExtract 11 0 13: 7(bvec3) CompositeExtract 11 0
......
...@@ -2,7 +2,7 @@ hlsl.switch.frag ...@@ -2,7 +2,7 @@ hlsl.switch.frag
Shader version: 450 Shader version: 450
gl_FragCoord origin is upper left gl_FragCoord origin is upper left
0:? Sequence 0:? Sequence
0:56 Function Definition: PixelShaderFunction(vf4;i1;i1; (temp 4-component vector of float) 0:56 Function Definition: PixelShaderFunction(vf4;i1;i1; (global 4-component vector of float)
0:2 Function Parameters: 0:2 Function Parameters:
0:2 'input' (in 4-component vector of float) 0:2 'input' (in 4-component vector of float)
0:2 'c' (in int) 0:2 'c' (in int)
...@@ -130,7 +130,7 @@ Linked fragment stage: ...@@ -130,7 +130,7 @@ Linked fragment stage:
Shader version: 450 Shader version: 450
gl_FragCoord origin is upper left gl_FragCoord origin is upper left
0:? Sequence 0:? Sequence
0:56 Function Definition: PixelShaderFunction(vf4;i1;i1; (temp 4-component vector of float) 0:56 Function Definition: PixelShaderFunction(vf4;i1;i1; (global 4-component vector of float)
0:2 Function Parameters: 0:2 Function Parameters:
0:2 'input' (in 4-component vector of float) 0:2 'input' (in 4-component vector of float)
0:2 'c' (in int) 0:2 'c' (in int)
......
...@@ -4,13 +4,13 @@ gl_FragCoord origin is upper left ...@@ -4,13 +4,13 @@ gl_FragCoord origin is upper left
0:? Sequence 0:? Sequence
0:1 Sequence 0:1 Sequence
0:1 move second child to first child (temp 4-component vector of float) 0:1 move second child to first child (temp 4-component vector of float)
0:1 'AmbientColor' (temp 4-component vector of float) 0:1 'AmbientColor' (global 4-component vector of float)
0:? Constant: 0:? Constant:
0:? 1.000000 0:? 1.000000
0:? 0.500000 0:? 0.500000
0:? 0.000000 0:? 0.000000
0:? 1.000000 0:? 1.000000
0:7 Function Definition: ShaderFunction(vf4; (temp 4-component vector of float) 0:7 Function Definition: ShaderFunction(vf4; (global 4-component vector of float)
0:4 Function Parameters: 0:4 Function Parameters:
0:4 'input' (in 4-component vector of float) 0:4 'input' (in 4-component vector of float)
0:? Sequence 0:? Sequence
...@@ -29,11 +29,11 @@ gl_FragCoord origin is upper left ...@@ -29,11 +29,11 @@ gl_FragCoord origin is upper left
0:5 0 (const int) 0:5 0 (const int)
0:5 Construct vec4 (temp 4-component vector of float) 0:5 Construct vec4 (temp 4-component vector of float)
0:5 direct index (temp float) 0:5 direct index (temp float)
0:5 'AmbientColor' (temp 4-component vector of float) 0:5 'AmbientColor' (global 4-component vector of float)
0:5 Constant: 0:5 Constant:
0:5 2 (const int) 0:5 2 (const int)
0:? Linker Objects 0:? Linker Objects
0:? 'AmbientColor' (temp 4-component vector of float) 0:? 'AmbientColor' (global 4-component vector of float)
Linked fragment stage: Linked fragment stage:
...@@ -44,13 +44,13 @@ gl_FragCoord origin is upper left ...@@ -44,13 +44,13 @@ gl_FragCoord origin is upper left
0:? Sequence 0:? Sequence
0:1 Sequence 0:1 Sequence
0:1 move second child to first child (temp 4-component vector of float) 0:1 move second child to first child (temp 4-component vector of float)
0:1 'AmbientColor' (temp 4-component vector of float) 0:1 'AmbientColor' (global 4-component vector of float)
0:? Constant: 0:? Constant:
0:? 1.000000 0:? 1.000000
0:? 0.500000 0:? 0.500000
0:? 0.000000 0:? 0.000000
0:? 1.000000 0:? 1.000000
0:7 Function Definition: ShaderFunction(vf4; (temp 4-component vector of float) 0:7 Function Definition: ShaderFunction(vf4; (global 4-component vector of float)
0:4 Function Parameters: 0:4 Function Parameters:
0:4 'input' (in 4-component vector of float) 0:4 'input' (in 4-component vector of float)
0:? Sequence 0:? Sequence
...@@ -69,15 +69,15 @@ gl_FragCoord origin is upper left ...@@ -69,15 +69,15 @@ gl_FragCoord origin is upper left
0:5 0 (const int) 0:5 0 (const int)
0:5 Construct vec4 (temp 4-component vector of float) 0:5 Construct vec4 (temp 4-component vector of float)
0:5 direct index (temp float) 0:5 direct index (temp float)
0:5 'AmbientColor' (temp 4-component vector of float) 0:5 'AmbientColor' (global 4-component vector of float)
0:5 Constant: 0:5 Constant:
0:5 2 (const int) 0:5 2 (const int)
0:? Linker Objects 0:? Linker Objects
0:? 'AmbientColor' (temp 4-component vector of float) 0:? 'AmbientColor' (global 4-component vector of float)
// Module Version 10000 // Module Version 10000
// Generated by (magic number): 80001 // Generated by (magic number): 80001
// Id's are bound by 29 // Id's are bound by 30
Capability Shader Capability Shader
1: ExtInstImport "GLSL.std.450" 1: ExtInstImport "GLSL.std.450"
...@@ -88,33 +88,34 @@ gl_FragCoord origin is upper left ...@@ -88,33 +88,34 @@ gl_FragCoord origin is upper left
Name 4 "PixelShaderFunction" Name 4 "PixelShaderFunction"
Name 11 "ShaderFunction(vf4;" Name 11 "ShaderFunction(vf4;"
Name 10 "input" Name 10 "input"
Name 13 "AmbientColor" Name 14 "AmbientColor"
2: TypeVoid 2: TypeVoid
3: TypeFunction 2 3: TypeFunction 2
6: TypeFloat 32 6: TypeFloat 32
7: TypeVector 6(float) 4 7: TypeVector 6(float) 4
8: TypePointer Function 7(fvec4) 8: TypePointer Function 7(fvec4)
9: TypeFunction 7(fvec4) 8(ptr) 9: TypeFunction 7(fvec4) 8(ptr)
14: 6(float) Constant 1065353216 13: TypePointer Private 7(fvec4)
15: 6(float) Constant 1056964608 14(AmbientColor): 13(ptr) Variable Private
16: 6(float) Constant 0 15: 6(float) Constant 1065353216
17: 7(fvec4) ConstantComposite 14 15 16 14 16: 6(float) Constant 1056964608
20: TypeInt 32 0 17: 6(float) Constant 0
21: 20(int) Constant 2 18: 7(fvec4) ConstantComposite 15 16 17 15
22: TypePointer Function 6(float) 21: TypeInt 32 0
22: 21(int) Constant 2
23: TypePointer Private 6(float)
4(PixelShaderFunction): 2 Function None 3 4(PixelShaderFunction): 2 Function None 3
5: Label 5: Label
13(AmbientColor): 8(ptr) Variable Function Store 14(AmbientColor) 18
Store 13(AmbientColor) 17
FunctionEnd FunctionEnd
11(ShaderFunction(vf4;): 7(fvec4) Function None 9 11(ShaderFunction(vf4;): 7(fvec4) Function None 9
10(input): 8(ptr) FunctionParameter 10(input): 8(ptr) FunctionParameter
12: Label 12: Label
18: 7(fvec4) Load 10(input) 19: 7(fvec4) Load 10(input)
19: 7(fvec4) VectorShuffle 18 18 3 3 1 0 20: 7(fvec4) VectorShuffle 19 19 3 3 1 0
23: 22(ptr) AccessChain 13(AmbientColor) 21 24: 23(ptr) AccessChain 14(AmbientColor) 22
24: 6(float) Load 23 25: 6(float) Load 24
25: 7(fvec4) CompositeConstruct 24 24 24 24 26: 7(fvec4) CompositeConstruct 25 25 25 25
26: 7(fvec4) FMul 19 25 27: 7(fvec4) FMul 20 26
ReturnValue 26 ReturnValue 27
FunctionEnd FunctionEnd
...@@ -2,7 +2,7 @@ hlsl.templatetypes.frag ...@@ -2,7 +2,7 @@ hlsl.templatetypes.frag
Shader version: 450 Shader version: 450
gl_FragCoord origin is upper left gl_FragCoord origin is upper left
0:? Sequence 0:? Sequence
0:48 Function Definition: PixelShaderFunction( (temp float) 0:48 Function Definition: PixelShaderFunction( (global float)
0:3 Function Parameters: 0:3 Function Parameters:
0:? Sequence 0:? Sequence
0:4 Sequence 0:4 Sequence
...@@ -251,7 +251,7 @@ Linked fragment stage: ...@@ -251,7 +251,7 @@ Linked fragment stage:
Shader version: 450 Shader version: 450
gl_FragCoord origin is upper left gl_FragCoord origin is upper left
0:? Sequence 0:? Sequence
0:48 Function Definition: PixelShaderFunction( (temp float) 0:48 Function Definition: PixelShaderFunction( (global float)
0:3 Function Parameters: 0:3 Function Parameters:
0:? Sequence 0:? Sequence
0:4 Sequence 0:4 Sequence
......
...@@ -2,16 +2,16 @@ hlsl.void.frag ...@@ -2,16 +2,16 @@ hlsl.void.frag
Shader version: 450 Shader version: 450
gl_FragCoord origin is upper left gl_FragCoord origin is upper left
0:? Sequence 0:? Sequence
0:2 Function Definition: foo1( (temp void) 0:2 Function Definition: foo1( (global void)
0:1 Function Parameters: 0:1 Function Parameters:
0:4 Function Definition: foo2( (temp void) 0:4 Function Definition: foo2( (global void)
0:2 Function Parameters: 0:2 Function Parameters:
0:8 Function Definition: PixelShaderFunction(vf4; (temp 4-component vector of float) 0:8 Function Definition: PixelShaderFunction(vf4; (global 4-component vector of float)
0:5 Function Parameters: 0:5 Function Parameters:
0:5 'input' (in 4-component vector of float) 0:5 'input' (in 4-component vector of float)
0:? Sequence 0:? Sequence
0:6 Function Call: foo1( (temp void) 0:6 Function Call: foo1( (global void)
0:7 Function Call: foo2( (temp void) 0:7 Function Call: foo2( (global void)
0:? Linker Objects 0:? Linker Objects
...@@ -21,16 +21,16 @@ Linked fragment stage: ...@@ -21,16 +21,16 @@ Linked fragment stage:
Shader version: 450 Shader version: 450
gl_FragCoord origin is upper left gl_FragCoord origin is upper left
0:? Sequence 0:? Sequence
0:2 Function Definition: foo1( (temp void) 0:2 Function Definition: foo1( (global void)
0:1 Function Parameters: 0:1 Function Parameters:
0:4 Function Definition: foo2( (temp void) 0:4 Function Definition: foo2( (global void)
0:2 Function Parameters: 0:2 Function Parameters:
0:8 Function Definition: PixelShaderFunction(vf4; (temp 4-component vector of float) 0:8 Function Definition: PixelShaderFunction(vf4; (global 4-component vector of float)
0:5 Function Parameters: 0:5 Function Parameters:
0:5 'input' (in 4-component vector of float) 0:5 'input' (in 4-component vector of float)
0:? Sequence 0:? Sequence
0:6 Function Call: foo1( (temp void) 0:6 Function Call: foo1( (global void)
0:7 Function Call: foo2( (temp void) 0:7 Function Call: foo2( (global void)
0:? Linker Objects 0:? Linker Objects
// Module Version 10000 // Module Version 10000
......
...@@ -2,7 +2,7 @@ hlsl.whileLoop.frag ...@@ -2,7 +2,7 @@ hlsl.whileLoop.frag
Shader version: 450 Shader version: 450
gl_FragCoord origin is upper left gl_FragCoord origin is upper left
0:? Sequence 0:? Sequence
0:8 Function Definition: PixelShaderFunction(vf4; (temp 4-component vector of float) 0:8 Function Definition: PixelShaderFunction(vf4; (global 4-component vector of float)
0:2 Function Parameters: 0:2 Function Parameters:
0:2 'input' (in 4-component vector of float) 0:2 'input' (in 4-component vector of float)
0:? Sequence 0:? Sequence
...@@ -39,7 +39,7 @@ Linked fragment stage: ...@@ -39,7 +39,7 @@ Linked fragment stage:
Shader version: 450 Shader version: 450
gl_FragCoord origin is upper left gl_FragCoord origin is upper left
0:? Sequence 0:? Sequence
0:8 Function Definition: PixelShaderFunction(vf4; (temp 4-component vector of float) 0:8 Function Definition: PixelShaderFunction(vf4; (global 4-component vector of float)
0:2 Function Parameters: 0:2 Function Parameters:
0:2 'input' (in 4-component vector of float) 0:2 'input' (in 4-component vector of float)
0:? Sequence 0:? Sequence
......
...@@ -134,6 +134,8 @@ bool HlslGrammar::acceptDeclaration(TIntermNode*& node) ...@@ -134,6 +134,8 @@ bool HlslGrammar::acceptDeclaration(TIntermNode*& node)
TType type; TType type;
if (! acceptFullySpecifiedType(type)) if (! acceptFullySpecifiedType(type))
return false; return false;
if (type.getQualifier().storage == EvqTemporary && parseContext.symbolTable.atGlobalLevel())
type.getQualifier().storage = EvqGlobal;
// identifier // identifier
HlslToken idToken; HlslToken idToken;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment