From 0cd5602383d1ae85276eacec69d51a15a9e975f4 Mon Sep 17 00:00:00 2001 From: Tim Foley Date: Tue, 11 Jul 2017 12:18:13 -0700 Subject: Improve reporting of GLSL `image*` types - Update stdlib so taht `image*` types have read-write access encoded in their type - TODO: this isn't 100% right, since there are GLSL qualifiers that might override this - Add a test case to verify that the reflection API reports `image*` parameters --- tests/reflection/image-types.glsl | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 tests/reflection/image-types.glsl (limited to 'tests/reflection/image-types.glsl') diff --git a/tests/reflection/image-types.glsl b/tests/reflection/image-types.glsl new file mode 100644 index 000000000..21cd2b629 --- /dev/null +++ b/tests/reflection/image-types.glsl @@ -0,0 +1,10 @@ +//TEST(smoke):SIMPLE:-profile ps_4_0 -target reflection-json + +// Confirm that we expose GLSL `image` types through reflection + +uniform imageBuffer iBuffer; + +uniform image2D i2D; + +void main() +{} -- cgit v1.2.3