Semantics: 'invocations' defaults to 1, not 0.

'invocations' was using 0 as the "shader never set" flag and as the
default. Formalize this and explicit set to 1 and link time.
This commit is contained in:
John Kessenich 2015-12-13 10:59:17 -07:00
parent 04bb8a01d6
commit 61d9fb9048
13 changed files with 34 additions and 26 deletions

View file

@ -1,6 +1,6 @@
max_vertices_0.geom
Shader version: 330
invocations = 0
invocations = -1
max_vertices = 0
input primitive = points
output primitive = triangle_strip
@ -19,7 +19,7 @@ Linked geometry stage:
Shader version: 330
invocations = 0
invocations = 1
max_vertices = 0
input primitive = points
output primitive = triangle_strip