Scripting - Handle compute shader groups automatically

This commit is contained in:
Emmanuel BENOîT 2017-12-25 20:39:56 +01:00
parent c3ccc9403a
commit 6b3f9bff2a
7 changed files with 37 additions and 29 deletions

View file

@ -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;

View file

@ -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()

View file

@ -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()