Scripting - Handle compute shader groups automatically
This commit is contained in:
parent
c3ccc9403a
commit
6b3f9bff2a
7 changed files with 37 additions and 29 deletions
test/shaders
|
@ -1,10 +1,5 @@
|
|||
//! type chunk
|
||||
|
||||
layout(
|
||||
local_size_x = 64 ,
|
||||
local_size_y = 16
|
||||
) in;
|
||||
|
||||
//#define DOF_USE_RANDOM
|
||||
|
||||
layout( location = 0 ) uniform sampler2D u_Input;
|
||||
|
|
|
@ -1,6 +1,12 @@
|
|||
#version 450 core
|
||||
|
||||
//! type compute
|
||||
|
||||
layout(
|
||||
local_size_x = 8 ,
|
||||
local_size_y = 64
|
||||
) in;
|
||||
|
||||
//! include chunks/dof-cs.glsl
|
||||
|
||||
void main()
|
||||
|
|
|
@ -1,6 +1,12 @@
|
|||
#version 450 core
|
||||
|
||||
//! type compute
|
||||
|
||||
layout(
|
||||
local_size_x = 8 ,
|
||||
local_size_y = 20
|
||||
) in;
|
||||
|
||||
//! include chunks/dof-cs.glsl
|
||||
|
||||
void main()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue