Mesa had a bug where using an "auxiliary storage qualifier" (to use the 420pack terminology) such as "centroid" would lose any precision qualifiers.
This simple test trips that bug. Reported-by: Kevin Rogovin <[email protected]> Signed-off-by: Kenneth Graunke <[email protected]> --- tests/spec/glsl-es-3.00/compiler/aux-storage-precision.frag | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 tests/spec/glsl-es-3.00/compiler/aux-storage-precision.frag diff --git a/tests/spec/glsl-es-3.00/compiler/aux-storage-precision.frag b/tests/spec/glsl-es-3.00/compiler/aux-storage-precision.frag new file mode 100644 index 0000000..1960fbb --- /dev/null +++ b/tests/spec/glsl-es-3.00/compiler/aux-storage-precision.frag @@ -0,0 +1,7 @@ +// [config] +// expect_result: pass +// glsl_version: 3.00 +// [end config] + +#version 300 es +centroid in mediump vec2 foo; -- 1.8.5.2 _______________________________________________ Piglit mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/piglit
