Summary: | [Bisected IVB]Oglc glsl-bif-tex-texture(basic.texture.sampler1DShadow.set2-mips) regressed | ||
---|---|---|---|
Product: | Mesa | Reporter: | lu hua <huax.lu> |
Component: | Drivers/DRI/i965 | Assignee: | Kenneth Graunke <kenneth> |
Status: | CLOSED WONTFIX | QA Contact: | Intel 3D Bugs Mailing List <intel-3d-bugs> |
Severity: | major | ||
Priority: | medium | CC: | xunx.fang |
Version: | git | ||
Hardware: | All | ||
OS: | Linux (All) | ||
Whiteboard: | |||
i915 platform: | i915 features: | ||
Attachments: | output |
Description
lu hua
2012-07-03 20:42:04 UTC
Most of the oglc glsl-bif-tex tests have had fairly random results for me. In other words, it sometimes passes, and sometimes fails. I've spent weeks looking into this already, with no progress. While we want to fix this, I'm skeptical that it's actually a regression, so I've lowered the priority. Bisect shows: 5b83bdc154ec8d607a4c4d96171d0128e51abaec is the first bad commit commit 5b83bdc154ec8d607a4c4d96171d0128e51abaec Author: Kenneth Graunke <kenneth@whitecape.org> Date: Sat Jun 16 02:08:13 2012 -0700 i965: Fix brw_swap_cmod() for LE/GE comparisons. The idea here is to rewrite comparisons like 2 >= x with x <= 2; we want to simply exchange arguments, not negate the condition. If equality was part of the original comparison, it should remain part of the swapped version. This is the true cause of bug #50298. It didn't manifest itself on Sandybridge because we embed the conditional modifier in the IF instruction rather than emitting a CMP. All other platforms use CMP. It also didn't manifest itself on the master branch because commit be5f27a84d ("glsl: Refine the loop instruction counting.") papered over the problem. NOTE: This is a candidate for stable release branches. Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=50298 Signed-off-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Eric Anholt <eric@anholt.net> Created attachment 65222 [details]
output
I run it 20 cycles, It fails 20 times. system environment: Mesa: (master)61b62c007a7941e9b45e83440e932160a597e0e1 Kernel:(drm-intel-next-queued) ab3951eb74e7c33a2f5b7b64d72e82f1eea61571 |
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.