HLSL: Include built-in processing for vertex input and fragment output flattening.
This commit is contained in:
@@ -247,7 +247,7 @@ gl_FragCoord origin is upper left
|
||||
0:53 Constant:
|
||||
0:53 0 (const int)
|
||||
0:53 move second child to first child ( temp float)
|
||||
0:? 'Depth' ( out float FragDepth)
|
||||
0:? '@entryPointOutput_Depth' ( out float FragDepth)
|
||||
0:53 Depth: direct index for structure ( temp float)
|
||||
0:53 'flattenTemp' ( temp structure{ temp 4-component vector of float Color, temp float Depth})
|
||||
0:53 Constant:
|
||||
@@ -269,8 +269,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:
|
||||
@@ -522,7 +522,7 @@ gl_FragCoord origin is upper left
|
||||
0:53 Constant:
|
||||
0:53 0 (const int)
|
||||
0:53 move second child to first child ( temp float)
|
||||
0:? 'Depth' ( out float FragDepth)
|
||||
0:? '@entryPointOutput_Depth' ( out float FragDepth)
|
||||
0:53 Depth: direct index for structure ( temp float)
|
||||
0:53 'flattenTemp' ( temp structure{ temp 4-component vector of float Color, temp float Depth})
|
||||
0:53 Constant:
|
||||
@@ -544,8 +544,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
|
||||
@@ -605,7 +605,7 @@ gl_FragCoord origin is upper left
|
||||
Name 176 "psout"
|
||||
Name 185 "flattenTemp"
|
||||
Name 188 "Color"
|
||||
Name 192 "Depth"
|
||||
Name 192 "@entryPointOutput_Depth"
|
||||
Name 195 "g_sSamp2d"
|
||||
Name 196 "g_sSamp2D_b"
|
||||
Name 197 "g_tTex1df4a"
|
||||
@@ -625,7 +625,7 @@ gl_FragCoord origin is upper left
|
||||
Decorate 160(g_tTexcdi4) DescriptorSet 0
|
||||
Decorate 169(g_tTexcdu4) DescriptorSet 0
|
||||
Decorate 188(Color) Location 0
|
||||
Decorate 192(Depth) BuiltIn FragDepth
|
||||
Decorate 192(@entryPointOutput_Depth) BuiltIn FragDepth
|
||||
Decorate 195(g_sSamp2d) DescriptorSet 0
|
||||
Decorate 196(g_sSamp2D_b) DescriptorSet 0
|
||||
Decorate 197(g_tTex1df4a) DescriptorSet 0
|
||||
@@ -733,7 +733,7 @@ gl_FragCoord origin is upper left
|
||||
187: TypePointer Output 7(fvec4)
|
||||
188(Color): 187(ptr) Variable Output
|
||||
191: TypePointer Output 6(float)
|
||||
192(Depth): 191(ptr) Variable Output
|
||||
192(@entryPointOutput_Depth): 191(ptr) Variable Output
|
||||
195(g_sSamp2d): 48(ptr) Variable UniformConstant
|
||||
196(g_sSamp2D_b): 48(ptr) Variable UniformConstant
|
||||
197(g_tTex1df4a): 44(ptr) Variable UniformConstant
|
||||
@@ -747,7 +747,7 @@ gl_FragCoord origin is upper left
|
||||
Store 188(Color) 190
|
||||
193: 180(ptr) AccessChain 185(flattenTemp) 16
|
||||
194: 6(float) Load 193
|
||||
Store 192(Depth) 194
|
||||
Store 192(@entryPointOutput_Depth) 194
|
||||
Return
|
||||
FunctionEnd
|
||||
10(@main():8(PS_OUTPUT) Function None 9
|
||||
|
||||
Reference in New Issue
Block a user