mirror of
https://github.com/PixarAnimationStudios/OpenSubdiv
synced 2025-01-03 05:31:12 +00:00
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:
parent
6b3b7801a1
commit
11784f9c8f
@ -26,6 +26,7 @@
|
||||
|
||||
|
||||
layout(local_size_x=WORK_GROUP_SIZE, local_size_y=1, local_size_z=1) in;
|
||||
layout(std430) buffer;
|
||||
|
||||
// source and destination buffers
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user