[Piglit] [PATCH] arb_shader_storage_buffer_object: test buffer member swizzle
Timothy Arceri
t_arceri at yahoo.com.au
Sat Oct 17 15:11:45 PDT 2015
Tests a regression in Mesa.
---
.../compiler/atomicMin-swizzle.vert | 19 +++++++++++++++++++
1 file changed, 19 insertions(+)
create mode 100644 tests/spec/arb_shader_storage_buffer_object/compiler/atomicMin-swizzle.vert
diff --git a/tests/spec/arb_shader_storage_buffer_object/compiler/atomicMin-swizzle.vert b/tests/spec/arb_shader_storage_buffer_object/compiler/atomicMin-swizzle.vert
new file mode 100644
index 0000000..0a07ba5
--- /dev/null
+++ b/tests/spec/arb_shader_storage_buffer_object/compiler/atomicMin-swizzle.vert
@@ -0,0 +1,19 @@
+// [config]
+// expect_result: pass
+// glsl_version: 1.20
+// require_extensions: GL_ARB_shader_storage_buffer_object
+// check_link: true
+// [end config]
+
+#version 120
+#extension GL_ARB_shader_storage_buffer_object: require
+
+buffer bufblock {
+ ivec4 iface_var;
+};
+
+void main()
+{
+ atomicMin(iface_var.x, 2);
+ gl_Position = vec4(0.0);
+}
--
2.4.3
More information about the Piglit
mailing list