SPV: Generate the LocalSize Execution Mode for compute shaders.
This commit is contained in:
parent
56bab0483a
commit
b56a26ab4d
6 changed files with 15 additions and 5 deletions
|
|
@ -14,6 +14,7 @@ Linked compute stage:
|
|||
1: ExtInstImport "GLSL.std.450"
|
||||
MemoryModel Logical GLSL450
|
||||
EntryPoint GLCompute 4 "main"
|
||||
ExecutionMode 4 LocalSize 16 32 4
|
||||
Name 4 "main"
|
||||
Name 13 "outb"
|
||||
MemberName 13(outb) 0 "f"
|
||||
|
|
|
|||
|
|
@ -15,6 +15,7 @@ TBD functionality: Is atomic_uint an opaque handle in the uniform storage class,
|
|||
1: ExtInstImport "GLSL.std.450"
|
||||
MemoryModel Logical GLSL450
|
||||
EntryPoint GLCompute 4 "main"
|
||||
ExecutionMode 4 LocalSize 1 1 1
|
||||
Name 4 "main"
|
||||
Name 10 "func(au1;"
|
||||
Name 9 "c"
|
||||
|
|
|
|||
|
|
@ -14,6 +14,7 @@ Linked compute stage:
|
|||
1: ExtInstImport "GLSL.std.450"
|
||||
MemoryModel Logical GLSL450
|
||||
EntryPoint GLCompute 4 "main"
|
||||
ExecutionMode 4 LocalSize 1 1 1
|
||||
Name 4 "main"
|
||||
Name 8 "bufName"
|
||||
MemberName 8(bufName) 0 "f"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue