HLSL: Correctly identify which variables are global storage class.

This commit is contained in:
John Kessenich
2016-07-01 19:35:53 -06:00
parent 532543c1c4
commit b0a63f578a
35 changed files with 995 additions and 979 deletions

View File

@@ -2,7 +2,7 @@ hlsl.array.frag
Shader version: 450
gl_FragCoord origin is upper left
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 'i' (in int)
0:8 'input' (in 3-element array of 4-component vector of float)
@@ -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 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 1 (const int)
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 add (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
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 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 Constant:
0:10 0 (const int)
0:10 'i' (in int)
0:? Linker Objects
0:? 'a' (temp 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:? 'a' (global 4-element array of 4-component vector of float)
0:? 's' (global 11-element array of structure{temp 7-element array of 4-component vector of float m})
Linked fragment stage:
@@ -54,7 +54,7 @@ Linked fragment stage:
Shader version: 450
gl_FragCoord origin is upper left
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 'i' (in int)
0:8 'input' (in 3-element array of 4-component vector of float)
@@ -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 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 1 (const int)
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 add (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
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 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 Constant:
0:10 0 (const int)
0:10 'i' (in int)
0:? Linker Objects
0:? 'a' (temp 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:? 'a' (global 4-element array of 4-component vector of float)
0:? 's' (global 11-element array of structure{temp 7-element array of 4-component vector of float m})
// Module Version 10000
// Generated by (magic number): 80001
// Id's are bound by 63
// Id's are bound by 64
Capability Shader
1: ExtInstImport "GLSL.std.450"
@@ -114,9 +114,9 @@ gl_FragCoord origin is upper left
Name 19 "i"
Name 27 "input"
Name 40 "b"
Name 50 ""
MemberName 50 0 "m"
Name 54 "s"
Name 51 ""
MemberName 51 0 "m"
Name 55 "s"
2: TypeVoid
3: TypeFunction 2
6: TypeFloat 32
@@ -124,10 +124,11 @@ gl_FragCoord origin is upper left
8: TypeInt 32 0
9: 8(int) Constant 4
10: TypeArray 7(fvec4) 9
11: TypePointer Function 10
11: TypePointer Private 10
12(a): 11(ptr) Variable Private
13: TypeInt 32 1
14: 13(int) Constant 1
15: TypePointer Function 7(fvec4)
15: TypePointer Private 7(fvec4)
18: TypePointer Input 13(int)
19(i): 18(ptr) Variable Input
24: 8(int) Constant 3
@@ -140,18 +141,18 @@ gl_FragCoord origin is upper left
38: TypeArray 7(fvec4) 37
39: TypePointer Function 38
41: 13(int) Constant 5
48: 8(int) Constant 7
49: TypeArray 7(fvec4) 48
50: TypeStruct 49
51: 8(int) Constant 11
52: TypeArray 50(struct) 51
53: TypePointer Function 52
56: 13(int) Constant 0
42: TypePointer Function 7(fvec4)
49: 8(int) Constant 7
50: TypeArray 7(fvec4) 49
51: TypeStruct 50
52: 8(int) Constant 11
53: TypeArray 51(struct) 52
54: TypePointer Private 53
55(s): 54(ptr) Variable Private
57: 13(int) Constant 0
4(PixelShaderFunction): 2 Function None 3
5: Label
12(a): 11(ptr) Variable Function
40(b): 39(ptr) Variable Function
54(s): 53(ptr) Variable Function
16: 15(ptr) AccessChain 12(a) 14
17: 7(fvec4) Load 16
20: 13(int) Load 19(i)
@@ -165,17 +166,17 @@ gl_FragCoord origin is upper left
34: 7(fvec4) Load 33
35: 7(fvec4) FAdd 31 34
36: 7(fvec4) FAdd 23 35
42: 15(ptr) AccessChain 40(b) 41
43: 7(fvec4) Load 42
44: 13(int) Load 19(i)
45: 15(ptr) AccessChain 40(b) 44
46: 7(fvec4) Load 45
47: 7(fvec4) FAdd 43 46
55: 13(int) Load 19(i)
57: 13(int) Load 19(i)
58: 15(ptr) AccessChain 54(s) 55 56 57
59: 7(fvec4) Load 58
60: 7(fvec4) FAdd 47 59
61: 7(fvec4) FAdd 36 60
ReturnValue 61
43: 42(ptr) AccessChain 40(b) 41
44: 7(fvec4) Load 43
45: 13(int) Load 19(i)
46: 42(ptr) AccessChain 40(b) 45
47: 7(fvec4) Load 46
48: 7(fvec4) FAdd 44 47
56: 13(int) Load 19(i)
58: 13(int) Load 19(i)
59: 15(ptr) AccessChain 55(s) 56 57 58
60: 7(fvec4) Load 59
61: 7(fvec4) FAdd 48 60
62: 7(fvec4) FAdd 36 61
ReturnValue 62
FunctionEnd

View File

@@ -2,7 +2,7 @@ hlsl.assoc.frag
Shader version: 450
gl_FragCoord origin is upper left
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 'a1' (in 4-component vector of float)
0:8 'a2' (in 4-component vector of float)
@@ -38,7 +38,7 @@ Linked fragment stage:
Shader version: 450
gl_FragCoord origin is upper left
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 'a1' (in 4-component vector of float)
0:8 'a2' (in 4-component vector of float)

View File

@@ -2,7 +2,7 @@ hlsl.attribute.frag
Shader version: 450
gl_FragCoord origin is upper left
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 'input' (in 4-component vector of float)
0:? Sequence
@@ -20,7 +20,7 @@ Linked fragment stage:
Shader version: 450
gl_FragCoord origin is upper left
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 'input' (in 4-component vector of float)
0:? Sequence

View File

@@ -2,7 +2,7 @@ hlsl.cast.frag
Shader version: 450
gl_FragCoord origin is upper left
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 'input' (in 4-component vector of float)
0:? Sequence
@@ -28,7 +28,7 @@ Linked fragment stage:
Shader version: 450
gl_FragCoord origin is upper left
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 'input' (in 4-component vector of float)
0:? Sequence

View File

@@ -2,7 +2,7 @@ hlsl.discard.frag
Shader version: 450
gl_FragCoord origin is upper left
0:? Sequence
0:7 Function Definition: foo(f1; (temp void)
0:7 Function Definition: foo(f1; (global void)
0:2 Function Parameters:
0:2 'f' (in float)
0:? Sequence
@@ -14,11 +14,11 @@ gl_FragCoord origin is upper left
0:3 1.000000
0:3 true case
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 'input' (in 4-component vector of float)
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 'input' (in 4-component vector of float)
0:9 Constant:
@@ -48,7 +48,7 @@ Linked fragment stage:
Shader version: 450
gl_FragCoord origin is upper left
0:? Sequence
0:7 Function Definition: foo(f1; (temp void)
0:7 Function Definition: foo(f1; (global void)
0:2 Function Parameters:
0:2 'f' (in float)
0:? Sequence
@@ -60,11 +60,11 @@ gl_FragCoord origin is upper left
0:3 1.000000
0:3 true case
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 'input' (in 4-component vector of float)
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 'input' (in 4-component vector of float)
0:9 Constant:

View File

@@ -2,7 +2,7 @@ hlsl.doLoop.frag
Shader version: 450
gl_FragCoord origin is upper left
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 'input' (in 4-component vector of float)
0:? Sequence
@@ -33,7 +33,7 @@ Linked fragment stage:
Shader version: 450
gl_FragCoord origin is upper left
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 'input' (in 4-component vector of float)
0:? Sequence

View File

@@ -4,15 +4,15 @@ gl_FragCoord origin is upper left
0:? Sequence
0:1 Sequence
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 1.000000
0:2 Sequence
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 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 'inFloat1' (in 1-component vector of float)
0:5 'inScalar' (in float)
@@ -20,14 +20,14 @@ gl_FragCoord origin is upper left
0:6 Branch: Return with expression
0:6 add (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 'scalar' (temp float)
0:6 'f1' (global 1-component vector of float)
0:6 'scalar' (global float)
0:6 vector-scale (temp 1-component vector of float)
0:6 'inFloat1' (in 1-component vector of float)
0:6 'inScalar' (in float)
0:? Linker Objects
0:? 'f1' (temp 1-component vector of float)
0:? 'scalar' (temp float)
0:? 'f1' (global 1-component vector of float)
0:? 'scalar' (global float)
Linked fragment stage:
@@ -38,15 +38,15 @@ gl_FragCoord origin is upper left
0:? Sequence
0:1 Sequence
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 1.000000
0:2 Sequence
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 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 'inFloat1' (in 1-component vector of float)
0:5 'inScalar' (in float)
@@ -54,18 +54,18 @@ gl_FragCoord origin is upper left
0:6 Branch: Return with expression
0:6 add (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 'scalar' (temp float)
0:6 'f1' (global 1-component vector of float)
0:6 'scalar' (global float)
0:6 vector-scale (temp 1-component vector of float)
0:6 'inFloat1' (in 1-component vector of float)
0:6 'inScalar' (in float)
0:? Linker Objects
0:? 'f1' (temp 1-component vector of float)
0:? 'scalar' (temp float)
0:? 'f1' (global 1-component vector of float)
0:? 'scalar' (global float)
// Module Version 10000
// Generated by (magic number): 80001
// Id's are bound by 26
// Id's are bound by 27
Capability Shader
1: ExtInstImport "GLSL.std.450"
@@ -77,32 +77,33 @@ gl_FragCoord origin is upper left
Name 11 "ShaderFunction(vf1;f1;"
Name 9 "inFloat1"
Name 10 "inScalar"
Name 13 "f1"
Name 15 "scalar"
Name 14 "f1"
Name 16 "scalar"
2: TypeVoid
3: TypeFunction 2
6: TypeFloat 32
7: TypePointer Function 6(float)
8: TypeFunction 6(float) 7(ptr) 7(ptr)
14: 6(float) Constant 1065353216
16: 6(float) Constant 1073741824
13: TypePointer Private 6(float)
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
5: Label
13(f1): 7(ptr) Variable Function
15(scalar): 7(ptr) Variable Function
Store 13(f1) 14
Store 15(scalar) 16
Store 14(f1) 15
Store 16(scalar) 17
FunctionEnd
11(ShaderFunction(vf1;f1;): 6(float) Function None 8
9(inFloat1): 7(ptr) FunctionParameter
10(inScalar): 7(ptr) FunctionParameter
12: Label
17: 6(float) Load 13(f1)
18: 6(float) Load 15(scalar)
19: 6(float) IMul 17 18
20: 6(float) Load 9(inFloat1)
21: 6(float) Load 10(inScalar)
22: 6(float) IMul 20 21
23: 6(float) FAdd 19 22
ReturnValue 23
18: 6(float) Load 14(f1)
19: 6(float) Load 16(scalar)
20: 6(float) IMul 18 19
21: 6(float) Load 9(inFloat1)
22: 6(float) Load 10(inScalar)
23: 6(float) IMul 21 22
24: 6(float) FAdd 20 23
ReturnValue 24
FunctionEnd

View File

@@ -4,26 +4,26 @@ gl_FragCoord origin is upper left
0:? Sequence
0:1 Sequence
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:? 1.000000
0:? 0.500000
0:? 0.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 'input' (in 4-component vector of float)
0:? Sequence
0:10 Branch: Return with expression
0:10 component-wise multiply (temp 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:? 'AmbientColor' (temp 4-component vector of float)
0:? 'ff1' (temp bool Face)
0:? 'ff2' (temp 4-component vector of float)
0:? 'ff3' (temp 4-component vector of float)
0:? 'ff4' (temp 4-component vector of float FragCoord)
0:? 'AmbientColor' (global 4-component vector of float)
0:? 'ff1' (global bool Face)
0:? 'ff2' (global 4-component vector of float)
0:? 'ff3' (global 4-component vector of float)
0:? 'ff4' (global 4-component vector of float FragCoord)
Linked fragment stage:
@@ -34,30 +34,30 @@ gl_FragCoord origin is upper left
0:? Sequence
0:1 Sequence
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:? 1.000000
0:? 0.500000
0:? 0.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 'input' (in 4-component vector of float)
0:? Sequence
0:10 Branch: Return with expression
0:10 component-wise multiply (temp 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:? 'AmbientColor' (temp 4-component vector of float)
0:? 'ff1' (temp bool Face)
0:? 'ff2' (temp 4-component vector of float)
0:? 'ff3' (temp 4-component vector of float)
0:? 'ff4' (temp 4-component vector of float FragCoord)
0:? 'AmbientColor' (global 4-component vector of float)
0:? 'ff1' (global bool Face)
0:? 'ff2' (global 4-component vector of float)
0:? 'ff3' (global 4-component vector of float)
0:? 'ff4' (global 4-component vector of float FragCoord)
// Module Version 10000
// Generated by (magic number): 80001
// Id's are bound by 29
// Id's are bound by 30
Capability Shader
1: ExtInstImport "GLSL.std.450"
@@ -68,39 +68,40 @@ gl_FragCoord origin is upper left
Name 4 "PixelShaderFunction"
Name 11 "ShaderFunction(vf4;"
Name 10 "input"
Name 13 "AmbientColor"
Name 25 "ff1"
Name 26 "ff2"
Name 27 "ff3"
Name 28 "ff4"
Decorate 25(ff1) BuiltIn FrontFacing
Decorate 28(ff4) BuiltIn FragCoord
Name 14 "AmbientColor"
Name 26 "ff1"
Name 27 "ff2"
Name 28 "ff3"
Name 29 "ff4"
Decorate 26(ff1) BuiltIn FrontFacing
Decorate 29(ff4) BuiltIn FragCoord
2: TypeVoid
3: TypeFunction 2
6: TypeFloat 32
7: TypeVector 6(float) 4
8: TypePointer Function 7(fvec4)
9: TypeFunction 7(fvec4) 8(ptr)
14: 6(float) Constant 1065353216
15: 6(float) Constant 1056964608
16: 6(float) Constant 0
17: 7(fvec4) ConstantComposite 14 15 16 14
23: TypeBool
24: TypePointer Function 23(bool)
13: TypePointer Private 7(fvec4)
14(AmbientColor): 13(ptr) Variable Private
15: 6(float) Constant 1065353216
16: 6(float) Constant 1056964608
17: 6(float) Constant 0
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
5: Label
13(AmbientColor): 8(ptr) Variable Function
Store 13(AmbientColor) 17
Store 14(AmbientColor) 18
FunctionEnd
11(ShaderFunction(vf4;): 7(fvec4) Function None 9
10(input): 8(ptr) FunctionParameter
12: Label
25(ff1): 24(ptr) Variable Function
26(ff2): 8(ptr) Variable Function
27(ff3): 8(ptr) Variable Function
28(ff4): 8(ptr) Variable Function
18: 7(fvec4) Load 10(input)
19: 7(fvec4) Load 13(AmbientColor)
20: 7(fvec4) FMul 18 19
ReturnValue 20
19: 7(fvec4) Load 10(input)
20: 7(fvec4) Load 14(AmbientColor)
21: 7(fvec4) FMul 19 20
ReturnValue 21
FunctionEnd

View File

@@ -2,7 +2,7 @@ hlsl.forLoop.frag
Shader version: 450
gl_FragCoord origin is upper left
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 'input' (in 4-component vector of float)
0:? Sequence
@@ -116,7 +116,7 @@ Linked fragment stage:
Shader version: 450
gl_FragCoord origin is upper left
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 'input' (in 4-component vector of float)
0:? Sequence

View File

@@ -2,7 +2,7 @@ hlsl.if.frag
Shader version: 450
gl_FragCoord origin is upper left
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 'input' (in 4-component vector of float)
0:? Sequence
@@ -83,7 +83,7 @@ Linked fragment stage:
Shader version: 450
gl_FragCoord origin is upper left
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 'input' (in 4-component vector of float)
0:? Sequence

View File

@@ -4,14 +4,14 @@ gl_FragCoord origin is upper left
0:? Sequence
0:1 Sequence
0:1 move second child to first child (temp 4-component vector of float)
0:1 'a1' (temp 4-component vector of float)
0:1 'a1' (global 4-component vector of float)
0:? Constant:
0:? 1.000000
0:? 0.500000
0:? 0.000000
0:? 1.000000
0:1 move second child to first child (temp 4-component vector of float)
0:1 'b1' (temp 4-component vector of float)
0:1 'b1' (global 4-component vector of float)
0:? Constant:
0:? 2.000000
0:? 2.500000
@@ -19,29 +19,29 @@ gl_FragCoord origin is upper left
0:? 2.200000
0:2 Sequence
0:2 move second child to first child (temp float)
0:2 'a2' (temp float)
0:2 'a2' (global float)
0:2 Constant:
0:2 0.200000
0:? Sequence
0:3 move second child to first child (temp float)
0:3 'b3' (temp float)
0:3 'b3' (global float)
0:3 Constant:
0:3 0.300000
0:? Sequence
0:4 move second child to first child (temp float)
0:4 'b4' (temp float)
0:4 'b4' (global float)
0:4 Constant:
0:4 0.400000
0:5 Sequence
0:5 move second child to first child (temp float)
0:5 'a5' (temp float)
0:5 'a5' (global float)
0:5 Constant:
0:5 0.500000
0:5 move second child to first child (temp float)
0:5 'c5' (temp float)
0:5 'c5' (global float)
0:5 Constant:
0:5 1.500000
0:13 Function Definition: ShaderFunction(vf4; (temp 4-component vector of float)
0:13 Function Definition: ShaderFunction(vf4; (global 4-component vector of float)
0:8 Function Parameters:
0:8 'input' (in 4-component vector of float)
0:? Sequence
@@ -56,20 +56,20 @@ gl_FragCoord origin is upper left
0:11 Branch: Return with expression
0:11 component-wise multiply (temp 4-component vector of float)
0:11 'input' (in 4-component vector of float)
0:11 'a1' (temp 4-component vector of float)
0:11 'a1' (global 4-component vector of float)
0:? Linker Objects
0:? 'a1' (temp 4-component vector of float)
0:? 'b1' (temp 4-component vector of float)
0:? 'a2' (temp float)
0:? 'b2' (temp float)
0:? 'a3' (temp float)
0:? 'b3' (temp float)
0:? 'a4' (temp float)
0:? 'b4' (temp float)
0:? 'c4' (temp float)
0:? 'a5' (temp float)
0:? 'b5' (temp float)
0:? 'c5' (temp float)
0:? 'a1' (global 4-component vector of float)
0:? 'b1' (global 4-component vector of float)
0:? 'a2' (global float)
0:? 'b2' (global float)
0:? 'a3' (global float)
0:? 'b3' (global float)
0:? 'a4' (global float)
0:? 'b4' (global float)
0:? 'c4' (global float)
0:? 'a5' (global float)
0:? 'b5' (global float)
0:? 'c5' (global float)
Linked fragment stage:
@@ -80,14 +80,14 @@ gl_FragCoord origin is upper left
0:? Sequence
0:1 Sequence
0:1 move second child to first child (temp 4-component vector of float)
0:1 'a1' (temp 4-component vector of float)
0:1 'a1' (global 4-component vector of float)
0:? Constant:
0:? 1.000000
0:? 0.500000
0:? 0.000000
0:? 1.000000
0:1 move second child to first child (temp 4-component vector of float)
0:1 'b1' (temp 4-component vector of float)
0:1 'b1' (global 4-component vector of float)
0:? Constant:
0:? 2.000000
0:? 2.500000
@@ -95,29 +95,29 @@ gl_FragCoord origin is upper left
0:? 2.200000
0:2 Sequence
0:2 move second child to first child (temp float)
0:2 'a2' (temp float)
0:2 'a2' (global float)
0:2 Constant:
0:2 0.200000
0:? Sequence
0:3 move second child to first child (temp float)
0:3 'b3' (temp float)
0:3 'b3' (global float)
0:3 Constant:
0:3 0.300000
0:? Sequence
0:4 move second child to first child (temp float)
0:4 'b4' (temp float)
0:4 'b4' (global float)
0:4 Constant:
0:4 0.400000
0:5 Sequence
0:5 move second child to first child (temp float)
0:5 'a5' (temp float)
0:5 'a5' (global float)
0:5 Constant:
0:5 0.500000
0:5 move second child to first child (temp float)
0:5 'c5' (temp float)
0:5 'c5' (global float)
0:5 Constant:
0:5 1.500000
0:13 Function Definition: ShaderFunction(vf4; (temp 4-component vector of float)
0:13 Function Definition: ShaderFunction(vf4; (global 4-component vector of float)
0:8 Function Parameters:
0:8 'input' (in 4-component vector of float)
0:? Sequence
@@ -132,29 +132,29 @@ gl_FragCoord origin is upper left
0:11 Branch: Return with expression
0:11 component-wise multiply (temp 4-component vector of float)
0:11 'input' (in 4-component vector of float)
0:11 'a1' (temp 4-component vector of float)
0:11 'a1' (global 4-component vector of float)
0:? Linker Objects
0:? 'a1' (temp 4-component vector of float)
0:? 'b1' (temp 4-component vector of float)
0:? 'a2' (temp float)
0:? 'b2' (temp float)
0:? 'a3' (temp float)
0:? 'b3' (temp float)
0:? 'a4' (temp float)
0:? 'b4' (temp float)
0:? 'c4' (temp float)
0:? 'a5' (temp float)
0:? 'b5' (temp float)
0:? 'c5' (temp float)
0:? 'a1' (global 4-component vector of float)
0:? 'b1' (global 4-component vector of float)
0:? 'a2' (global float)
0:? 'b2' (global float)
0:? 'a3' (global float)
0:? 'b3' (global float)
0:? 'a4' (global float)
0:? 'b4' (global float)
0:? 'c4' (global float)
0:? 'a5' (global float)
0:? 'b5' (global float)
0:? 'c5' (global float)
// Module Version 10000
// Generated by (magic number): 80001
// Id's are bound by 43
// Id's are bound by 44
Capability Shader
1: ExtInstImport "GLSL.std.450"
MemoryModel Logical GLSL450
EntryPoint Fragment 4 "ShaderFunction" 33
EntryPoint Fragment 4 "ShaderFunction" 34
ExecutionMode 4 OriginUpperLeft
Source HLSL 450
Name 4 "ShaderFunction"
@@ -165,50 +165,51 @@ gl_FragCoord origin is upper left
Name 25 "b4"
Name 27 "a5"
Name 28 "c5"
Name 30 "a2"
Name 33 "input"
Name 38 "b2"
Name 39 "a3"
Name 40 "a4"
Name 41 "c4"
Name 42 "b5"
Name 31 "a2"
Name 34 "input"
Name 39 "b2"
Name 40 "a3"
Name 41 "a4"
Name 42 "c4"
Name 43 "b5"
2: TypeVoid
3: TypeFunction 2
6: TypeFloat 32
7: TypeVector 6(float) 4
8: TypePointer Function 7(fvec4)
8: TypePointer Private 7(fvec4)
9(a1): 8(ptr) Variable Private
10: 6(float) Constant 1065353216
11: 6(float) Constant 1056964608
12: 6(float) Constant 0
13: 7(fvec4) ConstantComposite 10 11 12 10
14(b1): 8(ptr) Variable Private
15: 6(float) Constant 1073741824
16: 6(float) Constant 1075838976
17: 6(float) Constant 1074161254
18: 6(float) Constant 1074580685
19: 7(fvec4) ConstantComposite 15 16 17 18
20: TypePointer Function 6(float)
20: TypePointer Private 6(float)
21(a2): 20(ptr) Variable Private
22: 6(float) Constant 1045220557
23(b3): 20(ptr) Variable Private
24: 6(float) Constant 1050253722
25(b4): 20(ptr) Variable Private
26: 6(float) Constant 1053609165
27(a5): 20(ptr) Variable Private
28(c5): 20(ptr) Variable Private
29: 6(float) Constant 1069547520
31: 7(fvec4) ConstantComposite 22 24 26 11
32: TypePointer Input 7(fvec4)
33(input): 32(ptr) Variable Input
30: TypePointer Function 7(fvec4)
32: 7(fvec4) ConstantComposite 22 24 26 11
33: TypePointer Input 7(fvec4)
34(input): 33(ptr) Variable Input
39(b2): 20(ptr) Variable Private
40(a3): 20(ptr) Variable Private
41(a4): 20(ptr) Variable Private
42(c4): 20(ptr) Variable Private
43(b5): 20(ptr) Variable Private
4(ShaderFunction): 2 Function None 3
5: Label
9(a1): 8(ptr) Variable Function
14(b1): 8(ptr) Variable Function
21(a2): 20(ptr) Variable Function
23(b3): 20(ptr) Variable Function
25(b4): 20(ptr) Variable Function
27(a5): 20(ptr) Variable Function
28(c5): 20(ptr) Variable Function
30(a2): 8(ptr) Variable Function
38(b2): 20(ptr) Variable Function
39(a3): 20(ptr) Variable Function
40(a4): 20(ptr) Variable Function
41(c4): 20(ptr) Variable Function
42(b5): 20(ptr) Variable Function
31(a2): 30(ptr) Variable Function
Store 9(a1) 13
Store 14(b1) 19
Store 21(a2) 22
@@ -216,9 +217,9 @@ gl_FragCoord origin is upper left
Store 25(b4) 26
Store 27(a5) 11
Store 28(c5) 29
Store 30(a2) 31
34: 7(fvec4) Load 33(input)
35: 7(fvec4) Load 9(a1)
36: 7(fvec4) FMul 34 35
ReturnValue 36
Store 31(a2) 32
35: 7(fvec4) Load 34(input)
36: 7(fvec4) Load 9(a1)
37: 7(fvec4) FMul 35 36
ReturnValue 37
FunctionEnd

View File

@@ -2,7 +2,7 @@ hlsl.intrinsics.barriers.comp
Shader version: 450
local_size = (1, 1, 1)
0:? Sequence
0:14 Function Definition: ComputeShaderFunction( (temp float)
0:14 Function Definition: ComputeShaderFunction( (global float)
0:3 Function Parameters:
0:? Sequence
0:4 MemoryBarrier (global void)
@@ -23,7 +23,7 @@ Linked compute stage:
Shader version: 450
local_size = (1, 1, 1)
0:? Sequence
0:14 Function Definition: ComputeShaderFunction( (temp float)
0:14 Function Definition: ComputeShaderFunction( (global float)
0:3 Function Parameters:
0:? Sequence
0:4 MemoryBarrier (global void)

File diff suppressed because it is too large Load Diff

View File

@@ -2,7 +2,7 @@ hlsl.intrinsics.double.frag
Shader version: 450
gl_FragCoord origin is upper left
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 'inDV1a' (in double)
0:5 'inDV1b' (in double)
@@ -39,7 +39,7 @@ Linked fragment stage:
Shader version: 450
gl_FragCoord origin is upper left
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 'inDV1a' (in double)
0:5 'inDV1b' (in double)

View File

@@ -2,7 +2,7 @@ hlsl.intrinsics.evalfns.frag
Shader version: 450
gl_FragCoord origin is upper left
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 'inF1' (in float)
0:3 'inF2' (in 2-component vector of float)
@@ -52,7 +52,7 @@ Linked fragment stage:
Shader version: 450
gl_FragCoord origin is upper left
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 'inF1' (in float)
0:3 'inF2' (in 2-component vector of float)

View File

@@ -9,7 +9,7 @@ ERROR: 4 compilation errors. No code generated.
Shader version: 450
gl_FragCoord origin is upper left
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 'inF0' (in float)
0:? Sequence
@@ -19,14 +19,14 @@ ERROR: node is still EOpNull!
0:5 Branch: Return with expression
0:5 Constant:
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 'inF0' (in 1-component vector of float)
0:? Sequence
0:11 Branch: Return with expression
0:11 Constant:
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 'inF0' (in 2-component vector of float)
0:? Sequence
@@ -37,7 +37,7 @@ ERROR: node is still EOpNull!
0:? Constant:
0:? 1.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 'inF0' (in 3-component vector of float)
0:? Sequence
@@ -49,7 +49,7 @@ ERROR: node is still EOpNull!
0:? 1.000000
0:? 2.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 'inF0' (in 4-component vector of float)
0:? Sequence
@@ -71,7 +71,7 @@ Linked fragment stage:
Shader version: 450
gl_FragCoord origin is upper left
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 'inF0' (in float)
0:? Sequence
@@ -81,14 +81,14 @@ ERROR: node is still EOpNull!
0:5 Branch: Return with expression
0:5 Constant:
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 'inF0' (in 1-component vector of float)
0:? Sequence
0:11 Branch: Return with expression
0:11 Constant:
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 'inF0' (in 2-component vector of float)
0:? Sequence
@@ -99,7 +99,7 @@ ERROR: node is still EOpNull!
0:? Constant:
0:? 1.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 'inF0' (in 3-component vector of float)
0:? Sequence
@@ -111,7 +111,7 @@ ERROR: node is still EOpNull!
0:? 1.000000
0:? 2.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 'inF0' (in 4-component vector of float)
0:? Sequence

View File

@@ -2,7 +2,7 @@ hlsl.intrinsics.frag
Shader version: 450
gl_FragCoord origin is upper left
0:? Sequence
0:88 Function Definition: PixelShaderFunctionS(f1;f1;f1;u1;u1; (temp float)
0:88 Function Definition: PixelShaderFunctionS(f1;f1;f1;u1;u1; (global float)
0:17 Function Parameters:
0:17 'inF0' (in float)
0:17 'inF1' (in float)
@@ -339,7 +339,7 @@ gl_FragCoord origin is upper left
0:85 Branch: Return with expression
0:85 Constant:
0:85 0.000000
0:94 Function Definition: PixelShaderFunction1(vf1;vf1;vf1; (temp 1-component vector of float)
0:94 Function Definition: PixelShaderFunction1(vf1;vf1;vf1; (global 1-component vector of float)
0:89 Function Parameters:
0:89 'inF0' (in 1-component vector of float)
0:89 'inF1' (in 1-component vector of float)
@@ -348,7 +348,7 @@ gl_FragCoord origin is upper left
0:91 Branch: Return with expression
0:91 Constant:
0:91 0.000000
0:177 Function Definition: PixelShaderFunction2(vf2;vf2;vf2;vu2;vu2; (temp 2-component vector of float)
0:177 Function Definition: PixelShaderFunction2(vf2;vf2;vf2;vu2;vu2; (global 2-component vector of float)
0:95 Function Parameters:
0:95 'inF0' (in 2-component vector of float)
0:95 'inF1' (in 2-component vector of float)
@@ -733,7 +733,7 @@ gl_FragCoord origin is upper left
0:? Constant:
0:? 1.000000
0:? 2.000000
0:258 Function Definition: PixelShaderFunction3(vf3;vf3;vf3;vu3;vu3; (temp 3-component vector of float)
0:258 Function Definition: PixelShaderFunction3(vf3;vf3;vf3;vu3;vu3; (global 3-component vector of float)
0:178 Function Parameters:
0:178 'inF0' (in 3-component vector of float)
0:178 'inF1' (in 3-component vector of float)
@@ -1130,7 +1130,7 @@ gl_FragCoord origin is upper left
0:? 1.000000
0:? 2.000000
0:? 3.000000
0:399 Function Definition: PixelShaderFunction(vf4;vf4;vf4;vu4;vu4; (temp 4-component vector of float)
0:399 Function Definition: PixelShaderFunction(vf4;vf4;vf4;vu4;vu4; (global 4-component vector of float)
0:259 Function Parameters:
0:259 'inF0' (in 4-component vector of float)
0:259 'inF1' (in 4-component vector of float)
@@ -1550,7 +1550,7 @@ gl_FragCoord origin is upper left
0:? 2.000000
0:? 3.000000
0:? 4.000000
0:408 Function Definition: PixelShaderFunction2x2(mf22;mf22;mf22; (temp 2X2 matrix of float)
0:408 Function Definition: PixelShaderFunction2x2(mf22;mf22;mf22; (global 2X2 matrix of float)
0:400 Function Parameters:
0:400 'inF0' (in 2X2 matrix of float)
0:400 'inF1' (in 2X2 matrix of float)
@@ -1838,7 +1838,7 @@ gl_FragCoord origin is upper left
0:? 2.000000
0:? 2.000000
0:? 2.000000
0:417 Function Definition: PixelShaderFunction3x3(mf33;mf33;mf33; (temp 3X3 matrix of float)
0:417 Function Definition: PixelShaderFunction3x3(mf33;mf33;mf33; (global 3X3 matrix of float)
0:409 Function Parameters:
0:409 'inF0' (in 3X3 matrix of float)
0:409 'inF1' (in 3X3 matrix of float)
@@ -2136,7 +2136,7 @@ gl_FragCoord origin is upper left
0:? 3.000000
0:? 3.000000
0:? 3.000000
0:438 Function Definition: PixelShaderFunction4x4(mf44;mf44;mf44; (temp 4X4 matrix of float)
0:438 Function Definition: PixelShaderFunction4x4(mf44;mf44;mf44; (global 4X4 matrix of float)
0:418 Function Parameters:
0:418 'inF0' (in 4X4 matrix of float)
0:418 'inF1' (in 4X4 matrix of float)
@@ -2448,7 +2448,7 @@ gl_FragCoord origin is upper left
0:? 4.000000
0:? 4.000000
0:? 4.000000
0:445 Function Definition: TestGenMul2(f1;f1;vf2;vf2;mf22;mf22; (temp void)
0:445 Function Definition: TestGenMul2(f1;f1;vf2;vf2;mf22;mf22; (global void)
0:441 Function Parameters:
0:441 'inF0' (in float)
0:441 'inF1' (in float)
@@ -2511,7 +2511,7 @@ gl_FragCoord origin is upper left
0:442 matrix-multiply (temp 2X2 matrix of float)
0:442 'inFM0' (in 2X2 matrix of float)
0:442 'inFM1' (in 2X2 matrix of float)
0:452 Function Definition: TestGenMul3(f1;f1;vf3;vf3;mf33;mf33; (temp void)
0:452 Function Definition: TestGenMul3(f1;f1;vf3;vf3;mf33;mf33; (global void)
0:448 Function Parameters:
0:448 'inF0' (in float)
0:448 'inF1' (in float)
@@ -2574,7 +2574,7 @@ gl_FragCoord origin is upper left
0:449 matrix-multiply (temp 3X3 matrix of float)
0:449 'inFM0' (in 3X3 matrix of float)
0:449 'inFM1' (in 3X3 matrix of float)
0:460 Function Definition: TestGenMul4(f1;f1;vf4;vf4;mf44;mf44; (temp void)
0:460 Function Definition: TestGenMul4(f1;f1;vf4;vf4;mf44;mf44; (global void)
0:455 Function Parameters:
0:455 'inF0' (in float)
0:455 'inF1' (in float)
@@ -2637,7 +2637,7 @@ gl_FragCoord origin is upper left
0:456 matrix-multiply (temp 4X4 matrix of float)
0:456 'inFM0' (in 4X4 matrix of float)
0:456 'inFM1' (in 4X4 matrix of float)
0:484 Function Definition: TestGenMulNxM(f1;f1;vf2;vf3;mf32;mf23;mf33;mf43;mf42; (temp void)
0:484 Function Definition: TestGenMulNxM(f1;f1;vf2;vf3;mf32;mf23;mf33;mf43;mf42; (global void)
0:465 Function Parameters:
0:465 'inF0' (in float)
0:465 'inF1' (in float)
@@ -2752,18 +2752,18 @@ gl_FragCoord origin is upper left
0:482 'inFM3x2' (in 2X3 matrix of float)
0:482 'inFM2x4' (in 4X2 matrix of float)
0:? Linker Objects
0:? 'gs_ua' (temp uint)
0:? 'gs_ub' (temp uint)
0:? 'gs_uc' (temp uint)
0:? 'gs_ua2' (temp 2-component vector of uint)
0:? 'gs_ub2' (temp 2-component vector of uint)
0:? 'gs_uc2' (temp 2-component vector of uint)
0:? 'gs_ua3' (temp 3-component vector of uint)
0:? 'gs_ub3' (temp 3-component vector of uint)
0:? 'gs_uc3' (temp 3-component vector of uint)
0:? 'gs_ua4' (temp 4-component vector of uint)
0:? 'gs_ub4' (temp 4-component vector of uint)
0:? 'gs_uc4' (temp 4-component vector of uint)
0:? 'gs_ua' (global uint)
0:? 'gs_ub' (global uint)
0:? 'gs_uc' (global uint)
0:? 'gs_ua2' (global 2-component vector of uint)
0:? 'gs_ub2' (global 2-component vector of uint)
0:? 'gs_uc2' (global 2-component vector of uint)
0:? 'gs_ua3' (global 3-component vector of uint)
0:? 'gs_ub3' (global 3-component vector of uint)
0:? 'gs_uc3' (global 3-component vector of uint)
0:? 'gs_ua4' (global 4-component vector of uint)
0:? 'gs_ub4' (global 4-component vector of uint)
0:? 'gs_uc4' (global 4-component vector of uint)
Linked fragment stage:
@@ -2772,7 +2772,7 @@ Linked fragment stage:
Shader version: 450
gl_FragCoord origin is upper left
0:? Sequence
0:88 Function Definition: PixelShaderFunctionS(f1;f1;f1;u1;u1; (temp float)
0:88 Function Definition: PixelShaderFunctionS(f1;f1;f1;u1;u1; (global float)
0:17 Function Parameters:
0:17 'inF0' (in float)
0:17 'inF1' (in float)
@@ -3109,7 +3109,7 @@ gl_FragCoord origin is upper left
0:85 Branch: Return with expression
0:85 Constant:
0:85 0.000000
0:94 Function Definition: PixelShaderFunction1(vf1;vf1;vf1; (temp 1-component vector of float)
0:94 Function Definition: PixelShaderFunction1(vf1;vf1;vf1; (global 1-component vector of float)
0:89 Function Parameters:
0:89 'inF0' (in 1-component vector of float)
0:89 'inF1' (in 1-component vector of float)
@@ -3118,7 +3118,7 @@ gl_FragCoord origin is upper left
0:91 Branch: Return with expression
0:91 Constant:
0:91 0.000000
0:177 Function Definition: PixelShaderFunction2(vf2;vf2;vf2;vu2;vu2; (temp 2-component vector of float)
0:177 Function Definition: PixelShaderFunction2(vf2;vf2;vf2;vu2;vu2; (global 2-component vector of float)
0:95 Function Parameters:
0:95 'inF0' (in 2-component vector of float)
0:95 'inF1' (in 2-component vector of float)
@@ -3503,7 +3503,7 @@ gl_FragCoord origin is upper left
0:? Constant:
0:? 1.000000
0:? 2.000000
0:258 Function Definition: PixelShaderFunction3(vf3;vf3;vf3;vu3;vu3; (temp 3-component vector of float)
0:258 Function Definition: PixelShaderFunction3(vf3;vf3;vf3;vu3;vu3; (global 3-component vector of float)
0:178 Function Parameters:
0:178 'inF0' (in 3-component vector of float)
0:178 'inF1' (in 3-component vector of float)
@@ -3900,7 +3900,7 @@ gl_FragCoord origin is upper left
0:? 1.000000
0:? 2.000000
0:? 3.000000
0:399 Function Definition: PixelShaderFunction(vf4;vf4;vf4;vu4;vu4; (temp 4-component vector of float)
0:399 Function Definition: PixelShaderFunction(vf4;vf4;vf4;vu4;vu4; (global 4-component vector of float)
0:259 Function Parameters:
0:259 'inF0' (in 4-component vector of float)
0:259 'inF1' (in 4-component vector of float)
@@ -4320,7 +4320,7 @@ gl_FragCoord origin is upper left
0:? 2.000000
0:? 3.000000
0:? 4.000000
0:408 Function Definition: PixelShaderFunction2x2(mf22;mf22;mf22; (temp 2X2 matrix of float)
0:408 Function Definition: PixelShaderFunction2x2(mf22;mf22;mf22; (global 2X2 matrix of float)
0:400 Function Parameters:
0:400 'inF0' (in 2X2 matrix of float)
0:400 'inF1' (in 2X2 matrix of float)
@@ -4608,7 +4608,7 @@ gl_FragCoord origin is upper left
0:? 2.000000
0:? 2.000000
0:? 2.000000
0:417 Function Definition: PixelShaderFunction3x3(mf33;mf33;mf33; (temp 3X3 matrix of float)
0:417 Function Definition: PixelShaderFunction3x3(mf33;mf33;mf33; (global 3X3 matrix of float)
0:409 Function Parameters:
0:409 'inF0' (in 3X3 matrix of float)
0:409 'inF1' (in 3X3 matrix of float)
@@ -4906,7 +4906,7 @@ gl_FragCoord origin is upper left
0:? 3.000000
0:? 3.000000
0:? 3.000000
0:438 Function Definition: PixelShaderFunction4x4(mf44;mf44;mf44; (temp 4X4 matrix of float)
0:438 Function Definition: PixelShaderFunction4x4(mf44;mf44;mf44; (global 4X4 matrix of float)
0:418 Function Parameters:
0:418 'inF0' (in 4X4 matrix of float)
0:418 'inF1' (in 4X4 matrix of float)
@@ -5218,7 +5218,7 @@ gl_FragCoord origin is upper left
0:? 4.000000
0:? 4.000000
0:? 4.000000
0:445 Function Definition: TestGenMul2(f1;f1;vf2;vf2;mf22;mf22; (temp void)
0:445 Function Definition: TestGenMul2(f1;f1;vf2;vf2;mf22;mf22; (global void)
0:441 Function Parameters:
0:441 'inF0' (in float)
0:441 'inF1' (in float)
@@ -5281,7 +5281,7 @@ gl_FragCoord origin is upper left
0:442 matrix-multiply (temp 2X2 matrix of float)
0:442 'inFM0' (in 2X2 matrix of float)
0:442 'inFM1' (in 2X2 matrix of float)
0:452 Function Definition: TestGenMul3(f1;f1;vf3;vf3;mf33;mf33; (temp void)
0:452 Function Definition: TestGenMul3(f1;f1;vf3;vf3;mf33;mf33; (global void)
0:448 Function Parameters:
0:448 'inF0' (in float)
0:448 'inF1' (in float)
@@ -5344,7 +5344,7 @@ gl_FragCoord origin is upper left
0:449 matrix-multiply (temp 3X3 matrix of float)
0:449 'inFM0' (in 3X3 matrix of float)
0:449 'inFM1' (in 3X3 matrix of float)
0:460 Function Definition: TestGenMul4(f1;f1;vf4;vf4;mf44;mf44; (temp void)
0:460 Function Definition: TestGenMul4(f1;f1;vf4;vf4;mf44;mf44; (global void)
0:455 Function Parameters:
0:455 'inF0' (in float)
0:455 'inF1' (in float)
@@ -5407,7 +5407,7 @@ gl_FragCoord origin is upper left
0:456 matrix-multiply (temp 4X4 matrix of float)
0:456 'inFM0' (in 4X4 matrix of float)
0:456 'inFM1' (in 4X4 matrix of float)
0:484 Function Definition: TestGenMulNxM(f1;f1;vf2;vf3;mf32;mf23;mf33;mf43;mf42; (temp void)
0:484 Function Definition: TestGenMulNxM(f1;f1;vf2;vf3;mf32;mf23;mf33;mf43;mf42; (global void)
0:465 Function Parameters:
0:465 'inF0' (in float)
0:465 'inF1' (in float)
@@ -5522,22 +5522,22 @@ gl_FragCoord origin is upper left
0:482 'inFM3x2' (in 2X3 matrix of float)
0:482 'inFM2x4' (in 4X2 matrix of float)
0:? Linker Objects
0:? 'gs_ua' (temp uint)
0:? 'gs_ub' (temp uint)
0:? 'gs_uc' (temp uint)
0:? 'gs_ua2' (temp 2-component vector of uint)
0:? 'gs_ub2' (temp 2-component vector of uint)
0:? 'gs_uc2' (temp 2-component vector of uint)
0:? 'gs_ua3' (temp 3-component vector of uint)
0:? 'gs_ub3' (temp 3-component vector of uint)
0:? 'gs_uc3' (temp 3-component vector of uint)
0:? 'gs_ua4' (temp 4-component vector of uint)
0:? 'gs_ub4' (temp 4-component vector of uint)
0:? 'gs_uc4' (temp 4-component vector of uint)
0:? 'gs_ua' (global uint)
0:? 'gs_ub' (global uint)
0:? 'gs_uc' (global uint)
0:? 'gs_ua2' (global 2-component vector of uint)
0:? 'gs_ub2' (global 2-component vector of uint)
0:? 'gs_uc2' (global 2-component vector of uint)
0:? 'gs_ua3' (global 3-component vector of uint)
0:? 'gs_ub3' (global 3-component vector of uint)
0:? 'gs_uc3' (global 3-component vector of uint)
0:? 'gs_ua4' (global 4-component vector of uint)
0:? 'gs_ub4' (global 4-component vector of uint)
0:? 'gs_uc4' (global 4-component vector of uint)
// Module Version 10000
// Generated by (magic number): 80001
// Id's are bound by 1802
// Id's are bound by 1806
Capability Shader
Capability DerivativeControl
@@ -6052,18 +6052,18 @@ gl_FragCoord origin is upper left
Name 1778 "r14"
Name 1782 "r15"
Name 1786 "r16"
Name 1790 "gs_ua"
Name 1791 "gs_ub"
Name 1792 "gs_uc"
Name 1793 "gs_ua2"
Name 1794 "gs_ub2"
Name 1795 "gs_uc2"
Name 1796 "gs_ua3"
Name 1797 "gs_ub3"
Name 1798 "gs_uc3"
Name 1799 "gs_ua4"
Name 1800 "gs_ub4"
Name 1801 "gs_uc4"
Name 1791 "gs_ua"
Name 1792 "gs_ub"
Name 1793 "gs_uc"
Name 1795 "gs_ua2"
Name 1796 "gs_ub2"
Name 1797 "gs_uc2"
Name 1799 "gs_ua3"
Name 1800 "gs_ub3"
Name 1801 "gs_uc3"
Name 1803 "gs_ua4"
Name 1804 "gs_ub4"
Name 1805 "gs_uc4"
2: TypeVoid
3: TypeFunction 2
6: TypeFloat 32
@@ -6180,6 +6180,22 @@ gl_FragCoord origin is upper left
1522(ResType): TypeStruct 65 819(ivec4)
1610: 64(fvec4) ConstantComposite 1053 1053 1053 1053
1611: 65 ConstantComposite 1610 1610 1610 1610
1790: TypePointer Private 8(int)
1791(gs_ua): 1790(ptr) Variable Private
1792(gs_ub): 1790(ptr) Variable Private
1793(gs_uc): 1790(ptr) Variable Private
1794: TypePointer Private 26(ivec2)
1795(gs_ua2): 1794(ptr) Variable Private
1796(gs_ub2): 1794(ptr) Variable Private
1797(gs_uc2): 1794(ptr) Variable Private
1798: TypePointer Private 38(ivec3)
1799(gs_ua3): 1798(ptr) Variable Private
1800(gs_ub3): 1798(ptr) Variable Private
1801(gs_uc3): 1798(ptr) Variable Private
1802: TypePointer Private 824(ivec4)
1803(gs_ua4): 1802(ptr) Variable Private
1804(gs_ub4): 1802(ptr) Variable Private
1805(gs_uc4): 1802(ptr) Variable Private
4(PixelShaderFunction): 2 Function None 3
5: Label
802(r000): 122(ptr) Variable Function
@@ -8255,18 +8271,6 @@ gl_FragCoord origin is upper left
1778(r14): 102(ptr) Variable Function
1782(r15): 108(ptr) Variable Function
1786(r16): 106(ptr) Variable Function
1790(gs_ua): 9(ptr) Variable Function
1791(gs_ub): 9(ptr) Variable Function
1792(gs_uc): 9(ptr) Variable Function
1793(gs_ua2): 27(ptr) Variable Function
1794(gs_ub2): 27(ptr) Variable Function
1795(gs_uc2): 27(ptr) Variable Function
1796(gs_ua3): 39(ptr) Variable Function
1797(gs_ub3): 39(ptr) Variable Function
1798(gs_uc3): 39(ptr) Variable Function
1799(gs_ua4): 825(ptr) Variable Function
1800(gs_ub4): 825(ptr) Variable Function
1801(gs_uc4): 825(ptr) Variable Function
1723: 6(float) Load 110(inF0)
1724: 6(float) Load 111(inF1)
1725: 6(float) FMul 1723 1724

View File

@@ -2,7 +2,7 @@ hlsl.intrinsics.lit.frag
Shader version: 450
gl_FragCoord origin is upper left
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 'n_dot_l' (in float)
0:2 'n_dot_h' (in float)
@@ -44,7 +44,7 @@ Linked fragment stage:
Shader version: 450
gl_FragCoord origin is upper left
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 'n_dot_l' (in float)
0:2 'n_dot_h' (in float)

View File

@@ -152,7 +152,7 @@ ERROR: 147 compilation errors. No code generated.
Shader version: 450
local_size = (1, 1, 1)
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 'inF0' (in float)
0:2 'inF1' (in float)
@@ -246,7 +246,7 @@ ERROR: node is still EOpNull!
0:53 Branch: Return with expression
0:53 Constant:
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 'inF0' (in 1-component vector of float)
0:57 'inF1' (in 1-component vector of float)
@@ -258,7 +258,7 @@ ERROR: node is still EOpNull!
0:62 Branch: Return with expression
0:62 Constant:
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 'inF0' (in 2-component vector of float)
0:66 'inF1' (in 2-component vector of float)
@@ -341,7 +341,7 @@ ERROR: node is still EOpNull!
0:? Constant:
0:? 1.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 'inF0' (in 3-component vector of float)
0:113 'inF1' (in 3-component vector of float)
@@ -421,7 +421,7 @@ ERROR: node is still EOpNull!
0:? 1.000000
0:? 2.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 'inF0' (in 4-component vector of float)
0:158 'inF1' (in 4-component vector of float)
@@ -511,7 +511,7 @@ Linked compute stage:
Shader version: 450
local_size = (1, 1, 1)
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 'inF0' (in float)
0:2 'inF1' (in float)
@@ -605,7 +605,7 @@ ERROR: node is still EOpNull!
0:53 Branch: Return with expression
0:53 Constant:
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 'inF0' (in 1-component vector of float)
0:57 'inF1' (in 1-component vector of float)
@@ -617,7 +617,7 @@ ERROR: node is still EOpNull!
0:62 Branch: Return with expression
0:62 Constant:
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 'inF0' (in 2-component vector of float)
0:66 'inF1' (in 2-component vector of float)
@@ -700,7 +700,7 @@ ERROR: node is still EOpNull!
0:? Constant:
0:? 1.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 'inF0' (in 3-component vector of float)
0:113 'inF1' (in 3-component vector of float)
@@ -780,7 +780,7 @@ ERROR: node is still EOpNull!
0:? 1.000000
0:? 2.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 'inF0' (in 4-component vector of float)
0:158 'inF1' (in 4-component vector of float)

View File

@@ -91,7 +91,7 @@ ERROR: 86 compilation errors. No code generated.
Shader version: 450
gl_FragCoord origin is upper left
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 'inF0' (in float)
0:2 'inF1' (in float)
@@ -135,7 +135,7 @@ ERROR: node is still EOpNull!
0:32 Branch: Return with expression
0:32 Constant:
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 'inF0' (in 1-component vector of float)
0:36 'inF1' (in 1-component vector of float)
@@ -147,7 +147,7 @@ ERROR: node is still EOpNull!
0:41 Branch: Return with expression
0:41 Constant:
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 'inF0' (in 2-component vector of float)
0:45 'inF1' (in 2-component vector of float)
@@ -180,7 +180,7 @@ ERROR: node is still EOpNull!
0:? Constant:
0:? 1.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 'inF0' (in 3-component vector of float)
0:63 'inF1' (in 3-component vector of float)
@@ -210,7 +210,7 @@ ERROR: node is still EOpNull!
0:? 1.000000
0:? 2.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 'inF0' (in 4-component vector of float)
0:80 'inF1' (in 4-component vector of float)
@@ -241,7 +241,7 @@ ERROR: node is still EOpNull!
0:? 2.000000
0:? 3.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 'inF0' (in 2X2 matrix of float)
0:115 'inF1' (in 2X2 matrix of float)
@@ -279,7 +279,7 @@ ERROR: node is still EOpNull!
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 'inF0' (in 3X3 matrix of float)
0:123 'inF1' (in 3X3 matrix of float)
@@ -322,7 +322,7 @@ ERROR: node is still EOpNull!
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 'inF0' (in 4X4 matrix of float)
0:131 'inF1' (in 4X4 matrix of float)
@@ -381,7 +381,7 @@ Linked fragment stage:
Shader version: 450
gl_FragCoord origin is upper left
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 'inF0' (in float)
0:2 'inF1' (in float)
@@ -425,7 +425,7 @@ ERROR: node is still EOpNull!
0:32 Branch: Return with expression
0:32 Constant:
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 'inF0' (in 1-component vector of float)
0:36 'inF1' (in 1-component vector of float)
@@ -437,7 +437,7 @@ ERROR: node is still EOpNull!
0:41 Branch: Return with expression
0:41 Constant:
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 'inF0' (in 2-component vector of float)
0:45 'inF1' (in 2-component vector of float)
@@ -470,7 +470,7 @@ ERROR: node is still EOpNull!
0:? Constant:
0:? 1.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 'inF0' (in 3-component vector of float)
0:63 'inF1' (in 3-component vector of float)
@@ -500,7 +500,7 @@ ERROR: node is still EOpNull!
0:? 1.000000
0:? 2.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 'inF0' (in 4-component vector of float)
0:80 'inF1' (in 4-component vector of float)
@@ -531,7 +531,7 @@ ERROR: node is still EOpNull!
0:? 2.000000
0:? 3.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 'inF0' (in 2X2 matrix of float)
0:115 'inF1' (in 2X2 matrix of float)
@@ -569,7 +569,7 @@ ERROR: node is still EOpNull!
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 'inF0' (in 3X3 matrix of float)
0:123 'inF1' (in 3X3 matrix of float)
@@ -612,7 +612,7 @@ ERROR: node is still EOpNull!
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 'inF0' (in 4X4 matrix of float)
0:131 'inF1' (in 4X4 matrix of float)

View File

@@ -230,7 +230,7 @@ ERROR: 226 compilation errors. No code generated.
Shader version: 450
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 'inF0' (in float)
0:15 'inF1' (in float)
@@ -338,7 +338,7 @@ ERROR: node is still EOpNull!
0:71 Branch: Return with expression
0:71 Constant:
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 'inF0' (in 1-component vector of float)
0:75 'inF1' (in 1-component vector of float)
@@ -350,7 +350,7 @@ ERROR: node is still EOpNull!
0:80 Branch: Return with expression
0:80 Constant:
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 'inF0' (in 2-component vector of float)
0:84 'inF1' (in 2-component vector of float)
@@ -433,7 +433,7 @@ ERROR: node is still EOpNull!
0:? Constant:
0:? 1.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 'inF0' (in 3-component vector of float)
0:131 'inF1' (in 3-component vector of float)
@@ -513,7 +513,7 @@ ERROR: node is still EOpNull!
0:? 1.000000
0:? 2.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 'inF0' (in 4-component vector of float)
0:176 'inF1' (in 4-component vector of float)
@@ -594,7 +594,7 @@ ERROR: node is still EOpNull!
0:? 2.000000
0:? 3.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 'inF0' (in 2X2 matrix of float)
0:251 'inF1' (in 2X2 matrix of float)
@@ -654,7 +654,7 @@ ERROR: node is still EOpNull!
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 'inF0' (in 3X3 matrix of float)
0:259 'inF1' (in 3X3 matrix of float)
@@ -719,7 +719,7 @@ ERROR: node is still EOpNull!
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 'inF0' (in 4X4 matrix of float)
0:267 'inF1' (in 4X4 matrix of float)
@@ -792,18 +792,18 @@ ERROR: node is still EOpNull!
0:? 4.000000
0:? 4.000000
0:? Linker Objects
0:? 'gs_ua' (temp uint)
0:? 'gs_ub' (temp uint)
0:? 'gs_uc' (temp uint)
0:? 'gs_ua2' (temp 2-component vector of uint)
0:? 'gs_ub2' (temp 2-component vector of uint)
0:? 'gs_uc2' (temp 2-component vector of uint)
0:? 'gs_ua3' (temp 3-component vector of uint)
0:? 'gs_ub3' (temp 3-component vector of uint)
0:? 'gs_uc3' (temp 3-component vector of uint)
0:? 'gs_ua4' (temp 4-component vector of uint)
0:? 'gs_ub4' (temp 4-component vector of uint)
0:? 'gs_uc4' (temp 4-component vector of uint)
0:? 'gs_ua' (global uint)
0:? 'gs_ub' (global uint)
0:? 'gs_uc' (global uint)
0:? 'gs_ua2' (global 2-component vector of uint)
0:? 'gs_ub2' (global 2-component vector of uint)
0:? 'gs_uc2' (global 2-component vector of uint)
0:? 'gs_ua3' (global 3-component vector of uint)
0:? 'gs_ub3' (global 3-component vector of uint)
0:? 'gs_uc3' (global 3-component vector of uint)
0:? 'gs_ua4' (global 4-component vector of uint)
0:? 'gs_ub4' (global 4-component vector of uint)
0:? 'gs_uc4' (global 4-component vector of uint)
Linked vertex stage:
@@ -811,7 +811,7 @@ Linked vertex stage:
Shader version: 450
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 'inF0' (in float)
0:15 'inF1' (in float)
@@ -919,7 +919,7 @@ ERROR: node is still EOpNull!
0:71 Branch: Return with expression
0:71 Constant:
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 'inF0' (in 1-component vector of float)
0:75 'inF1' (in 1-component vector of float)
@@ -931,7 +931,7 @@ ERROR: node is still EOpNull!
0:80 Branch: Return with expression
0:80 Constant:
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 'inF0' (in 2-component vector of float)
0:84 'inF1' (in 2-component vector of float)
@@ -1014,7 +1014,7 @@ ERROR: node is still EOpNull!
0:? Constant:
0:? 1.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 'inF0' (in 3-component vector of float)
0:131 'inF1' (in 3-component vector of float)
@@ -1094,7 +1094,7 @@ ERROR: node is still EOpNull!
0:? 1.000000
0:? 2.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 'inF0' (in 4-component vector of float)
0:176 'inF1' (in 4-component vector of float)
@@ -1175,7 +1175,7 @@ ERROR: node is still EOpNull!
0:? 2.000000
0:? 3.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 'inF0' (in 2X2 matrix of float)
0:251 'inF1' (in 2X2 matrix of float)
@@ -1235,7 +1235,7 @@ ERROR: node is still EOpNull!
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 'inF0' (in 3X3 matrix of float)
0:259 'inF1' (in 3X3 matrix of float)
@@ -1300,7 +1300,7 @@ ERROR: node is still EOpNull!
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 'inF0' (in 4X4 matrix of float)
0:267 'inF1' (in 4X4 matrix of float)
@@ -1373,17 +1373,17 @@ ERROR: node is still EOpNull!
0:? 4.000000
0:? 4.000000
0:? Linker Objects
0:? 'gs_ua' (temp uint)
0:? 'gs_ub' (temp uint)
0:? 'gs_uc' (temp uint)
0:? 'gs_ua2' (temp 2-component vector of uint)
0:? 'gs_ub2' (temp 2-component vector of uint)
0:? 'gs_uc2' (temp 2-component vector of uint)
0:? 'gs_ua3' (temp 3-component vector of uint)
0:? 'gs_ub3' (temp 3-component vector of uint)
0:? 'gs_uc3' (temp 3-component vector of uint)
0:? 'gs_ua4' (temp 4-component vector of uint)
0:? 'gs_ub4' (temp 4-component vector of uint)
0:? 'gs_uc4' (temp 4-component vector of uint)
0:? 'gs_ua' (global uint)
0:? 'gs_ub' (global uint)
0:? 'gs_uc' (global uint)
0:? 'gs_ua2' (global 2-component vector of uint)
0:? 'gs_ub2' (global 2-component vector of uint)
0:? 'gs_uc2' (global 2-component vector of uint)
0:? 'gs_ua3' (global 3-component vector of uint)
0:? 'gs_ub3' (global 3-component vector of uint)
0:? 'gs_uc3' (global 3-component vector of uint)
0:? 'gs_ua4' (global 4-component vector of uint)
0:? 'gs_ub4' (global 4-component vector of uint)
0:? 'gs_uc4' (global 4-component vector of uint)
SPIR-V is not generated for failed compile or link

View File

@@ -1,7 +1,7 @@
hlsl.intrinsics.vert
Shader version: 450
0:? Sequence
0:63 Function Definition: VertexShaderFunctionS(f1;f1;f1;u1;u1; (temp float)
0:63 Function Definition: VertexShaderFunctionS(f1;f1;f1;u1;u1; (global float)
0:2 Function Parameters:
0:2 'inF0' (in float)
0:2 'inF1' (in float)
@@ -142,7 +142,7 @@ Shader version: 450
0:60 Branch: Return with expression
0:60 Constant:
0:60 0.000000
0:69 Function Definition: VertexShaderFunction1(vf1;vf1;vf1; (temp 1-component vector of float)
0:69 Function Definition: VertexShaderFunction1(vf1;vf1;vf1; (global 1-component vector of float)
0:64 Function Parameters:
0:64 'inF0' (in 1-component vector of float)
0:64 'inF1' (in 1-component vector of float)
@@ -151,7 +151,7 @@ Shader version: 450
0:66 Branch: Return with expression
0:66 Constant:
0:66 0.000000
0:139 Function Definition: VertexShaderFunction2(vf2;vf2;vf2;vu2;vu2; (temp 2-component vector of float)
0:139 Function Definition: VertexShaderFunction2(vf2;vf2;vf2;vu2;vu2; (global 2-component vector of float)
0:70 Function Parameters:
0:70 'inF0' (in 2-component vector of float)
0:70 'inF1' (in 2-component vector of float)
@@ -317,7 +317,7 @@ Shader version: 450
0:? Constant:
0:? 1.000000
0:? 2.000000
0:210 Function Definition: VertexShaderFunction3(vf3;vf3;vf3;vu3;vu3; (temp 3-component vector of float)
0:210 Function Definition: VertexShaderFunction3(vf3;vf3;vf3;vu3;vu3; (global 3-component vector of float)
0:140 Function Parameters:
0:140 'inF0' (in 3-component vector of float)
0:140 'inF1' (in 3-component vector of float)
@@ -489,7 +489,7 @@ Shader version: 450
0:? 1.000000
0:? 2.000000
0:? 3.000000
0:335 Function Definition: VertexShaderFunction4(vf4;vf4;vf4;vu4;vu4; (temp 4-component vector of float)
0:335 Function Definition: VertexShaderFunction4(vf4;vf4;vf4;vu4;vu4; (global 4-component vector of float)
0:211 Function Parameters:
0:211 'inF0' (in 4-component vector of float)
0:211 'inF1' (in 4-component vector of float)
@@ -681,7 +681,7 @@ Shader version: 450
0:? 2.000000
0:? 3.000000
0:? 4.000000
0:344 Function Definition: VertexShaderFunction2x2(mf22;mf22;mf22; (temp 2X2 matrix of float)
0:344 Function Definition: VertexShaderFunction2x2(mf22;mf22;mf22; (global 2X2 matrix of float)
0:336 Function Parameters:
0:336 'inF0' (in 2X2 matrix of float)
0:336 'inF1' (in 2X2 matrix of float)
@@ -811,7 +811,7 @@ Shader version: 450
0:? 2.000000
0:? 2.000000
0:? 2.000000
0:353 Function Definition: VertexShaderFunction3x3(mf33;mf33;mf33; (temp 3X3 matrix of float)
0:353 Function Definition: VertexShaderFunction3x3(mf33;mf33;mf33; (global 3X3 matrix of float)
0:345 Function Parameters:
0:345 'inF0' (in 3X3 matrix of float)
0:345 'inF1' (in 3X3 matrix of float)
@@ -946,7 +946,7 @@ Shader version: 450
0:? 3.000000
0:? 3.000000
0:? 3.000000
0:374 Function Definition: VertexShaderFunction4x4(mf44;mf44;mf44; (temp 4X4 matrix of float)
0:374 Function Definition: VertexShaderFunction4x4(mf44;mf44;mf44; (global 4X4 matrix of float)
0:354 Function Parameters:
0:354 'inF0' (in 4X4 matrix of float)
0:354 'inF1' (in 4X4 matrix of float)
@@ -1088,7 +1088,7 @@ Shader version: 450
0:? 4.000000
0:? 4.000000
0:? 4.000000
0:381 Function Definition: TestGenMul2(f1;f1;vf2;vf2;mf22;mf22; (temp void)
0:381 Function Definition: TestGenMul2(f1;f1;vf2;vf2;mf22;mf22; (global void)
0:377 Function Parameters:
0:377 'inF0' (in float)
0:377 'inF1' (in float)
@@ -1151,7 +1151,7 @@ Shader version: 450
0:378 matrix-multiply (temp 2X2 matrix of float)
0:378 'inFM0' (in 2X2 matrix of float)
0:378 'inFM1' (in 2X2 matrix of float)
0:388 Function Definition: TestGenMul3(f1;f1;vf3;vf3;mf33;mf33; (temp void)
0:388 Function Definition: TestGenMul3(f1;f1;vf3;vf3;mf33;mf33; (global void)
0:384 Function Parameters:
0:384 'inF0' (in float)
0:384 'inF1' (in float)
@@ -1214,7 +1214,7 @@ Shader version: 450
0:385 matrix-multiply (temp 3X3 matrix of float)
0:385 'inFM0' (in 3X3 matrix of float)
0:385 'inFM1' (in 3X3 matrix of float)
0:396 Function Definition: TestGenMul4(f1;f1;vf4;vf4;mf44;mf44; (temp void)
0:396 Function Definition: TestGenMul4(f1;f1;vf4;vf4;mf44;mf44; (global void)
0:391 Function Parameters:
0:391 'inF0' (in float)
0:391 'inF1' (in float)
@@ -1277,7 +1277,7 @@ Shader version: 450
0:392 matrix-multiply (temp 4X4 matrix of float)
0:392 'inFM0' (in 4X4 matrix of float)
0:392 'inFM1' (in 4X4 matrix of float)
0:420 Function Definition: TestGenMulNxM(f1;f1;vf2;vf3;mf32;mf23;mf33;mf43;mf42; (temp void)
0:420 Function Definition: TestGenMulNxM(f1;f1;vf2;vf3;mf32;mf23;mf33;mf43;mf42; (global void)
0:401 Function Parameters:
0:401 'inF0' (in float)
0:401 'inF1' (in float)
@@ -1399,7 +1399,7 @@ Linked vertex stage:
Shader version: 450
0:? Sequence
0:63 Function Definition: VertexShaderFunctionS(f1;f1;f1;u1;u1; (temp float)
0:63 Function Definition: VertexShaderFunctionS(f1;f1;f1;u1;u1; (global float)
0:2 Function Parameters:
0:2 'inF0' (in float)
0:2 'inF1' (in float)
@@ -1540,7 +1540,7 @@ Shader version: 450
0:60 Branch: Return with expression
0:60 Constant:
0:60 0.000000
0:69 Function Definition: VertexShaderFunction1(vf1;vf1;vf1; (temp 1-component vector of float)
0:69 Function Definition: VertexShaderFunction1(vf1;vf1;vf1; (global 1-component vector of float)
0:64 Function Parameters:
0:64 'inF0' (in 1-component vector of float)
0:64 'inF1' (in 1-component vector of float)
@@ -1549,7 +1549,7 @@ Shader version: 450
0:66 Branch: Return with expression
0:66 Constant:
0:66 0.000000
0:139 Function Definition: VertexShaderFunction2(vf2;vf2;vf2;vu2;vu2; (temp 2-component vector of float)
0:139 Function Definition: VertexShaderFunction2(vf2;vf2;vf2;vu2;vu2; (global 2-component vector of float)
0:70 Function Parameters:
0:70 'inF0' (in 2-component vector of float)
0:70 'inF1' (in 2-component vector of float)
@@ -1715,7 +1715,7 @@ Shader version: 450
0:? Constant:
0:? 1.000000
0:? 2.000000
0:210 Function Definition: VertexShaderFunction3(vf3;vf3;vf3;vu3;vu3; (temp 3-component vector of float)
0:210 Function Definition: VertexShaderFunction3(vf3;vf3;vf3;vu3;vu3; (global 3-component vector of float)
0:140 Function Parameters:
0:140 'inF0' (in 3-component vector of float)
0:140 'inF1' (in 3-component vector of float)
@@ -1887,7 +1887,7 @@ Shader version: 450
0:? 1.000000
0:? 2.000000
0:? 3.000000
0:335 Function Definition: VertexShaderFunction4(vf4;vf4;vf4;vu4;vu4; (temp 4-component vector of float)
0:335 Function Definition: VertexShaderFunction4(vf4;vf4;vf4;vu4;vu4; (global 4-component vector of float)
0:211 Function Parameters:
0:211 'inF0' (in 4-component vector of float)
0:211 'inF1' (in 4-component vector of float)
@@ -2079,7 +2079,7 @@ Shader version: 450
0:? 2.000000
0:? 3.000000
0:? 4.000000
0:344 Function Definition: VertexShaderFunction2x2(mf22;mf22;mf22; (temp 2X2 matrix of float)
0:344 Function Definition: VertexShaderFunction2x2(mf22;mf22;mf22; (global 2X2 matrix of float)
0:336 Function Parameters:
0:336 'inF0' (in 2X2 matrix of float)
0:336 'inF1' (in 2X2 matrix of float)
@@ -2209,7 +2209,7 @@ Shader version: 450
0:? 2.000000
0:? 2.000000
0:? 2.000000
0:353 Function Definition: VertexShaderFunction3x3(mf33;mf33;mf33; (temp 3X3 matrix of float)
0:353 Function Definition: VertexShaderFunction3x3(mf33;mf33;mf33; (global 3X3 matrix of float)
0:345 Function Parameters:
0:345 'inF0' (in 3X3 matrix of float)
0:345 'inF1' (in 3X3 matrix of float)
@@ -2344,7 +2344,7 @@ Shader version: 450
0:? 3.000000
0:? 3.000000
0:? 3.000000
0:374 Function Definition: VertexShaderFunction4x4(mf44;mf44;mf44; (temp 4X4 matrix of float)
0:374 Function Definition: VertexShaderFunction4x4(mf44;mf44;mf44; (global 4X4 matrix of float)
0:354 Function Parameters:
0:354 'inF0' (in 4X4 matrix of float)
0:354 'inF1' (in 4X4 matrix of float)
@@ -2486,7 +2486,7 @@ Shader version: 450
0:? 4.000000
0:? 4.000000
0:? 4.000000
0:381 Function Definition: TestGenMul2(f1;f1;vf2;vf2;mf22;mf22; (temp void)
0:381 Function Definition: TestGenMul2(f1;f1;vf2;vf2;mf22;mf22; (global void)
0:377 Function Parameters:
0:377 'inF0' (in float)
0:377 'inF1' (in float)
@@ -2549,7 +2549,7 @@ Shader version: 450
0:378 matrix-multiply (temp 2X2 matrix of float)
0:378 'inFM0' (in 2X2 matrix of float)
0:378 'inFM1' (in 2X2 matrix of float)
0:388 Function Definition: TestGenMul3(f1;f1;vf3;vf3;mf33;mf33; (temp void)
0:388 Function Definition: TestGenMul3(f1;f1;vf3;vf3;mf33;mf33; (global void)
0:384 Function Parameters:
0:384 'inF0' (in float)
0:384 'inF1' (in float)
@@ -2612,7 +2612,7 @@ Shader version: 450
0:385 matrix-multiply (temp 3X3 matrix of float)
0:385 'inFM0' (in 3X3 matrix of float)
0:385 'inFM1' (in 3X3 matrix of float)
0:396 Function Definition: TestGenMul4(f1;f1;vf4;vf4;mf44;mf44; (temp void)
0:396 Function Definition: TestGenMul4(f1;f1;vf4;vf4;mf44;mf44; (global void)
0:391 Function Parameters:
0:391 'inF0' (in float)
0:391 'inF1' (in float)
@@ -2675,7 +2675,7 @@ Shader version: 450
0:392 matrix-multiply (temp 4X4 matrix of float)
0:392 'inFM0' (in 4X4 matrix of float)
0:392 'inFM1' (in 4X4 matrix of float)
0:420 Function Definition: TestGenMulNxM(f1;f1;vf2;vf3;mf32;mf23;mf33;mf43;mf42; (temp void)
0:420 Function Definition: TestGenMulNxM(f1;f1;vf2;vf3;mf32;mf23;mf33;mf43;mf42; (global void)
0:401 Function Parameters:
0:401 'inF0' (in float)
0:401 'inF1' (in float)

View File

@@ -4,20 +4,20 @@ gl_FragCoord origin is upper left
0:? Sequence
0:1 Sequence
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 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 'inFloat1' (in 1-component vector of float)
0:9 'inScalar' (in float)
0:? Linker Objects
0:? 'f1' (temp 1-component vector of float)
0:? 'fmat11' (temp 1X1 matrix of float)
0:? 'fmat41' (temp 1X4 matrix of float)
0:? 'fmat12' (temp 2X1 matrix of float)
0:? 'dmat23' (temp 3X2 matrix of double)
0:? 'int44' (temp 4X4 matrix of int)
0:? 'f1' (global 1-component vector of float)
0:? 'fmat11' (global 1X1 matrix of float)
0:? 'fmat41' (global 1X4 matrix of float)
0:? 'fmat12' (global 2X1 matrix of float)
0:? 'dmat23' (global 3X2 matrix of double)
0:? 'int44' (global 4X4 matrix of int)
Linked fragment stage:
@@ -28,24 +28,24 @@ gl_FragCoord origin is upper left
0:? Sequence
0:1 Sequence
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 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 'inFloat1' (in 1-component vector of float)
0:9 'inScalar' (in float)
0:? Linker Objects
0:? 'f1' (temp 1-component vector of float)
0:? 'fmat11' (temp 1X1 matrix of float)
0:? 'fmat41' (temp 1X4 matrix of float)
0:? 'fmat12' (temp 2X1 matrix of float)
0:? 'dmat23' (temp 3X2 matrix of double)
0:? 'int44' (temp 4X4 matrix of int)
0:? 'f1' (global 1-component vector of float)
0:? 'fmat11' (global 1X1 matrix of float)
0:? 'fmat41' (global 1X4 matrix of float)
0:? 'fmat12' (global 2X1 matrix of float)
0:? 'dmat23' (global 3X2 matrix of double)
0:? 'int44' (global 4X4 matrix of int)
// Module Version 10000
// Generated by (magic number): 80001
// Id's are bound by 37
// Id's are bound by 38
Capability Shader
Capability Float64
@@ -58,48 +58,49 @@ gl_FragCoord origin is upper left
Name 11 "ShaderFunction(vf1;f1;"
Name 9 "inFloat1"
Name 10 "inScalar"
Name 13 "f1"
Name 19 "fmat11"
Name 23 "fmat41"
Name 26 "fmat12"
Name 31 "dmat23"
Name 36 "int44"
Name 14 "f1"
Name 20 "fmat11"
Name 24 "fmat41"
Name 27 "fmat12"
Name 32 "dmat23"
Name 37 "int44"
2: TypeVoid
3: TypeFunction 2
6: TypeFloat 32
7: TypePointer Function 6(float)
8: TypeFunction 6(float) 7(ptr) 7(ptr)
14: 6(float) Constant 1065353216
16: TypeVector 6(float) 1
17: TypeMatrix 16(fvec) 1
18: TypePointer Function 17
20: TypeVector 6(float) 4
21: TypeMatrix 20(fvec4) 1
22: TypePointer Function 21
24: TypeMatrix 16(fvec) 2
25: TypePointer Function 24
27: TypeFloat 64
28: TypeVector 27(float) 2
29: TypeMatrix 28(fvec2) 3
30: TypePointer Function 29
32: TypeInt 32 1
33: TypeVector 32(int) 4
34: TypeMatrix 33(ivec4) 4
35: TypePointer Function 34
13: TypePointer Private 6(float)
14(f1): 13(ptr) Variable Private
15: 6(float) Constant 1065353216
17: TypeVector 6(float) 1
18: TypeMatrix 17(fvec) 1
19: TypePointer Private 18
20(fmat11): 19(ptr) Variable Private
21: TypeVector 6(float) 4
22: TypeMatrix 21(fvec4) 1
23: TypePointer Private 22
24(fmat41): 23(ptr) Variable Private
25: TypeMatrix 17(fvec) 2
26: TypePointer Private 25
27(fmat12): 26(ptr) Variable Private
28: TypeFloat 64
29: TypeVector 28(float) 2
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
5: Label
13(f1): 7(ptr) Variable Function
Store 13(f1) 14
Store 14(f1) 15
FunctionEnd
11(ShaderFunction(vf1;f1;): 6(float) Function None 8
9(inFloat1): 7(ptr) FunctionParameter
10(inScalar): 7(ptr) FunctionParameter
12: Label
19(fmat11): 18(ptr) Variable Function
23(fmat41): 22(ptr) Variable Function
26(fmat12): 25(ptr) Variable Function
31(dmat23): 30(ptr) Variable Function
36(int44): 35(ptr) Variable Function
15: 6(float) Undef
ReturnValue 15
16: 6(float) Undef
ReturnValue 16
FunctionEnd

View File

@@ -2,7 +2,7 @@ hlsl.max.frag
Shader version: 450
gl_FragCoord origin is upper left
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 'input1' (in 4-component vector of float)
0:2 'input2' (in 4-component vector of float)
@@ -20,7 +20,7 @@ Linked fragment stage:
Shader version: 450
gl_FragCoord origin is upper left
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 'input1' (in 4-component vector of float)
0:2 'input2' (in 4-component vector of float)

View File

@@ -2,7 +2,7 @@ hlsl.precedence.frag
Shader version: 450
gl_FragCoord origin is upper left
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 'a1' (in 4-component vector of float)
0:7 'a2' (in 4-component vector of float)
@@ -26,7 +26,7 @@ Linked fragment stage:
Shader version: 450
gl_FragCoord origin is upper left
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 'a1' (in 4-component vector of float)
0:7 'a2' (in 4-component vector of float)

View File

@@ -2,7 +2,7 @@ hlsl.precedence2.frag
Shader version: 450
gl_FragCoord origin is upper left
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 'a1' (in int)
0:7 'a2' (in int)
@@ -34,7 +34,7 @@ Linked fragment stage:
Shader version: 450
gl_FragCoord origin is upper left
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 'a1' (in int)
0:7 'a2' (in int)

View File

@@ -2,7 +2,7 @@ hlsl.scope.frag
Shader version: 450
gl_FragCoord origin is upper left
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 'input' (in 4-component vector of float)
0:? Sequence
@@ -46,7 +46,7 @@ Linked fragment stage:
Shader version: 450
gl_FragCoord origin is upper left
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 'input' (in 4-component vector of float)
0:? Sequence

View File

@@ -2,7 +2,7 @@ hlsl.sin.frag
Shader version: 450
gl_FragCoord origin is upper left
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 'input' (in 4-component vector of float)
0:? Sequence
@@ -18,7 +18,7 @@ Linked fragment stage:
Shader version: 450
gl_FragCoord origin is upper left
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 'input' (in 4-component vector of float)
0:? Sequence

View File

@@ -2,7 +2,7 @@ hlsl.struct.frag
Shader version: 450
gl_FragCoord origin is upper left
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 'input' (in 4-component vector of float)
0:? Sequence
@@ -11,19 +11,19 @@ gl_FragCoord origin is upper left
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 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 0 (const int)
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 7 (const int)
0:39 Branch: Return with expression
0:39 'input' (in 4-component vector of float)
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:? 's2' (temp 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:? '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' (global structure{temp 4-component vector of float i})
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:
@@ -32,7 +32,7 @@ Linked fragment stage:
Shader version: 450
gl_FragCoord origin is upper left
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 'input' (in 4-component vector of float)
0:? Sequence
@@ -41,19 +41,19 @@ gl_FragCoord origin is upper left
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 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 0 (const int)
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 7 (const int)
0:39 Branch: Return with expression
0:39 'input' (in 4-component vector of float)
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:? 's2' (temp 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:? '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' (global structure{temp 4-component vector of float i})
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
// Generated by (magic number): 80001
@@ -100,24 +100,24 @@ gl_FragCoord origin is upper left
17: TypeFloat 32
18: TypeVector 17(float) 4
19: TypeStruct 18(fvec4)
20: TypePointer Function 19(struct)
20: TypePointer Private 19(struct)
21(s2): 20(ptr) Variable Private
22: TypeInt 32 1
23: 22(int) Constant 0
24: TypeVector 17(float) 2
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
29: TypePointer Function 18(fvec4)
29: TypePointer Private 18(fvec4)
33: TypePointer Input 18(fvec4)
34(input): 33(ptr) Variable Input
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
5: Label
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)
12: 8(FS) Load 10(s3)
13: 7(bvec3) CompositeExtract 11 0

View File

@@ -2,7 +2,7 @@ hlsl.switch.frag
Shader version: 450
gl_FragCoord origin is upper left
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 'input' (in 4-component vector of float)
0:2 'c' (in int)
@@ -130,7 +130,7 @@ Linked fragment stage:
Shader version: 450
gl_FragCoord origin is upper left
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 'input' (in 4-component vector of float)
0:2 'c' (in int)

View File

@@ -4,13 +4,13 @@ gl_FragCoord origin is upper left
0:? Sequence
0:1 Sequence
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:? 1.000000
0:? 0.500000
0:? 0.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 'input' (in 4-component vector of float)
0:? Sequence
@@ -29,11 +29,11 @@ gl_FragCoord origin is upper left
0:5 0 (const int)
0:5 Construct vec4 (temp 4-component vector of 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 2 (const int)
0:? Linker Objects
0:? 'AmbientColor' (temp 4-component vector of float)
0:? 'AmbientColor' (global 4-component vector of float)
Linked fragment stage:
@@ -44,13 +44,13 @@ gl_FragCoord origin is upper left
0:? Sequence
0:1 Sequence
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:? 1.000000
0:? 0.500000
0:? 0.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 'input' (in 4-component vector of float)
0:? Sequence
@@ -69,15 +69,15 @@ gl_FragCoord origin is upper left
0:5 0 (const int)
0:5 Construct vec4 (temp 4-component vector of 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 2 (const int)
0:? Linker Objects
0:? 'AmbientColor' (temp 4-component vector of float)
0:? 'AmbientColor' (global 4-component vector of float)
// Module Version 10000
// Generated by (magic number): 80001
// Id's are bound by 29
// Id's are bound by 30
Capability Shader
1: ExtInstImport "GLSL.std.450"
@@ -88,33 +88,34 @@ gl_FragCoord origin is upper left
Name 4 "PixelShaderFunction"
Name 11 "ShaderFunction(vf4;"
Name 10 "input"
Name 13 "AmbientColor"
Name 14 "AmbientColor"
2: TypeVoid
3: TypeFunction 2
6: TypeFloat 32
7: TypeVector 6(float) 4
8: TypePointer Function 7(fvec4)
9: TypeFunction 7(fvec4) 8(ptr)
14: 6(float) Constant 1065353216
15: 6(float) Constant 1056964608
16: 6(float) Constant 0
17: 7(fvec4) ConstantComposite 14 15 16 14
20: TypeInt 32 0
21: 20(int) Constant 2
22: TypePointer Function 6(float)
13: TypePointer Private 7(fvec4)
14(AmbientColor): 13(ptr) Variable Private
15: 6(float) Constant 1065353216
16: 6(float) Constant 1056964608
17: 6(float) Constant 0
18: 7(fvec4) ConstantComposite 15 16 17 15
21: TypeInt 32 0
22: 21(int) Constant 2
23: TypePointer Private 6(float)
4(PixelShaderFunction): 2 Function None 3
5: Label
13(AmbientColor): 8(ptr) Variable Function
Store 13(AmbientColor) 17
Store 14(AmbientColor) 18
FunctionEnd
11(ShaderFunction(vf4;): 7(fvec4) Function None 9
10(input): 8(ptr) FunctionParameter
12: Label
18: 7(fvec4) Load 10(input)
19: 7(fvec4) VectorShuffle 18 18 3 3 1 0
23: 22(ptr) AccessChain 13(AmbientColor) 21
24: 6(float) Load 23
25: 7(fvec4) CompositeConstruct 24 24 24 24
26: 7(fvec4) FMul 19 25
ReturnValue 26
19: 7(fvec4) Load 10(input)
20: 7(fvec4) VectorShuffle 19 19 3 3 1 0
24: 23(ptr) AccessChain 14(AmbientColor) 22
25: 6(float) Load 24
26: 7(fvec4) CompositeConstruct 25 25 25 25
27: 7(fvec4) FMul 20 26
ReturnValue 27
FunctionEnd

View File

@@ -2,7 +2,7 @@ hlsl.templatetypes.frag
Shader version: 450
gl_FragCoord origin is upper left
0:? Sequence
0:48 Function Definition: PixelShaderFunction( (temp float)
0:48 Function Definition: PixelShaderFunction( (global float)
0:3 Function Parameters:
0:? Sequence
0:4 Sequence
@@ -251,7 +251,7 @@ Linked fragment stage:
Shader version: 450
gl_FragCoord origin is upper left
0:? Sequence
0:48 Function Definition: PixelShaderFunction( (temp float)
0:48 Function Definition: PixelShaderFunction( (global float)
0:3 Function Parameters:
0:? Sequence
0:4 Sequence

View File

@@ -2,16 +2,16 @@ hlsl.void.frag
Shader version: 450
gl_FragCoord origin is upper left
0:? Sequence
0:2 Function Definition: foo1( (temp void)
0:2 Function Definition: foo1( (global void)
0:1 Function Parameters:
0:4 Function Definition: foo2( (temp void)
0:4 Function Definition: foo2( (global void)
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 'input' (in 4-component vector of float)
0:? Sequence
0:6 Function Call: foo1( (temp void)
0:7 Function Call: foo2( (temp void)
0:6 Function Call: foo1( (global void)
0:7 Function Call: foo2( (global void)
0:? Linker Objects
@@ -21,16 +21,16 @@ Linked fragment stage:
Shader version: 450
gl_FragCoord origin is upper left
0:? Sequence
0:2 Function Definition: foo1( (temp void)
0:2 Function Definition: foo1( (global void)
0:1 Function Parameters:
0:4 Function Definition: foo2( (temp void)
0:4 Function Definition: foo2( (global void)
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 'input' (in 4-component vector of float)
0:? Sequence
0:6 Function Call: foo1( (temp void)
0:7 Function Call: foo2( (temp void)
0:6 Function Call: foo1( (global void)
0:7 Function Call: foo2( (global void)
0:? Linker Objects
// Module Version 10000

View File

@@ -2,7 +2,7 @@ hlsl.whileLoop.frag
Shader version: 450
gl_FragCoord origin is upper left
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 'input' (in 4-component vector of float)
0:? Sequence
@@ -39,7 +39,7 @@ Linked fragment stage:
Shader version: 450
gl_FragCoord origin is upper left
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 'input' (in 4-component vector of float)
0:? Sequence

View File

@@ -134,6 +134,8 @@ bool HlslGrammar::acceptDeclaration(TIntermNode*& node)
TType type;
if (! acceptFullySpecifiedType(type))
return false;
if (type.getQualifier().storage == EvqTemporary && parseContext.symbolTable.atGlobalLevel())
type.getQualifier().storage = EvqGlobal;
// identifier
HlslToken idToken;