Summary: | [llvmpipe] piglit fbo-blending-formats regression | ||
---|---|---|---|
Product: | Mesa | Reporter: | Vinson Lee <vlee> |
Component: | Other | Assignee: | Jose Fonseca <jfonseca> |
Status: | RESOLVED FIXED | QA Contact: | |
Severity: | normal | ||
Priority: | medium | CC: | jfonseca |
Version: | git | Keywords: | regression |
Hardware: | x86-64 (AMD64) | ||
OS: | Linux (All) | ||
Whiteboard: | |||
i915 platform: | i915 features: |
Description
Vinson Lee
2012-12-05 06:15:34 UTC
I have a llvmpipe fix out for review. It needs also a piglit tweak, also out for review, as the test is too strict. Fix with commit 5e99cd915921d7b863a66badf09941f11120c6ab Author: José Fonseca <jfonseca@vmware.com> Date: Thu Dec 6 09:30:53 2012 +0000 gallivm: Fix lerping of (un)signed normalized numbers. Several issues actually: - Fix a regression in unsigned normalized in the rescaling [0, 255] to [0, 256] - Ensure we use signed shifts where appropriate (instead of unsigned shifts) - Refactor the code slightly -- move all the logic inside lp_build_lerp_simple(). This change, plus an adjustment in the tolerance of signed normalized results in piglit fbo-blending-formats fixes bug 57903 Reviewed-by: Brian Paul <brianp@vmware.com> commit 8c7e49c402025a3db3675954377478bd832189dd Author: José Fonseca <jfonseca@vmware.com> Date: Wed Dec 5 23:46:59 2012 +0000 fbo-blending-formats: Correct precision of signed normalized types. Signed types have less precision due to the sign bit. Without this it is impossible to devise an efficient way of lerping signed normalized types that makes this test happy -- it would require 32bit float/int multiply and divides to get exact results. Reviewed-by: Brian Paul <brianp@vmware.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.