HLSL: Grammar: Make comma-separated declaration lists work.
This commit is contained in:
@@ -2,10 +2,11 @@ hlsl.matType.frag
|
||||
Shader version: 450
|
||||
gl_FragCoord origin is upper left
|
||||
0:? 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 Constant:
|
||||
0:1 1.000000
|
||||
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 Constant:
|
||||
0:1 1.000000
|
||||
0:11 Function Definition: ShaderFunction(vf1;f1; (temp 1-component vector of float)
|
||||
0:9 Function Parameters:
|
||||
0:9 'inFloat1' (in 1-component vector of float)
|
||||
@@ -25,10 +26,11 @@ Linked fragment stage:
|
||||
Shader version: 450
|
||||
gl_FragCoord origin is upper left
|
||||
0:? 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 Constant:
|
||||
0:1 1.000000
|
||||
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 Constant:
|
||||
0:1 1.000000
|
||||
0:11 Function Definition: ShaderFunction(vf1;f1; (temp 1-component vector of float)
|
||||
0:9 Function Parameters:
|
||||
0:9 'inFloat1' (in 1-component vector of float)
|
||||
@@ -43,7 +45,7 @@ gl_FragCoord origin is upper left
|
||||
|
||||
// Module Version 10000
|
||||
// Generated by (magic number): 80001
|
||||
// Id's are bound by 36
|
||||
// Id's are bound by 37
|
||||
|
||||
Capability Shader
|
||||
Capability Float64
|
||||
@@ -56,46 +58,48 @@ gl_FragCoord origin is upper left
|
||||
Name 11 "ShaderFunction(vf1;f1;"
|
||||
Name 9 "inFloat1"
|
||||
Name 10 "inScalar"
|
||||
Name 14 "f1"
|
||||
Name 18 "fmat11"
|
||||
Name 22 "fmat41"
|
||||
Name 25 "fmat12"
|
||||
Name 30 "dmat23"
|
||||
Name 35 "int44"
|
||||
Name 13 "f1"
|
||||
Name 19 "fmat11"
|
||||
Name 23 "fmat41"
|
||||
Name 26 "fmat12"
|
||||
Name 31 "dmat23"
|
||||
Name 36 "int44"
|
||||
2: TypeVoid
|
||||
3: TypeFunction 2
|
||||
6: TypeFloat 32
|
||||
7: TypePointer Function 6(float)
|
||||
8: TypeFunction 6(float) 7(ptr) 7(ptr)
|
||||
15: TypeVector 6(float) 1
|
||||
16: TypeMatrix 15(fvec) 1
|
||||
17: TypePointer Function 16
|
||||
19: TypeVector 6(float) 4
|
||||
20: TypeMatrix 19(fvec4) 1
|
||||
21: TypePointer Function 20
|
||||
23: TypeMatrix 15(fvec) 2
|
||||
24: TypePointer Function 23
|
||||
26: TypeFloat 64
|
||||
27: TypeVector 26(float) 2
|
||||
28: TypeMatrix 27(fvec2) 3
|
||||
29: TypePointer Function 28
|
||||
31: TypeInt 32 1
|
||||
32: TypeVector 31(int) 4
|
||||
33: TypeMatrix 32(ivec4) 4
|
||||
34: TypePointer Function 33
|
||||
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
|
||||
4(PixelShaderFunction): 2 Function None 3
|
||||
5: Label
|
||||
13(f1): 7(ptr) Variable Function
|
||||
Store 13(f1) 14
|
||||
FunctionEnd
|
||||
11(ShaderFunction(vf1;f1;): 6(float) Function None 8
|
||||
9(inFloat1): 7(ptr) FunctionParameter
|
||||
10(inScalar): 7(ptr) FunctionParameter
|
||||
12: Label
|
||||
14(f1): 7(ptr) Variable Function
|
||||
18(fmat11): 17(ptr) Variable Function
|
||||
22(fmat41): 21(ptr) Variable Function
|
||||
25(fmat12): 24(ptr) Variable Function
|
||||
30(dmat23): 29(ptr) Variable Function
|
||||
35(int44): 34(ptr) Variable Function
|
||||
13: 6(float) Undef
|
||||
ReturnValue 13
|
||||
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
|
||||
FunctionEnd
|
||||
|
||||
Reference in New Issue
Block a user