HLSL: Stop including empty structures in the I/O interface. Fix #785.
This commit is contained in:
parent
6042eb475b
commit
cca42a8ea6
23 changed files with 64 additions and 244 deletions
|
|
@ -192,7 +192,6 @@ triangle order = cw
|
|||
0:? '@entryPointOutput' (layout( location=0) out 3-element array of structure{ temp 3-component vector of float val})
|
||||
0:? 'i' (layout( location=0) in 3-element array of structure{ temp 3-component vector of float val})
|
||||
0:? 'cpid' ( in uint InvocationID)
|
||||
0:? '@patchConstantOutput' (layout( location=1) patch out structure{})
|
||||
0:? '@patchConstantOutput_tfactor' ( patch out 4-element array of float TessLevelOuter)
|
||||
0:? '@patchConstantOutput_flInFactor' ( patch out 2-element array of float TessLevelInner)
|
||||
|
||||
|
|
@ -393,18 +392,17 @@ triangle order = cw
|
|||
0:? '@entryPointOutput' (layout( location=0) out 3-element array of structure{ temp 3-component vector of float val})
|
||||
0:? 'i' (layout( location=0) in 3-element array of structure{ temp 3-component vector of float val})
|
||||
0:? 'cpid' ( in uint InvocationID)
|
||||
0:? '@patchConstantOutput' (layout( location=1) patch out structure{})
|
||||
0:? '@patchConstantOutput_tfactor' ( patch out 4-element array of float TessLevelOuter)
|
||||
0:? '@patchConstantOutput_flInFactor' ( patch out 2-element array of float TessLevelInner)
|
||||
|
||||
// Module Version 10000
|
||||
// Generated by (magic number): 80001
|
||||
// Id's are bound by 127
|
||||
// Id's are bound by 124
|
||||
|
||||
Capability Tessellation
|
||||
1: ExtInstImport "GLSL.std.450"
|
||||
MemoryModel Logical GLSL450
|
||||
EntryPoint TessellationControl 4 "main" 41 45 48 94 108 126
|
||||
EntryPoint TessellationControl 4 "main" 41 45 48 94 108
|
||||
ExecutionMode 4 OutputVertices 3
|
||||
ExecutionMode 4 Triangles
|
||||
ExecutionMode 4 SpacingFractionalOdd
|
||||
|
|
@ -445,8 +443,6 @@ triangle order = cw
|
|||
Name 94 "@patchConstantOutput_tfactor"
|
||||
Name 108 "@patchConstantOutput_flInFactor"
|
||||
Name 112 "o"
|
||||
Name 124 "hs_pcf_t"
|
||||
Name 126 "@patchConstantOutput"
|
||||
Decorate 41(i) Location 0
|
||||
Decorate 45(cpid) BuiltIn InvocationId
|
||||
Decorate 48(@entryPointOutput) Location 0
|
||||
|
|
@ -454,8 +450,6 @@ triangle order = cw
|
|||
Decorate 94(@patchConstantOutput_tfactor) BuiltIn TessLevelOuter
|
||||
Decorate 108(@patchConstantOutput_flInFactor) Patch
|
||||
Decorate 108(@patchConstantOutput_flInFactor) BuiltIn TessLevelInner
|
||||
Decorate 126(@patchConstantOutput) Patch
|
||||
Decorate 126(@patchConstantOutput) Location 1
|
||||
2: TypeVoid
|
||||
3: TypeFunction 2
|
||||
6: TypeFloat 32
|
||||
|
|
@ -501,9 +495,6 @@ triangle order = cw
|
|||
107: TypePointer Output 106
|
||||
108(@patchConstantOutput_flInFactor): 107(ptr) Variable Output
|
||||
119: 6(float) Constant 1082130432
|
||||
124(hs_pcf_t): TypeStruct
|
||||
125: TypePointer Output 124(hs_pcf_t)
|
||||
126(@patchConstantOutput): 125(ptr) Variable Output
|
||||
4(main): 2 Function None 3
|
||||
5: Label
|
||||
39(i): 12(ptr) Variable Function
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue