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:
@@ -12,7 +12,7 @@ ERROR: 7 compilation errors. No code generated.
|
||||
|
||||
|
||||
Shader version: 410
|
||||
invocations = 0
|
||||
invocations = -1
|
||||
max_vertices = -1
|
||||
input primitive = none
|
||||
output primitive = none
|
||||
@@ -65,7 +65,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: 410
|
||||
invocations = 0
|
||||
invocations = 1
|
||||
max_vertices = -1
|
||||
input primitive = none
|
||||
output primitive = none
|
||||
|
||||
@@ -10,7 +10,7 @@ ERROR: 6 compilation errors. No code generated.
|
||||
|
||||
|
||||
Shader version: 420
|
||||
invocations = 0
|
||||
invocations = -1
|
||||
max_vertices = -1
|
||||
input primitive = triangles
|
||||
output primitive = none
|
||||
@@ -137,7 +137,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: 420
|
||||
invocations = 0
|
||||
invocations = 1
|
||||
max_vertices = -1
|
||||
input primitive = triangles
|
||||
output primitive = none
|
||||
|
||||
@@ -5,7 +5,7 @@ ERROR: 1 compilation errors. No code generated.
|
||||
|
||||
|
||||
Shader version: 420
|
||||
invocations = 0
|
||||
invocations = -1
|
||||
max_vertices = -1
|
||||
input primitive = triangles
|
||||
output primitive = none
|
||||
@@ -44,7 +44,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: 420
|
||||
invocations = 0
|
||||
invocations = 1
|
||||
max_vertices = -1
|
||||
input primitive = triangles
|
||||
output primitive = none
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -12,7 +12,7 @@ Linked geometry stage:
|
||||
MemoryModel Logical GLSL450
|
||||
EntryPoint Geometry 4 "main" 18 70 10 29 33
|
||||
ExecutionMode 4 InputTrianglesAdjacency
|
||||
ExecutionMode 4 Invocations 0
|
||||
ExecutionMode 4 Invocations 1
|
||||
ExecutionMode 4 OutputTriangleStrip
|
||||
ExecutionMode 4 OutputVertices 30
|
||||
Source GLSL 150
|
||||
|
||||
@@ -12,7 +12,7 @@ Linked geometry stage:
|
||||
MemoryModel Logical GLSL450
|
||||
EntryPoint Geometry 4 "main" 20 13
|
||||
ExecutionMode 4 Triangles
|
||||
ExecutionMode 4 Invocations 0
|
||||
ExecutionMode 4 Invocations 1
|
||||
ExecutionMode 4 OutputTriangleStrip
|
||||
ExecutionMode 4 OutputVertices 3
|
||||
Source GLSL 330
|
||||
|
||||
Reference in New Issue
Block a user