Summary: | [swrast] piglit glsl-arb-fragment-coord-conventions regression | ||
---|---|---|---|
Product: | Mesa | Reporter: | Vinson Lee <vlee> |
Component: | Mesa core | Assignee: | mesa-dev |
Status: | RESOLVED FIXED | QA Contact: | mesa-dev |
Severity: | normal | ||
Priority: | medium | CC: | chemecse, imirkin, lemody, plamena.manolova, t_arceri |
Version: | git | Keywords: | bisected, regression |
Hardware: | x86-64 (AMD64) | ||
OS: | Linux (All) | ||
Whiteboard: | |||
i915 platform: | i915 features: | ||
Attachments: | Proposed Patch |
Description
Vinson Lee
2016-03-15 02:15:09 UTC
Created attachment 122339 [details] [review] Proposed Patch Hi Vinson, Could you please give the proposed patch a go? (In reply to Plamena Manolova from comment #2) > Hi Vinson, > Could you please give the proposed patch a go? The patch fixes the glsl-arb-fragment-coord-convention regression on swrast. Tested-by: Vinson Lee <vlee@freedesktop.org> commit e25c24c6389e5dbbb7ebf59c302659e5d6417ed4 Author: Lars Hamre <chemecse@gmail.com> Date: Fri Apr 8 10:06:23 2016 -0400 glsl: handle unsigned int wraparound in link_shaders() v2: change check_explicit_uniform_locations() to return an unsigned 0 (Timothy Arceri) We were storing the int result of check_explicit_uniform_locations() in num_explicit_uniform_locs as an unsigned int which caused it to be 4294967295 when a -1 was returned. This in turn would cause the following error during linking: error: count of uniform locations > MAX_UNIFORM_LOCATIONS(4294967295 > 98304) Results from running piglit tests/all with this patch and when ARB_explicit_uniform_location disabled: changes: 178 fixes: 176 regressions: 2 The two regressions are for the following tests: glean@glsl1-matrix column check (1) glean@glsl1-matrix column check (2) which regress from FAIL to CRASH. The regressions are acceptable because the tests are currently failing due to the aforementioned linker error. Signed-off-by: Lars Hamre <chemecse@gmail.com> Reviewed-by: Timothy Arceri <timothy.arceri@collabora.com> |
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.