https://bugs.freedesktop.org/show_bug.cgi?id=100785
Bug ID: 100785 Summary: [regression, bisected] arb_gpu_shader5 piglit fail Product: Mesa Version: git Hardware: Other OS: All Status: NEW Severity: normal Priority: medium Component: Drivers/Gallium/r600 Assignee: dri-devel@lists.freedesktop.org Reporter: Hi-Angel@yandex.ru QA Contact: dri-devel@lists.freedesktop.org
Failing tests:
bin/arb_gpu_shader5-interpolateAtSample -auto -fbo bin/arb_gpu_shader5-interpolateAtSample-nonconst -auto -fbo
Bisection result:
eb8aa93c03ee89ffd3041d41b6293e4b282b6ce6 is the first bad commit commit eb8aa93c03ee89ffd3041d41b6293e4b282b6ce6 Author: Timothy Arceri tarceri@itsqueeze.com Date: Fri Apr 14 16:25:58 2017 +1000
glsl: disable varying packing for varying used by interpolateAt*
Currently the NIR backends depend on GLSL IR copy propagation to fix up the interpolateAt* function params after varying packing changes the shader input to a global. It's possible copy propagation might not always do what we need it too, and we also shouldn't depend on optimisations to do this type of thing for us.
I'm not sure if the same is true for TGSI, but the following commit should re-enable packing for most cases in a safer way, so we just disable it everywhere.
No change in shader-db for i965 (BDW)
Acked-by: Elie Tournier elie.tournier@collabora.com Reviewed-by: Kenneth Graunke kenneth@whitecape.org
Reverting the commit fixes the problem.