Add ES 320 support and additional error checks for SPV_NV_mesh_shader
- Add ES 320 support - Error out use of perprimitiveNV for non mesh/fragment shaders - Error out use of mesh/task shaders w/o use of NV_mesh_shader - Error out use of NV_mesh_shader for non task/mesh shaders - Error out use of perviewNV for non mesh shaders - Error out use of taskNV for non mesh/task shaders - Add test case for mesh shader with ES 320 profile
This commit is contained in:
parent
a8453d4bc0
commit
95e2d4ec02
11 changed files with 1345 additions and 1279 deletions
|
|
@ -1,4 +1,4 @@
|
|||
#version 450
|
||||
#version 320 es
|
||||
|
||||
#define MAX_VER 81
|
||||
#define MAX_PRIM 32
|
||||
|
|
@ -36,8 +36,8 @@ layout(location=20) out myblock2 {
|
|||
|
||||
void main()
|
||||
{
|
||||
uint iid = gl_LocalInvocationID.x;
|
||||
uint gid = gl_WorkGroupID.x;
|
||||
int iid = int(gl_LocalInvocationID.x);
|
||||
int gid = int(gl_WorkGroupID.x);
|
||||
|
||||
blk[iid].f = 11.0;
|
||||
blk[iid+1].fArr[gid] = blk[iid].f;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue