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
|
|
@ -114,7 +114,6 @@ Shader version: 500
|
|||
0:8 Constant:
|
||||
0:8 2 (const int)
|
||||
0:? Linker Objects
|
||||
0:? '@entryPointOutput' (layout( location=0) out structure{})
|
||||
0:? '@entryPointOutput_clip1' ( out 4-element array of float ClipDistance)
|
||||
|
||||
|
||||
|
|
@ -236,18 +235,17 @@ Shader version: 500
|
|||
0:8 Constant:
|
||||
0:8 2 (const int)
|
||||
0:? Linker Objects
|
||||
0:? '@entryPointOutput' (layout( location=0) out structure{})
|
||||
0:? '@entryPointOutput_clip1' ( out 4-element array of float ClipDistance)
|
||||
|
||||
// Module Version 10000
|
||||
// Generated by (magic number): 80001
|
||||
// Id's are bound by 65
|
||||
// Id's are bound by 62
|
||||
|
||||
Capability Shader
|
||||
Capability ClipDistance
|
||||
1: ExtInstImport "GLSL.std.450"
|
||||
MemoryModel Logical GLSL450
|
||||
EntryPoint Vertex 4 "main" 41 47 64
|
||||
EntryPoint Vertex 4 "main" 41 47
|
||||
Source HLSL 500
|
||||
Name 4 "main"
|
||||
Name 9 "VS_OUTPUT"
|
||||
|
|
@ -259,11 +257,8 @@ Shader version: 500
|
|||
Name 38 "flattenTemp"
|
||||
Name 41 "@entryPointOutput_Position"
|
||||
Name 47 "@entryPointOutput_clip1"
|
||||
Name 62 "VS_OUTPUT"
|
||||
Name 64 "@entryPointOutput"
|
||||
Decorate 41(@entryPointOutput_Position) BuiltIn Position
|
||||
Decorate 47(@entryPointOutput_clip1) BuiltIn ClipDistance
|
||||
Decorate 64(@entryPointOutput) Location 0
|
||||
2: TypeVoid
|
||||
3: TypeFunction 2
|
||||
6: TypeFloat 32
|
||||
|
|
@ -295,9 +290,6 @@ Shader version: 500
|
|||
47(@entryPointOutput_clip1): 46(ptr) Variable Output
|
||||
50: TypePointer Output 6(float)
|
||||
58: 15(int) Constant 3
|
||||
62(VS_OUTPUT): TypeStruct
|
||||
63: TypePointer Output 62(VS_OUTPUT)
|
||||
64(@entryPointOutput): 63(ptr) Variable Output
|
||||
4(main): 2 Function None 3
|
||||
5: Label
|
||||
38(flattenTemp): 13(ptr) Variable Function
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue