WIP: HLSL: preserve empty structures after splitting
This commit is contained in:
@@ -86,6 +86,7 @@ output primitive = triangle_strip
|
||||
0:? 'i' (temp 3-element array of structure{temp 4-component vector of float pos})
|
||||
0:? 'ts' (temp structure{temp 4-component vector of float pos})
|
||||
0:? Linker Objects
|
||||
0:? 'i' (layout(location=0 ) in 3-element array of structure{})
|
||||
|
||||
|
||||
Linked geometry stage:
|
||||
@@ -178,15 +179,16 @@ output primitive = triangle_strip
|
||||
0:? 'i' (temp 3-element array of structure{temp 4-component vector of float pos})
|
||||
0:? 'ts' (temp structure{temp 4-component vector of float pos})
|
||||
0:? Linker Objects
|
||||
0:? 'i' (layout(location=0 ) in 3-element array of structure{})
|
||||
|
||||
// Module Version 10000
|
||||
// Generated by (magic number): 80001
|
||||
// Id's are bound by 63
|
||||
// Id's are bound by 67
|
||||
|
||||
Capability Geometry
|
||||
1: ExtInstImport "GLSL.std.450"
|
||||
MemoryModel Logical GLSL450
|
||||
EntryPoint Geometry 4 "main" 46
|
||||
EntryPoint Geometry 4 "main" 46 66
|
||||
ExecutionMode 4 Triangles
|
||||
ExecutionMode 4 Invocations 1
|
||||
ExecutionMode 4 OutputTriangleStrip
|
||||
@@ -206,7 +208,10 @@ output primitive = triangle_strip
|
||||
Name 58 "ts"
|
||||
Name 59 "param"
|
||||
Name 61 "param"
|
||||
Name 63 "PS_IN"
|
||||
Name 66 "i"
|
||||
Decorate 46(i_pos) BuiltIn Position
|
||||
Decorate 66(i) Location 0
|
||||
2: TypeVoid
|
||||
3: TypeFunction 2
|
||||
6: TypeFloat 32
|
||||
@@ -231,6 +236,10 @@ output primitive = triangle_strip
|
||||
46(i_pos): 45(ptr) Variable Input
|
||||
47: TypePointer Input 7(fvec4)
|
||||
54: 20(int) Constant 2
|
||||
63(PS_IN): TypeStruct
|
||||
64: TypeArray 63(PS_IN) 10
|
||||
65: TypePointer Input 64
|
||||
66(i): 65(ptr) Variable Input
|
||||
4(main): 2 Function None 3
|
||||
5: Label
|
||||
43(i): 12(ptr) Variable Function
|
||||
|
||||
Reference in New Issue
Block a user