HLSL: Include built-in processing for vertex input and fragment output flattening.
This commit is contained in:
@@ -209,7 +209,7 @@ gl_FragCoord origin is upper left
|
||||
0:28 Constant:
|
||||
0:28 0 (const int)
|
||||
0:28 move second child to first child ( temp float)
|
||||
0:? 'Depth' ( out float FragDepth)
|
||||
0:? '@entryPointOutput_Depth' ( out float FragDepth)
|
||||
0:28 Depth: direct index for structure ( temp float)
|
||||
0:28 'flattenTemp' ( temp structure{ temp 4-component vector of float Color, temp float Depth})
|
||||
0:28 Constant:
|
||||
@@ -229,8 +229,8 @@ gl_FragCoord origin is upper left
|
||||
0:? 'g_tTexcdf4' ( uniform textureCube)
|
||||
0:? 'g_tTexcdi4' ( uniform itextureCube)
|
||||
0:? 'g_tTexcdu4' ( uniform utextureCube)
|
||||
0:? '@entryPointOutput_Depth' ( out float FragDepth)
|
||||
0:? 'Color' (layout( location=0) out 4-component vector of float)
|
||||
0:? 'Depth' ( out float FragDepth)
|
||||
|
||||
|
||||
Linked fragment stage:
|
||||
@@ -446,7 +446,7 @@ gl_FragCoord origin is upper left
|
||||
0:28 Constant:
|
||||
0:28 0 (const int)
|
||||
0:28 move second child to first child ( temp float)
|
||||
0:? 'Depth' ( out float FragDepth)
|
||||
0:? '@entryPointOutput_Depth' ( out float FragDepth)
|
||||
0:28 Depth: direct index for structure ( temp float)
|
||||
0:28 'flattenTemp' ( temp structure{ temp 4-component vector of float Color, temp float Depth})
|
||||
0:28 Constant:
|
||||
@@ -466,8 +466,8 @@ gl_FragCoord origin is upper left
|
||||
0:? 'g_tTexcdf4' ( uniform textureCube)
|
||||
0:? 'g_tTexcdi4' ( uniform itextureCube)
|
||||
0:? 'g_tTexcdu4' ( uniform utextureCube)
|
||||
0:? '@entryPointOutput_Depth' ( out float FragDepth)
|
||||
0:? 'Color' (layout( location=0) out 4-component vector of float)
|
||||
0:? 'Depth' ( out float FragDepth)
|
||||
|
||||
// Module Version 10000
|
||||
// Generated by (magic number): 80001
|
||||
@@ -507,7 +507,7 @@ gl_FragCoord origin is upper left
|
||||
Name 137 "psout"
|
||||
Name 146 "flattenTemp"
|
||||
Name 149 "Color"
|
||||
Name 153 "Depth"
|
||||
Name 153 "@entryPointOutput_Depth"
|
||||
Name 156 "g_tTex1df4a"
|
||||
Name 159 "g_tTexcdf4"
|
||||
Name 162 "g_tTexcdi4"
|
||||
@@ -525,7 +525,7 @@ gl_FragCoord origin is upper left
|
||||
Decorate 114(g_tTex3di4) DescriptorSet 0
|
||||
Decorate 125(g_tTex3du4) DescriptorSet 0
|
||||
Decorate 149(Color) Location 0
|
||||
Decorate 153(Depth) BuiltIn FragDepth
|
||||
Decorate 153(@entryPointOutput_Depth) BuiltIn FragDepth
|
||||
Decorate 156(g_tTex1df4a) DescriptorSet 0
|
||||
Decorate 156(g_tTex1df4a) Binding 1
|
||||
Decorate 159(g_tTexcdf4) DescriptorSet 0
|
||||
@@ -623,7 +623,7 @@ gl_FragCoord origin is upper left
|
||||
148: TypePointer Output 7(fvec4)
|
||||
149(Color): 148(ptr) Variable Output
|
||||
152: TypePointer Output 6(float)
|
||||
153(Depth): 152(ptr) Variable Output
|
||||
153(@entryPointOutput_Depth): 152(ptr) Variable Output
|
||||
156(g_tTex1df4a): 15(ptr) Variable UniformConstant
|
||||
157: TypeImage 6(float) Cube sampled format:Unknown
|
||||
158: TypePointer UniformConstant 157
|
||||
@@ -644,7 +644,7 @@ gl_FragCoord origin is upper left
|
||||
Store 149(Color) 151
|
||||
154: 141(ptr) AccessChain 146(flattenTemp) 28
|
||||
155: 6(float) Load 154
|
||||
Store 153(Depth) 155
|
||||
Store 153(@entryPointOutput_Depth) 155
|
||||
Return
|
||||
FunctionEnd
|
||||
10(@main():8(PS_OUTPUT) Function None 9
|
||||
|
||||
Reference in New Issue
Block a user