Skip to content

Commit

Permalink
Added read-only flag to lights buffer
Browse files Browse the repository at this point in the history
  • Loading branch information
SaschaWillems committed Aug 18, 2024
1 parent df6f17b commit 74a5cea
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion shaders/dynamic_rendering_local_read/composition.frag
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ struct Light {
float radius;
};

layout(std140, binding = 3) buffer LightsBuffer
layout(std140, binding = 3) readonly buffer LightsBuffer
{
Light lights[ ];
};
Expand Down

0 comments on commit 74a5cea

Please sign in to comment.