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

@ -13,7 +13,7 @@ ERROR: 7 compilation errors. No code generated.
Shader version: 410
invocations = 0
max_vertices = 0
max_vertices = -1
input primitive = none
output primitive = none
ERROR: node is still EOpNull!
@ -66,7 +66,7 @@ ERROR: Linking geometry stage: At least one shader must specify a layout(max_ver
Shader version: 410
invocations = 0
max_vertices = 0
max_vertices = -1
input primitive = none
output primitive = none
ERROR: node is still EOpNull!