[Mesa-dev] [Bug 70359] New: [llvmpipe] piglit arb_shader_texture_lod-texgrad regression
bugzilla-daemon at freedesktop.org
bugzilla-daemon at freedesktop.org
Fri Oct 11 03:45:06 CEST 2013
https://bugs.freedesktop.org/show_bug.cgi?id=70359
Priority: medium
Bug ID: 70359
Keywords: regression
CC: sroland at vmware.com
Assignee: mesa-dev at lists.freedesktop.org
Summary: [llvmpipe] piglit arb_shader_texture_lod-texgrad
regression
Severity: normal
Classification: Unclassified
OS: Linux (All)
Reporter: vlee at freedesktop.org
Hardware: x86-64 (AMD64)
Status: NEW
Version: git
Component: Other
Product: Mesa
mesa: 8cb9cce0400362e913ad89f4ae981b8baf86bb57 (master)
$ ./bin/arb_shader_texture_lod-texgrad -auto
Left: texture2D, Right: texture2DGradARB
Probe color at (77,76)
Left: 0.000000 0.980392 0.015686 0.000000
Right: 0.000000 0.949020 0.047059 0.000000
PIGLIT: {'result': 'fail' }
47d0613eb70b2cb5d8837fe8e12325532a7918f5 is the first bad commit
commit 47d0613eb70b2cb5d8837fe8e12325532a7918f5
Author: Roland Scheidegger <sroland at vmware.com>
Date: Sat Oct 5 03:26:47 2013 +0200
gallivm: handle explicit derivatives for cubemaps
They need some special handling. Quite complicated.
Additionally, use the same code for implicit derivatives too if
no_rho_approx
and no_quad_lod is set, because it seems while generally it should be ok
to use per quad lod for implicit derivatives there's at least some test
which
insists that in case of cubemaps the shared lod value MUST come from a
pixel
inside the primitive (due to the derivatives becoming different if a
different
larger major axis is chosen).
v2: based on Brian's feedback, clean up code a bit.
And use sign bit of major axis instead of pre-select s/t/r sign for coord
mirroring (which should be the same in the end, saves 2 ands).
Also fix two bugs with select/mirror of derivatives, the minor axes need to
use major axis sign as well (instead of major derivative axis sign), and
don't mistakenly use absolute values of major derivative and inverse major
values.
Reviewed-by: Jose Fonseca <jfonseca at vmware.com>
:040000 040000 87a36fd21fb08b5f4cdba877e5c2243eee0d73ba
36fbb692f6f3af2a56e437f8afbbf027683b7072 M src
bisect run success
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/mesa-dev/attachments/20131011/51b6da2f/attachment-0001.html>
More information about the mesa-dev
mailing list