HLSL: Move debug naming to a simpler, more consistent, scheme.
This will help in expanding flattening and reducing splitting.
This commit is contained in:
@@ -140,13 +140,13 @@ gl_FragCoord origin is upper left
|
||||
0:38 'flattenTemp' ( temp structure{ temp 4-component vector of float Color, temp float Depth})
|
||||
0:38 Function Call: @main( ( temp structure{ temp 4-component vector of float Color, temp float Depth})
|
||||
0:38 move second child to first child ( temp 4-component vector of float)
|
||||
0:? 'Color' (layout( location=0) out 4-component vector of float)
|
||||
0:? '@entryPointOutput.Color' (layout( location=0) out 4-component vector of float)
|
||||
0:38 Color: direct index for structure ( temp 4-component vector of float)
|
||||
0:38 'flattenTemp' ( temp structure{ temp 4-component vector of float Color, temp float Depth})
|
||||
0:38 Constant:
|
||||
0:38 0 (const int)
|
||||
0:38 move second child to first child ( temp float)
|
||||
0:? '@entryPointOutput_Depth' ( out float FragDepth)
|
||||
0:? '@entryPointOutput.Depth' ( out float FragDepth)
|
||||
0:38 Depth: direct index for structure ( temp float)
|
||||
0:38 'flattenTemp' ( temp structure{ temp 4-component vector of float Color, temp float Depth})
|
||||
0:38 Constant:
|
||||
@@ -174,8 +174,8 @@ gl_FragCoord origin is upper left
|
||||
0:? 'g_tTexcdf4a' ( uniform textureCubeArray)
|
||||
0:? 'g_tTexcdi4a' ( uniform itextureCubeArray)
|
||||
0:? 'g_tTexcdu4a' ( uniform utextureCubeArray)
|
||||
0:? '@entryPointOutput_Depth' ( out float FragDepth)
|
||||
0:? 'Color' (layout( location=0) out 4-component vector of float)
|
||||
0:? '@entryPointOutput.Depth' ( out float FragDepth)
|
||||
0:? '@entryPointOutput.Color' (layout( location=0) out 4-component vector of float)
|
||||
|
||||
|
||||
Linked fragment stage:
|
||||
@@ -322,13 +322,13 @@ gl_FragCoord origin is upper left
|
||||
0:38 'flattenTemp' ( temp structure{ temp 4-component vector of float Color, temp float Depth})
|
||||
0:38 Function Call: @main( ( temp structure{ temp 4-component vector of float Color, temp float Depth})
|
||||
0:38 move second child to first child ( temp 4-component vector of float)
|
||||
0:? 'Color' (layout( location=0) out 4-component vector of float)
|
||||
0:? '@entryPointOutput.Color' (layout( location=0) out 4-component vector of float)
|
||||
0:38 Color: direct index for structure ( temp 4-component vector of float)
|
||||
0:38 'flattenTemp' ( temp structure{ temp 4-component vector of float Color, temp float Depth})
|
||||
0:38 Constant:
|
||||
0:38 0 (const int)
|
||||
0:38 move second child to first child ( temp float)
|
||||
0:? '@entryPointOutput_Depth' ( out float FragDepth)
|
||||
0:? '@entryPointOutput.Depth' ( out float FragDepth)
|
||||
0:38 Depth: direct index for structure ( temp float)
|
||||
0:38 'flattenTemp' ( temp structure{ temp 4-component vector of float Color, temp float Depth})
|
||||
0:38 Constant:
|
||||
@@ -356,8 +356,8 @@ gl_FragCoord origin is upper left
|
||||
0:? 'g_tTexcdf4a' ( uniform textureCubeArray)
|
||||
0:? 'g_tTexcdi4a' ( uniform itextureCubeArray)
|
||||
0:? 'g_tTexcdu4a' ( uniform utextureCubeArray)
|
||||
0:? '@entryPointOutput_Depth' ( out float FragDepth)
|
||||
0:? 'Color' (layout( location=0) out 4-component vector of float)
|
||||
0:? '@entryPointOutput.Depth' ( out float FragDepth)
|
||||
0:? '@entryPointOutput.Color' (layout( location=0) out 4-component vector of float)
|
||||
|
||||
// Module Version 10000
|
||||
// Generated by (magic number): 80001
|
||||
@@ -391,8 +391,8 @@ gl_FragCoord origin is upper left
|
||||
Name 106 "g_tTex2du4a"
|
||||
Name 119 "psout"
|
||||
Name 130 "flattenTemp"
|
||||
Name 133 "Color"
|
||||
Name 137 "@entryPointOutput_Depth"
|
||||
Name 133 "@entryPointOutput.Color"
|
||||
Name 137 "@entryPointOutput.Depth"
|
||||
Name 142 "g_tTex1df4"
|
||||
Name 145 "g_tTex1di4"
|
||||
Name 148 "g_tTex1du4"
|
||||
@@ -416,8 +416,8 @@ gl_FragCoord origin is upper left
|
||||
Decorate 71(g_tTex2df4a) DescriptorSet 0
|
||||
Decorate 91(g_tTex2di4a) DescriptorSet 0
|
||||
Decorate 106(g_tTex2du4a) DescriptorSet 0
|
||||
Decorate 133(Color) Location 0
|
||||
Decorate 137(@entryPointOutput_Depth) BuiltIn FragDepth
|
||||
Decorate 133(@entryPointOutput.Color) Location 0
|
||||
Decorate 137(@entryPointOutput.Depth) BuiltIn FragDepth
|
||||
Decorate 142(g_tTex1df4) DescriptorSet 0
|
||||
Decorate 142(g_tTex1df4) Binding 0
|
||||
Decorate 145(g_tTex1di4) DescriptorSet 0
|
||||
@@ -496,9 +496,9 @@ gl_FragCoord origin is upper left
|
||||
123: TypePointer Function 7(fvec4)
|
||||
125: 35(int) Constant 1
|
||||
132: TypePointer Output 7(fvec4)
|
||||
133(Color): 132(ptr) Variable Output
|
||||
133(@entryPointOutput.Color): 132(ptr) Variable Output
|
||||
136: TypePointer Output 6(float)
|
||||
137(@entryPointOutput_Depth): 136(ptr) Variable Output
|
||||
137(@entryPointOutput.Depth): 136(ptr) Variable Output
|
||||
140: TypeImage 6(float) 1D sampled format:Unknown
|
||||
141: TypePointer UniformConstant 140
|
||||
142(g_tTex1df4): 141(ptr) Variable UniformConstant
|
||||
@@ -551,10 +551,10 @@ gl_FragCoord origin is upper left
|
||||
Store 130(flattenTemp) 131
|
||||
134: 123(ptr) AccessChain 130(flattenTemp) 120
|
||||
135: 7(fvec4) Load 134
|
||||
Store 133(Color) 135
|
||||
Store 133(@entryPointOutput.Color) 135
|
||||
138: 12(ptr) AccessChain 130(flattenTemp) 125
|
||||
139: 6(float) Load 138
|
||||
Store 137(@entryPointOutput_Depth) 139
|
||||
Store 137(@entryPointOutput.Depth) 139
|
||||
Return
|
||||
FunctionEnd
|
||||
10(@main():8(PS_OUTPUT) Function None 9
|
||||
|
||||
Reference in New Issue
Block a user