Fixed GLSL Compute Kernel buffer layout

For improved portability, we need to declare std430 buffer layout
for buffer resources used by the GLSL Compute Kernel.
This commit is contained in:
David G. Yu 2015-09-21 08:22:37 -07:00
parent 6b3b7801a1
commit 11784f9c8f

View File

@ -26,6 +26,7 @@
layout(local_size_x=WORK_GROUP_SIZE, local_size_y=1, local_size_z=1) in; layout(local_size_x=WORK_GROUP_SIZE, local_size_y=1, local_size_z=1) in;
layout(std430) buffer;
// source and destination buffers // source and destination buffers