From 5f36a16612c5ff027422b8b3fd7ee403ce1c74af Mon Sep 17 00:00:00 2001 From: baldurk Date: Mon, 13 Feb 2017 10:00:37 +0000 Subject: [PATCH] atomic operations on buffers aren't writeonly --- renderdoc/data/glsl/histogram.comp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/renderdoc/data/glsl/histogram.comp b/renderdoc/data/glsl/histogram.comp index 1b9c38900..01588b37a 100644 --- a/renderdoc/data/glsl/histogram.comp +++ b/renderdoc/data/glsl/histogram.comp @@ -24,7 +24,7 @@ //#include "texsample.h" // while includes aren't supported in glslang, this will be added in code -layout(binding=0, std140) writeonly buffer minmaxresultdest +layout(binding=0, std140) buffer minmaxresultdest { uvec4 result[HGRAM_NUM_BUCKETS]; } dest;