Summary: | [i915 gles2] "if (expression with builtin/varying variables) discard" breaks linkage | ||
---|---|---|---|
Product: | Mesa | Reporter: | Shuang He <shuang.he> |
Component: | Drivers/DRI/i915 | Assignee: | Kenneth Graunke <kenneth> |
Status: | VERIFIED FIXED | QA Contact: | |
Severity: | normal | ||
Priority: | medium | CC: | idr, kenneth |
Version: | git | ||
Hardware: | Other | ||
OS: | Linux (All) | ||
Whiteboard: | |||
i915 platform: | i915 features: |
Description
Shuang He
2010-11-29 23:26:15 UTC
I believe this should be fixed by the following commit: commit 940df10100d740ef27fa39026fd51c3199ed3d62 Author: Kenneth Graunke <kenneth@whitecape.org> Date: Thu Nov 25 01:09:26 2010 -0800 glsl: Add a lowering pass to move discards out of if-statements. This should allow lower_if_to_cond_assign to work in the presence of discards, fixing bug #31690 and likely #31983. NOTE: This is a candidate for the 7.9 branch. yes, it works for me. though it's reporting: i915_program_error: Bad source->Index: 12 i915_program_error: Bad source->Index: 12 i915_program_error: Bad source->Index: 12 and FYI, it also fixes 5 OpenGL ES 2.0 conformance tests I'd go ahead to mark this as fixed verified on pineview against: Libdrm: (master)2.4.22-19-gaf3d282afbd3360245c2ef2d3552b2530f67481d Mesa: (master)09fba30fded4505e2cc5a93fd84cb1a73b7320a7 Xserver: (master)xorg-server-1.9.0-376-g311cad33155c64ed996418808727fc417168592e Xf86_video_intel: (master)2.13.901-9-g55c5f1876e2329a938955967f5d45c814e50beb5 Kernel: (drm-intel-next) b9e68670cc3a13166b389ce847af19b0d0d33c67 |
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.