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:
@@ -18,7 +18,7 @@ ERROR: 1 compilation errors. No code generated.
|
||||
|
||||
|
||||
Shader version: 150
|
||||
invocations = 0
|
||||
invocations = -1
|
||||
max_vertices = -1
|
||||
input primitive = none
|
||||
output primitive = points
|
||||
@@ -29,7 +29,7 @@ ERROR: node is still EOpNull!
|
||||
|
||||
noMain2.geom
|
||||
Shader version: 150
|
||||
invocations = 0
|
||||
invocations = -1
|
||||
max_vertices = -1
|
||||
input primitive = none
|
||||
output primitive = line_strip
|
||||
@@ -52,7 +52,7 @@ ERROR: Linking fragment stage: Multiple function bodies in multiple compilation
|
||||
main(
|
||||
|
||||
Shader version: 150
|
||||
invocations = 0
|
||||
invocations = 1
|
||||
max_vertices = -1
|
||||
input primitive = none
|
||||
output primitive = points
|
||||
|
||||
Reference in New Issue
Block a user