aboutsummaryrefslogtreecommitdiff
path: root/BuddhaTest/Shaders
diff options
context:
space:
mode:
Diffstat (limited to 'BuddhaTest/Shaders')
-rw-r--r--BuddhaTest/Shaders/BuddhaCompute.glsl3
1 files changed, 2 insertions, 1 deletions
diff --git a/BuddhaTest/Shaders/BuddhaCompute.glsl b/BuddhaTest/Shaders/BuddhaCompute.glsl
index 61bbb6d..5998d6e 100644
--- a/BuddhaTest/Shaders/BuddhaCompute.glsl
+++ b/BuddhaTest/Shaders/BuddhaCompute.glsl
@@ -15,6 +15,7 @@ layout(std430, binding=4) restrict buffer renderedDataBlue
restrict uint counts_SSBOBlue[];
};
+layout(packed)
struct individualData
{
uint phase;
@@ -23,7 +24,7 @@ struct individualData
vec2 lastPosition;
};
-layout(std430, binding=5) restrict buffer statusBuffer
+layout(packed, binding=5) restrict buffer statusBuffer
{
restrict individualData state[];
};