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:
parent
04bb8a01d6
commit
61d9fb9048
13 changed files with 34 additions and 26 deletions
|
|
@ -2,7 +2,7 @@
|
|||
Warning, version 450 is not yet complete; most version-specific features are present, but some are missing.
|
||||
|
||||
Shader version: 450
|
||||
invocations = 0
|
||||
invocations = -1
|
||||
max_vertices = -1
|
||||
input primitive = none
|
||||
output primitive = none
|
||||
|
|
@ -40,7 +40,7 @@ ERROR: Linking geometry stage: At least one shader must specify an output layout
|
|||
ERROR: Linking geometry stage: At least one shader must specify a layout(max_vertices = value)
|
||||
|
||||
Shader version: 450
|
||||
invocations = 0
|
||||
invocations = 1
|
||||
max_vertices = -1
|
||||
input primitive = none
|
||||
output primitive = none
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue