Semantics: Geometry stage can support max_vertices = 0.

To do this, more generally use a named -1 as a not set value.
This commit is contained in:
John Kessenich
2015-12-11 15:44:12 -07:00
parent 3c24a06c8c
commit 494a02a2b0
18 changed files with 93 additions and 36 deletions

View File

@@ -19,7 +19,7 @@ ERROR: 1 compilation errors. No code generated.
Shader version: 150
invocations = 0
max_vertices = 0
max_vertices = -1
input primitive = none
output primitive = points
ERROR: node is still EOpNull!
@@ -30,7 +30,7 @@ ERROR: node is still EOpNull!
noMain2.geom
Shader version: 150
invocations = 0
max_vertices = 0
max_vertices = -1
input primitive = none
output primitive = line_strip
0:? Sequence
@@ -53,7 +53,7 @@ ERROR: Linking fragment stage: Multiple function bodies in multiple compilation
Shader version: 150
invocations = 0
max_vertices = 0
max_vertices = -1
input primitive = none
output primitive = points
ERROR: node is still EOpNull!