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
|
|
@ -152,7 +152,6 @@ Shader version: 500
|
|||
0:11 Constant:
|
||||
0:11 1 (const int)
|
||||
0:? Linker Objects
|
||||
0:? '@entryPointOutput' (layout( location=0) out structure{})
|
||||
0:? 'Position' (layout( location=0) in 4-component vector of float)
|
||||
0:? '@entryPointOutput_ClipRect' ( out 4-element array of float ClipDistance)
|
||||
|
||||
|
|
@ -313,19 +312,18 @@ Shader version: 500
|
|||
0:11 Constant:
|
||||
0:11 1 (const int)
|
||||
0:? Linker Objects
|
||||
0:? '@entryPointOutput' (layout( location=0) out structure{})
|
||||
0:? 'Position' (layout( location=0) in 4-component vector of float)
|
||||
0:? '@entryPointOutput_ClipRect' ( out 4-element array of float ClipDistance)
|
||||
|
||||
// Module Version 10000
|
||||
// Generated by (magic number): 80001
|
||||
// Id's are bound by 76
|
||||
// Id's are bound by 73
|
||||
|
||||
Capability Shader
|
||||
Capability ClipDistance
|
||||
1: ExtInstImport "GLSL.std.450"
|
||||
MemoryModel Logical GLSL450
|
||||
EntryPoint Vertex 4 "main" 44 51 57 75
|
||||
EntryPoint Vertex 4 "main" 44 51 57
|
||||
Source HLSL 500
|
||||
Name 4 "main"
|
||||
Name 8 "VS_INPUT"
|
||||
|
|
@ -341,12 +339,9 @@ Shader version: 500
|
|||
Name 47 "flattenTemp"
|
||||
Name 51 "@entryPointOutput_Position"
|
||||
Name 57 "@entryPointOutput_ClipRect"
|
||||
Name 73 "VS_OUTPUT"
|
||||
Name 75 "@entryPointOutput"
|
||||
Decorate 44(Position) Location 0
|
||||
Decorate 51(@entryPointOutput_Position) BuiltIn Position
|
||||
Decorate 57(@entryPointOutput_ClipRect) BuiltIn ClipDistance
|
||||
Decorate 75(@entryPointOutput) Location 0
|
||||
2: TypeVoid
|
||||
3: TypeFunction 2
|
||||
6: TypeFloat 32
|
||||
|
|
@ -384,9 +379,6 @@ Shader version: 500
|
|||
60: TypePointer Output 6(float)
|
||||
65: 20(int) Constant 2
|
||||
69: 20(int) Constant 3
|
||||
73(VS_OUTPUT): TypeStruct
|
||||
74: TypePointer Output 73(VS_OUTPUT)
|
||||
75(@entryPointOutput): 74(ptr) Variable Output
|
||||
4(main): 2 Function None 3
|
||||
5: Label
|
||||
42(v): 41(ptr) Variable Function
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue