HLSL: Include built-in processing for vertex input and fragment output flattening.
This commit is contained in:
parent
ecd08bc36c
commit
3322dd8f99
55 changed files with 478 additions and 437 deletions
|
|
@ -173,7 +173,7 @@ gl_FragCoord origin is upper left
|
|||
0:38 Constant:
|
||||
0:38 0 (const int)
|
||||
0:38 move second child to first child ( temp float)
|
||||
0:? '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:
|
||||
|
|
@ -201,8 +201,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:? 'Depth' ( out float FragDepth)
|
||||
|
||||
|
||||
Linked fragment stage:
|
||||
|
|
@ -382,7 +382,7 @@ gl_FragCoord origin is upper left
|
|||
0:38 Constant:
|
||||
0:38 0 (const int)
|
||||
0:38 move second child to first child ( temp float)
|
||||
0:? '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:
|
||||
|
|
@ -410,8 +410,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:? 'Depth' ( out float FragDepth)
|
||||
|
||||
// Module Version 10000
|
||||
// Generated by (magic number): 80001
|
||||
|
|
@ -452,7 +452,7 @@ gl_FragCoord origin is upper left
|
|||
Name 151 "psout"
|
||||
Name 162 "flattenTemp"
|
||||
Name 165 "Color"
|
||||
Name 169 "Depth"
|
||||
Name 169 "@entryPointOutput_Depth"
|
||||
Name 174 "g_tTex3df4"
|
||||
Name 177 "g_tTex3di4"
|
||||
Name 180 "g_tTex3du4"
|
||||
|
|
@ -478,7 +478,7 @@ gl_FragCoord origin is upper left
|
|||
Decorate 123(g_tTexcdi4) DescriptorSet 0
|
||||
Decorate 138(g_tTexcdu4) DescriptorSet 0
|
||||
Decorate 165(Color) Location 0
|
||||
Decorate 169(Depth) BuiltIn FragDepth
|
||||
Decorate 169(@entryPointOutput_Depth) BuiltIn FragDepth
|
||||
Decorate 174(g_tTex3df4) DescriptorSet 0
|
||||
Decorate 177(g_tTex3di4) DescriptorSet 0
|
||||
Decorate 180(g_tTex3du4) DescriptorSet 0
|
||||
|
|
@ -566,7 +566,7 @@ gl_FragCoord origin is upper left
|
|||
164: TypePointer Output 7(fvec4)
|
||||
165(Color): 164(ptr) Variable Output
|
||||
168: TypePointer Output 6(float)
|
||||
169(Depth): 168(ptr) Variable Output
|
||||
169(@entryPointOutput_Depth): 168(ptr) Variable Output
|
||||
172: TypeImage 6(float) 3D sampled format:Unknown
|
||||
173: TypePointer UniformConstant 172
|
||||
174(g_tTex3df4): 173(ptr) Variable UniformConstant
|
||||
|
|
@ -613,7 +613,7 @@ gl_FragCoord origin is upper left
|
|||
Store 165(Color) 167
|
||||
170: 12(ptr) AccessChain 162(flattenTemp) 157
|
||||
171: 6(float) Load 170
|
||||
Store 169(Depth) 171
|
||||
Store 169(@entryPointOutput_Depth) 171
|
||||
Return
|
||||
FunctionEnd
|
||||
10(@main():8(PS_OUTPUT) Function None 9
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue