HLSL: Include built-in processing for vertex input and fragment output flattening.
This commit is contained in:
@@ -155,7 +155,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:
|
||||
@@ -175,8 +175,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:
|
||||
@@ -338,7 +338,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:
|
||||
@@ -358,8 +358,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
|
||||
@@ -399,7 +399,7 @@ gl_FragCoord origin is upper left
|
||||
Name 132 "psout"
|
||||
Name 141 "flattenTemp"
|
||||
Name 144 "Color"
|
||||
Name 148 "Depth"
|
||||
Name 148 "@entryPointOutput_Depth"
|
||||
Name 151 "g_tTex1df4a"
|
||||
Name 154 "g_tTexcdf4"
|
||||
Name 157 "g_tTexcdi4"
|
||||
@@ -417,7 +417,7 @@ gl_FragCoord origin is upper left
|
||||
Decorate 109(g_tTex3di4) DescriptorSet 0
|
||||
Decorate 120(g_tTex3du4) DescriptorSet 0
|
||||
Decorate 144(Color) Location 0
|
||||
Decorate 148(Depth) BuiltIn FragDepth
|
||||
Decorate 148(@entryPointOutput_Depth) BuiltIn FragDepth
|
||||
Decorate 151(g_tTex1df4a) DescriptorSet 0
|
||||
Decorate 151(g_tTex1df4a) Binding 1
|
||||
Decorate 154(g_tTexcdf4) DescriptorSet 0
|
||||
@@ -510,7 +510,7 @@ gl_FragCoord origin is upper left
|
||||
143: TypePointer Output 7(fvec4)
|
||||
144(Color): 143(ptr) Variable Output
|
||||
147: TypePointer Output 6(float)
|
||||
148(Depth): 147(ptr) Variable Output
|
||||
148(@entryPointOutput_Depth): 147(ptr) Variable Output
|
||||
151(g_tTex1df4a): 15(ptr) Variable UniformConstant
|
||||
152: TypeImage 6(float) Cube sampled format:Unknown
|
||||
153: TypePointer UniformConstant 152
|
||||
@@ -531,7 +531,7 @@ gl_FragCoord origin is upper left
|
||||
Store 144(Color) 146
|
||||
149: 136(ptr) AccessChain 141(flattenTemp) 26
|
||||
150: 6(float) Load 149
|
||||
Store 148(Depth) 150
|
||||
Store 148(@entryPointOutput_Depth) 150
|
||||
Return
|
||||
FunctionEnd
|
||||
10(@main():8(PS_OUTPUT) Function None 9
|
||||
|
||||
Reference in New Issue
Block a user