SPV: Use heuristic to avoid geometry multi-streams when possible.

This commit is contained in:
John Kessenich
2016-03-03 22:29:11 -07:00
parent 2ac71dfb78
commit f2d8a5c53f
4 changed files with 14 additions and 6 deletions

View File

@@ -9,7 +9,6 @@ Linked geometry stage:
Capability Geometry
Capability ClipDistance
Capability GeometryStreams
1: ExtInstImport "GLSL.std.450"
MemoryModel Logical GLSL450
EntryPoint Geometry 4 "main" 13 20
@@ -31,8 +30,6 @@ Linked geometry stage:
MemberDecorate 11(gl_PerVertex) 0 BuiltIn Position
MemberDecorate 11(gl_PerVertex) 1 BuiltIn ClipDistance
Decorate 11(gl_PerVertex) Block
Decorate 11(gl_PerVertex) Stream 0
Decorate 13 Stream 0
MemberDecorate 16(gl_PerVertex) 0 BuiltIn Position
MemberDecorate 16(gl_PerVertex) 1 BuiltIn ClipDistance
Decorate 16(gl_PerVertex) Block