Created attachment 39887 [details] glsl-fs-vec4-indexing-temp-dst.png mesa: cff1aeea10c6d8520cbb17381d81a684b2e9408b (master) The piglit glsl-fs-vec4-indexing-dst* fail on llvmpipe but pass on swrast and softpipe. All the tests exhibit this warning. WARNING: LLVM scatter store of temp regs not implemented $ ./bin/shader_runner tests/shaders/glsl-fs-vec4-indexing-temp-dst.shader_test Probe at (15,15) Expected: 0.600000 0.600000 0.700000 Observed: 0.101961 0.200000 0.200000 Probe at (35,15) Expected: 0.600000 0.600000 0.600000 Observed: 0.101961 0.200000 0.200000 Probe at (55,15) Expected: 0.500000 0.700000 0.700000 Observed: 0.101961 0.200000 0.200000 Probe at (75,15) Expected: 0.600000 0.700000 0.600000 Observed: 0.101961 0.200000 0.200000 $ ./bin/shader_runner tests/shaders/glsl-fs-vec4-indexing-temp-dst-in-loop.shader_test Probe at (35,15) Expected: 0.700000 0.800000 0.800000 Observed: 0.800000 0.800000 1.000000 Probe at (55,15) Expected: 0.800000 0.600000 0.800000 Observed: 0.800000 0.800000 1.000000 Probe at (75,15) Expected: 0.900000 0.600000 0.600000 Observed: 0.800000 0.800000 1.000000 Probe at (95,15) Expected: 0.800000 0.400000 0.600000 Observed: 0.800000 0.800000 1.000000 Probe at (115,15) Expected: 0.900000 0.200000 0.400000 Observed: 0.800000 0.800000 1.000000 Probe at (135,15) Expected: 0.800000 0.200000 0.200000 Observed: 0.800000 0.800000 1.000000 Probe at (155,15) Expected: 0.900000 0.200000 0.200000 Observed: 0.800000 0.800000 1.000000 Probe at (175,15) Expected: 0.800000 0.000000 0.000000 Observed: 0.800000 0.800000 1.000000 $ ./bin/shader_runner tests/shaders/glsl-fs-vec4-indexing-temp-dst-in-nested-loop-combined.shader_test Probe at (35,15) Expected: 0.425000 0.500000 0.500000 Observed: 0.400000 0.501961 0.501961 Probe at (55,15) Expected: 0.475000 0.500000 0.500000 Observed: 0.400000 0.501961 0.501961 Probe at (75,15) Expected: 0.550000 0.500000 0.500000 Observed: 0.400000 0.501961 0.501961 Probe at (95,15) Expected: 0.700000 0.500000 0.500000 Observed: 0.400000 0.501961 0.501961 Probe at (115,15) Expected: 0.900000 0.500000 0.500000 Observed: 0.400000 0.501961 0.501961 Probe at (135,15) Expected: 1.000000 0.500000 0.500000 Observed: 0.400000 0.501961 0.501961 Probe at (155,15) Expected: 0.925000 0.500000 0.500000 Observed: 0.400000 0.501961 0.501961 Probe at (175,15) Expected: 0.500000 0.500000 0.500000 Observed: 0.400000 0.501961 0.501961 Probe at (195,15) Expected: 0.700000 0.500000 0.500000 Observed: 0.400000 0.501961 0.501961 Probe at (215,15) Expected: 1.000000 0.500000 0.500000 Observed: 0.400000 0.501961 0.501961
Created attachment 39888 [details] glsl-fs-vec4-indexing-temp-dst-in-loop.png
Created attachment 39889 [details] glsl-fs-vec4-indexing-temp-dst-in-nested-loop-combined.png
Should be fixed with Mesa commit e7f5d19a1106351f2db8f62f59f51be86eaa93df, but only when using LLVM 2.7 or later. There seems to be a bug in LLVM 2.6 that's hit by this test. Vinson, I'll leave it up to you to either close this bug or update the summary to be "LLVM 2.6".
mesa: 6bf0ac0916bf09e049b378d94478035072efed53 (master) Verified fixed for llvm-2.7, llvm-2.8, and llvm-2.9svn. The piglit glsl-[fs|vs]-indexing-temp-dst* tests still fail with llvm-2.6. Updated the bug title to indicate failures are only with llvm-2.6. This bug can be closed when llvmpipe no longer supports llvm-2.6.
It's still possible to build llvmpipe against llvm 2.6, but it's not worth our while chasing the bug for llvm 2.6. I already updated mesa/src/gallium/drivers/llvmpipe/README to recommend LLVM 2.8. I think we can close this now.
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.