forked from KhronosGroup/glslang
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add tests for compute shader derivatives with spec constant workgroup…
… size
- Loading branch information
1 parent
dc10121
commit f7f0f30
Showing
5 changed files
with
30 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
spv.computeShaderDerivativesSpec.comp | ||
ERROR: 0:5: 'derivative_group_quadsNV' : requires local_size_x and local_size_y to be multiple of two | ||
ERROR: 1 compilation errors. No code generated. | ||
|
||
|
||
SPIR-V is not generated for failed compile or link |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
spv.computeShaderDerivativesSpec2.comp | ||
ERROR: 0:5: 'derivative_group_linearNV' : requires total group size to be multiple of four | ||
ERROR: 1 compilation errors. No code generated. | ||
|
||
|
||
SPIR-V is not generated for failed compile or link |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
#version 450 | ||
#extension GL_NV_compute_shader_derivatives : require | ||
|
||
layout (local_size_x_id = 0, local_size_y_id = 1) in; | ||
layout(derivative_group_quadsNV) in; | ||
|
||
void main(){ | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
#version 320 es | ||
#extension GL_NV_compute_shader_derivatives : require | ||
|
||
layout (local_size_x_id = 0, local_size_y_id = 1) in; | ||
layout(derivative_group_linearNV) in; | ||
|
||
void main(){ | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters