HLSL: Move debug naming to a simpler, more consistent, scheme.
This will help in expanding flattening and reducing splitting.
This commit is contained in:
parent
3322dd8f99
commit
e516d4335f
138 changed files with 2276 additions and 2278 deletions
|
|
@ -94,7 +94,7 @@ Shader version: 500
|
|||
0:8 'flattenTemp' ( temp structure{ temp 4-component vector of float Position, temp 3-component vector of float clip0, temp 4-component vector of float clip1})
|
||||
0:8 Function Call: @main( ( temp structure{ temp 4-component vector of float Position, temp 3-component vector of float clip0, temp 4-component vector of float clip1})
|
||||
0:8 move second child to first child ( temp 4-component vector of float)
|
||||
0:? '@entryPointOutput_Position' ( out 4-component vector of float Position)
|
||||
0:? '@entryPointOutput.Position' ( out 4-component vector of float Position)
|
||||
0:8 Position: direct index for structure ( temp 4-component vector of float)
|
||||
0:8 'flattenTemp' ( temp structure{ temp 4-component vector of float Position, temp 3-component vector of float clip0, temp 4-component vector of float clip1})
|
||||
0:8 Constant:
|
||||
|
|
@ -102,7 +102,7 @@ Shader version: 500
|
|||
0:? Sequence
|
||||
0:8 move second child to first child ( temp float)
|
||||
0:8 direct index ( temp float)
|
||||
0:? '@entryPointOutput_clip1' ( out 8-element array of float ClipDistance)
|
||||
0:? '@entryPointOutput.clip1' ( out 8-element array of float ClipDistance)
|
||||
0:8 Constant:
|
||||
0:8 0 (const int)
|
||||
0:8 direct index ( temp float)
|
||||
|
|
@ -114,7 +114,7 @@ Shader version: 500
|
|||
0:8 0 (const int)
|
||||
0:8 move second child to first child ( temp float)
|
||||
0:8 direct index ( temp float)
|
||||
0:? '@entryPointOutput_clip1' ( out 8-element array of float ClipDistance)
|
||||
0:? '@entryPointOutput.clip1' ( out 8-element array of float ClipDistance)
|
||||
0:8 Constant:
|
||||
0:8 1 (const int)
|
||||
0:8 direct index ( temp float)
|
||||
|
|
@ -126,7 +126,7 @@ Shader version: 500
|
|||
0:8 1 (const int)
|
||||
0:8 move second child to first child ( temp float)
|
||||
0:8 direct index ( temp float)
|
||||
0:? '@entryPointOutput_clip1' ( out 8-element array of float ClipDistance)
|
||||
0:? '@entryPointOutput.clip1' ( out 8-element array of float ClipDistance)
|
||||
0:8 Constant:
|
||||
0:8 2 (const int)
|
||||
0:8 direct index ( temp float)
|
||||
|
|
@ -139,7 +139,7 @@ Shader version: 500
|
|||
0:? Sequence
|
||||
0:8 move second child to first child ( temp float)
|
||||
0:8 direct index ( temp float)
|
||||
0:? '@entryPointOutput_clip1' ( out 8-element array of float ClipDistance)
|
||||
0:? '@entryPointOutput.clip1' ( out 8-element array of float ClipDistance)
|
||||
0:8 Constant:
|
||||
0:8 4 (const int)
|
||||
0:8 direct index ( temp float)
|
||||
|
|
@ -151,7 +151,7 @@ Shader version: 500
|
|||
0:8 0 (const int)
|
||||
0:8 move second child to first child ( temp float)
|
||||
0:8 direct index ( temp float)
|
||||
0:? '@entryPointOutput_clip1' ( out 8-element array of float ClipDistance)
|
||||
0:? '@entryPointOutput.clip1' ( out 8-element array of float ClipDistance)
|
||||
0:8 Constant:
|
||||
0:8 5 (const int)
|
||||
0:8 direct index ( temp float)
|
||||
|
|
@ -163,7 +163,7 @@ Shader version: 500
|
|||
0:8 1 (const int)
|
||||
0:8 move second child to first child ( temp float)
|
||||
0:8 direct index ( temp float)
|
||||
0:? '@entryPointOutput_clip1' ( out 8-element array of float ClipDistance)
|
||||
0:? '@entryPointOutput.clip1' ( out 8-element array of float ClipDistance)
|
||||
0:8 Constant:
|
||||
0:8 6 (const int)
|
||||
0:8 direct index ( temp float)
|
||||
|
|
@ -175,7 +175,7 @@ Shader version: 500
|
|||
0:8 2 (const int)
|
||||
0:8 move second child to first child ( temp float)
|
||||
0:8 direct index ( temp float)
|
||||
0:? '@entryPointOutput_clip1' ( out 8-element array of float ClipDistance)
|
||||
0:? '@entryPointOutput.clip1' ( out 8-element array of float ClipDistance)
|
||||
0:8 Constant:
|
||||
0:8 7 (const int)
|
||||
0:8 direct index ( temp float)
|
||||
|
|
@ -186,8 +186,8 @@ Shader version: 500
|
|||
0:8 Constant:
|
||||
0:8 3 (const int)
|
||||
0:? Linker Objects
|
||||
0:? '@entryPointOutput_Position' ( out 4-component vector of float Position)
|
||||
0:? '@entryPointOutput_clip1' ( out 8-element array of float ClipDistance)
|
||||
0:? '@entryPointOutput.Position' ( out 4-component vector of float Position)
|
||||
0:? '@entryPointOutput.clip1' ( out 8-element array of float ClipDistance)
|
||||
|
||||
|
||||
Linked vertex stage:
|
||||
|
|
@ -288,7 +288,7 @@ Shader version: 500
|
|||
0:8 'flattenTemp' ( temp structure{ temp 4-component vector of float Position, temp 3-component vector of float clip0, temp 4-component vector of float clip1})
|
||||
0:8 Function Call: @main( ( temp structure{ temp 4-component vector of float Position, temp 3-component vector of float clip0, temp 4-component vector of float clip1})
|
||||
0:8 move second child to first child ( temp 4-component vector of float)
|
||||
0:? '@entryPointOutput_Position' ( out 4-component vector of float Position)
|
||||
0:? '@entryPointOutput.Position' ( out 4-component vector of float Position)
|
||||
0:8 Position: direct index for structure ( temp 4-component vector of float)
|
||||
0:8 'flattenTemp' ( temp structure{ temp 4-component vector of float Position, temp 3-component vector of float clip0, temp 4-component vector of float clip1})
|
||||
0:8 Constant:
|
||||
|
|
@ -296,7 +296,7 @@ Shader version: 500
|
|||
0:? Sequence
|
||||
0:8 move second child to first child ( temp float)
|
||||
0:8 direct index ( temp float)
|
||||
0:? '@entryPointOutput_clip1' ( out 8-element array of float ClipDistance)
|
||||
0:? '@entryPointOutput.clip1' ( out 8-element array of float ClipDistance)
|
||||
0:8 Constant:
|
||||
0:8 0 (const int)
|
||||
0:8 direct index ( temp float)
|
||||
|
|
@ -308,7 +308,7 @@ Shader version: 500
|
|||
0:8 0 (const int)
|
||||
0:8 move second child to first child ( temp float)
|
||||
0:8 direct index ( temp float)
|
||||
0:? '@entryPointOutput_clip1' ( out 8-element array of float ClipDistance)
|
||||
0:? '@entryPointOutput.clip1' ( out 8-element array of float ClipDistance)
|
||||
0:8 Constant:
|
||||
0:8 1 (const int)
|
||||
0:8 direct index ( temp float)
|
||||
|
|
@ -320,7 +320,7 @@ Shader version: 500
|
|||
0:8 1 (const int)
|
||||
0:8 move second child to first child ( temp float)
|
||||
0:8 direct index ( temp float)
|
||||
0:? '@entryPointOutput_clip1' ( out 8-element array of float ClipDistance)
|
||||
0:? '@entryPointOutput.clip1' ( out 8-element array of float ClipDistance)
|
||||
0:8 Constant:
|
||||
0:8 2 (const int)
|
||||
0:8 direct index ( temp float)
|
||||
|
|
@ -333,7 +333,7 @@ Shader version: 500
|
|||
0:? Sequence
|
||||
0:8 move second child to first child ( temp float)
|
||||
0:8 direct index ( temp float)
|
||||
0:? '@entryPointOutput_clip1' ( out 8-element array of float ClipDistance)
|
||||
0:? '@entryPointOutput.clip1' ( out 8-element array of float ClipDistance)
|
||||
0:8 Constant:
|
||||
0:8 4 (const int)
|
||||
0:8 direct index ( temp float)
|
||||
|
|
@ -345,7 +345,7 @@ Shader version: 500
|
|||
0:8 0 (const int)
|
||||
0:8 move second child to first child ( temp float)
|
||||
0:8 direct index ( temp float)
|
||||
0:? '@entryPointOutput_clip1' ( out 8-element array of float ClipDistance)
|
||||
0:? '@entryPointOutput.clip1' ( out 8-element array of float ClipDistance)
|
||||
0:8 Constant:
|
||||
0:8 5 (const int)
|
||||
0:8 direct index ( temp float)
|
||||
|
|
@ -357,7 +357,7 @@ Shader version: 500
|
|||
0:8 1 (const int)
|
||||
0:8 move second child to first child ( temp float)
|
||||
0:8 direct index ( temp float)
|
||||
0:? '@entryPointOutput_clip1' ( out 8-element array of float ClipDistance)
|
||||
0:? '@entryPointOutput.clip1' ( out 8-element array of float ClipDistance)
|
||||
0:8 Constant:
|
||||
0:8 6 (const int)
|
||||
0:8 direct index ( temp float)
|
||||
|
|
@ -369,7 +369,7 @@ Shader version: 500
|
|||
0:8 2 (const int)
|
||||
0:8 move second child to first child ( temp float)
|
||||
0:8 direct index ( temp float)
|
||||
0:? '@entryPointOutput_clip1' ( out 8-element array of float ClipDistance)
|
||||
0:? '@entryPointOutput.clip1' ( out 8-element array of float ClipDistance)
|
||||
0:8 Constant:
|
||||
0:8 7 (const int)
|
||||
0:8 direct index ( temp float)
|
||||
|
|
@ -380,8 +380,8 @@ Shader version: 500
|
|||
0:8 Constant:
|
||||
0:8 3 (const int)
|
||||
0:? Linker Objects
|
||||
0:? '@entryPointOutput_Position' ( out 4-component vector of float Position)
|
||||
0:? '@entryPointOutput_clip1' ( out 8-element array of float ClipDistance)
|
||||
0:? '@entryPointOutput.Position' ( out 4-component vector of float Position)
|
||||
0:? '@entryPointOutput.clip1' ( out 8-element array of float ClipDistance)
|
||||
|
||||
// Module Version 10000
|
||||
// Generated by (magic number): 80001
|
||||
|
|
@ -401,10 +401,10 @@ Shader version: 500
|
|||
Name 11 "@main("
|
||||
Name 14 "Output"
|
||||
Name 45 "flattenTemp"
|
||||
Name 48 "@entryPointOutput_Position"
|
||||
Name 54 "@entryPointOutput_clip1"
|
||||
Decorate 48(@entryPointOutput_Position) BuiltIn Position
|
||||
Decorate 54(@entryPointOutput_clip1) BuiltIn ClipDistance
|
||||
Name 48 "@entryPointOutput.Position"
|
||||
Name 54 "@entryPointOutput.clip1"
|
||||
Decorate 48(@entryPointOutput.Position) BuiltIn Position
|
||||
Decorate 54(@entryPointOutput.clip1) BuiltIn ClipDistance
|
||||
2: TypeVoid
|
||||
3: TypeFunction 2
|
||||
6: TypeFloat 32
|
||||
|
|
@ -433,11 +433,11 @@ Shader version: 500
|
|||
39: 6(float) Constant 1088421888
|
||||
40: 22(int) Constant 3
|
||||
47: TypePointer Output 7(fvec4)
|
||||
48(@entryPointOutput_Position): 47(ptr) Variable Output
|
||||
48(@entryPointOutput.Position): 47(ptr) Variable Output
|
||||
51: 22(int) Constant 8
|
||||
52: TypeArray 6(float) 51
|
||||
53: TypePointer Output 52
|
||||
54(@entryPointOutput_clip1): 53(ptr) Variable Output
|
||||
54(@entryPointOutput.clip1): 53(ptr) Variable Output
|
||||
57: TypePointer Output 6(float)
|
||||
65: 15(int) Constant 4
|
||||
69: 15(int) Constant 5
|
||||
|
|
@ -450,34 +450,34 @@ Shader version: 500
|
|||
Store 45(flattenTemp) 46
|
||||
49: 19(ptr) AccessChain 45(flattenTemp) 16
|
||||
50: 7(fvec4) Load 49
|
||||
Store 48(@entryPointOutput_Position) 50
|
||||
Store 48(@entryPointOutput.Position) 50
|
||||
55: 24(ptr) AccessChain 45(flattenTemp) 21 23
|
||||
56: 6(float) Load 55
|
||||
58: 57(ptr) AccessChain 54(@entryPointOutput_clip1) 16
|
||||
58: 57(ptr) AccessChain 54(@entryPointOutput.clip1) 16
|
||||
Store 58 56
|
||||
59: 24(ptr) AccessChain 45(flattenTemp) 21 27
|
||||
60: 6(float) Load 59
|
||||
61: 57(ptr) AccessChain 54(@entryPointOutput_clip1) 21
|
||||
61: 57(ptr) AccessChain 54(@entryPointOutput.clip1) 21
|
||||
Store 61 60
|
||||
62: 24(ptr) AccessChain 45(flattenTemp) 21 30
|
||||
63: 6(float) Load 62
|
||||
64: 57(ptr) AccessChain 54(@entryPointOutput_clip1) 32
|
||||
64: 57(ptr) AccessChain 54(@entryPointOutput.clip1) 32
|
||||
Store 64 63
|
||||
66: 24(ptr) AccessChain 45(flattenTemp) 32 23
|
||||
67: 6(float) Load 66
|
||||
68: 57(ptr) AccessChain 54(@entryPointOutput_clip1) 65
|
||||
68: 57(ptr) AccessChain 54(@entryPointOutput.clip1) 65
|
||||
Store 68 67
|
||||
70: 24(ptr) AccessChain 45(flattenTemp) 32 27
|
||||
71: 6(float) Load 70
|
||||
72: 57(ptr) AccessChain 54(@entryPointOutput_clip1) 69
|
||||
72: 57(ptr) AccessChain 54(@entryPointOutput.clip1) 69
|
||||
Store 72 71
|
||||
74: 24(ptr) AccessChain 45(flattenTemp) 32 30
|
||||
75: 6(float) Load 74
|
||||
76: 57(ptr) AccessChain 54(@entryPointOutput_clip1) 73
|
||||
76: 57(ptr) AccessChain 54(@entryPointOutput.clip1) 73
|
||||
Store 76 75
|
||||
78: 24(ptr) AccessChain 45(flattenTemp) 32 40
|
||||
79: 6(float) Load 78
|
||||
80: 57(ptr) AccessChain 54(@entryPointOutput_clip1) 77
|
||||
80: 57(ptr) AccessChain 54(@entryPointOutput.clip1) 77
|
||||
Store 80 79
|
||||
Return
|
||||
FunctionEnd
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue