Summary: | [llvmpipe] piglit arb_shader_texture_lod-texgrad fails | ||
---|---|---|---|
Product: | Mesa | Reporter: | Vinson Lee <vlee> |
Component: | Drivers/Gallium/llvmpipe | Assignee: | mesa-dev |
Status: | RESOLVED MOVED | QA Contact: | |
Severity: | normal | ||
Priority: | medium | CC: | brianp, jfonseca, sroland |
Version: | git | Keywords: | bisected, regression |
Hardware: | x86-64 (AMD64) | ||
OS: | Linux (All) | ||
Whiteboard: | |||
i915 platform: | i915 features: | ||
Bug Depends on: | |||
Bug Blocks: | 79039 |
Description
Vinson Lee
2013-10-11 01:45:06 UTC
The test isn't really valid. Note that passing it before was just an "accident" as the test verifies that results using implicit and explicit gradients for cube maps are the same, and the driver _ignored_ the explicit gradients before, hence the result obviously was always the same. However, there is no requirement that the result is really the same for implicit and explicit gradients (in fact with d3d10 the api would require explicit gradients be treated per-pixel, whereas sharing of implicit gradients in a 2x2 quad is allowed). That said, if you set GALLIVM_DEBUG to include no_quad_rho and no_rho_approx env vars in a debug build the result should be the same currently for llvmpipe, and it looks like it isn't so I guess there is a bug somewhere. I'll look into that but even fixing it I would not expect the test to pass without these env vars. mesa: fc25956badb8e1932cc19d8c97b4be16e92dfc65 (master 10.2.0-devel) The llvmpipe arb_shader_texture_lod-texgrad regression is still present. mesa: 418da979053d4fec5b4913e0407c5c48eab601e5 (master 10.4.0-devel) The llvmpipe arb_shader_texture_lod-texgrad regression is still present. With no_brilinear it goes a bit further. But it still fails: $ GALLIVM_DEBUG=no_quad_lod,no_rho_approx,no_brilinear ./bin/arb_shader_texture_lod-texgrad -auto Left: texture2D, Right: texture2DGradARB Probe color at (107,91) Left: 0.000000 0.258824 0.737255 0.000000 Right: 0.000000 0.235294 0.760784 0.000000 PIGLIT: {"result": "fail" } Anyway, this is not a proper regression, as Roland said, but just one case where two wrongs were making a right. -- GitLab Migration Automatic Message -- This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity. You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/mesa/mesa/issues/229. |
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.