summaryrefslogtreecommitdiff
path: root/tests/reflection/image-types.glsl
diff options
context:
space:
mode:
Diffstat (limited to 'tests/reflection/image-types.glsl')
-rw-r--r--tests/reflection/image-types.glsl6
1 files changed, 4 insertions, 2 deletions
diff --git a/tests/reflection/image-types.glsl b/tests/reflection/image-types.glsl
index 21cd2b629..73ecdaa82 100644
--- a/tests/reflection/image-types.glsl
+++ b/tests/reflection/image-types.glsl
@@ -2,9 +2,11 @@
// Confirm that we expose GLSL `image` types through reflection
-uniform imageBuffer iBuffer;
+layout(rgba32f)
+uniform writeonly imageBuffer iBuffer;
-uniform image2D i2D;
+layout(rgba32f)
+uniform writeonly image2D i2D;
void main()
{}