Skip to content

Commit

Permalink
Add readonly qualifier to gpu cache buffer
Browse files Browse the repository at this point in the history
  • Loading branch information
Zakor Gyula committed Sep 9, 2019
1 parent d4bfda8 commit 37c8ee2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion webrender/res/gpu_cache_gfx.glsl
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */

layout(set = 1, binding = 5, std430) buffer sGpuCache
layout(set = 1, binding = 5, std430)readonly buffer sGpuCache
{
vec4 gpu_cache[];
};
Expand Down

0 comments on commit 37c8ee2

Please sign in to comment.