[Mesa-dev] [Bug 68409] New: [llvmpipe] piglit texwrap GL_ARB_texture_rg-int bordercolor regression
bugzilla-daemon at freedesktop.org
bugzilla-daemon at freedesktop.org
Wed Aug 21 18:31:10 PDT 2013
https://bugs.freedesktop.org/show_bug.cgi?id=68409
Priority: medium
Bug ID: 68409
Keywords: regression
CC: sroland at vmware.com
Assignee: mesa-dev at lists.freedesktop.org
Summary: [llvmpipe] piglit texwrap GL_ARB_texture_rg-int
bordercolor 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: 63ac68bae398884b3b704eccf58a8a9fe8aac9e6
$ ./bin/texwrap GL_ARB_texture_rg-int bordercolor -auto
Testing GL_ARB_texture_rg-int.
Testing the border color only.
Testing GL_R8I, border color only
Fail with NEAREST and CLAMP_TO_BORDER at (95,36) @ 0,0
Expected: 24 0 0 2
Observed: 0 0 0 2
Fail with NEAREST and MIRROR_CLAMP_TO_BORDER_EXT at (273,36) @ 0,0
Expected: 24 0 0 2
Observed: 0 0 0 2
PIGLIT:subtest {'GL_R8I, border color only' : 'fail'}
Testing GL_RG8I, border color only
Fail with NEAREST and CLAMP_TO_BORDER at (95,36) @ 0,0
Expected: 24 228 0 2
Observed: 0 0 0 2
Fail with NEAREST and MIRROR_CLAMP_TO_BORDER_EXT at (273,36) @ 0,0
Expected: 24 228 0 2
Observed: 0 0 0 2
PIGLIT:subtest {'GL_RG8I, border color only' : 'fail'}
Testing GL_R16I, border color only
Fail with NEAREST and CLAMP_TO_BORDER at (95,36) @ 0,0
Expected: 25 0 0 0
Observed: 0 0 0 0
Fail with NEAREST and MIRROR_CLAMP_TO_BORDER_EXT at (273,36) @ 0,0
Expected: 25 0 0 0
Observed: 0 0 0 0
PIGLIT:subtest {'GL_R16I, border color only' : 'fail'}
Testing GL_RG16I, border color only
Fail with NEAREST and CLAMP_TO_BORDER at (95,36) @ 0,0
Expected: 25 229 0 0
Observed: 0 0 0 0
Fail with NEAREST and MIRROR_CLAMP_TO_BORDER_EXT at (273,36) @ 0,0
Expected: 25 229 0 0
Observed: 0 0 0 0
PIGLIT:subtest {'GL_RG16I, border color only' : 'fail'}
Testing GL_R32I, border color only
PIGLIT:subtest {'GL_R32I, border color only' : 'pass'}
Testing GL_RG32I, border color only
PIGLIT:subtest {'GL_RG32I, border color only' : 'pass'}
Testing GL_R8UI, border color only
Fail with NEAREST and CLAMP_TO_BORDER at (95,36) @ 0,0
Expected: 25 0 0 1
Observed: 1 0 0 1
Fail with NEAREST and MIRROR_CLAMP_TO_BORDER_EXT at (273,36) @ 0,0
Expected: 25 0 0 1
Observed: 1 0 0 1
PIGLIT:subtest {'GL_R8UI, border color only' : 'fail'}
Testing GL_RG8UI, border color only
Fail with NEAREST and CLAMP_TO_BORDER at (95,36) @ 0,0
Expected: 25 229 0 1
Observed: 1 1 0 1
Fail with NEAREST and MIRROR_CLAMP_TO_BORDER_EXT at (273,36) @ 0,0
Expected: 25 229 0 1
Observed: 1 1 0 1
PIGLIT:subtest {'GL_RG8UI, border color only' : 'fail'}
Testing GL_R16UI, border color only
Fail with NEAREST and CLAMP_TO_BORDER at (95,36) @ 0,0
Expected: 25 0 0 0
Observed: 0 0 0 0
Fail with NEAREST and MIRROR_CLAMP_TO_BORDER_EXT at (273,36) @ 0,0
Expected: 25 0 0 0
Observed: 0 0 0 0
PIGLIT:subtest {'GL_R16UI, border color only' : 'fail'}
Testing GL_RG16UI, border color only
Fail with NEAREST and CLAMP_TO_BORDER at (95,36) @ 0,0
Expected: 25 229 0 0
Observed: 0 0 0 0
Fail with NEAREST and MIRROR_CLAMP_TO_BORDER_EXT at (273,36) @ 0,0
Expected: 25 229 0 0
Observed: 0 0 0 0
PIGLIT:subtest {'GL_RG16UI, border color only' : 'fail'}
Testing GL_R32UI, border color only
Fail with NEAREST and CLAMP_TO_BORDER at (95,36) @ 0,0
Expected: 25 0 0 0
Observed: 0 0 0 0
Fail with NEAREST and MIRROR_CLAMP_TO_BORDER_EXT at (273,36) @ 0,0
Expected: 25 0 0 0
Observed: 0 0 0 0
PIGLIT:subtest {'GL_R32UI, border color only' : 'fail'}
Testing GL_RG32UI, border color only
Fail with NEAREST and CLAMP_TO_BORDER at (95,36) @ 0,0
Expected: 25 229 0 0
Observed: 0 0 0 0
Fail with NEAREST and MIRROR_CLAMP_TO_BORDER_EXT at (273,36) @ 0,0
Expected: 25 229 0 0
Observed: 0 0 0 0
PIGLIT:subtest {'GL_RG32UI, border color only' : 'fail'}
PIGLIT: {'result': 'fail' }
fe92d7fab4ee8293fc93ea97680db52342b3b464 is the first bad commit
commit fe92d7fab4ee8293fc93ea97680db52342b3b464
Author: Roland Scheidegger <sroland at vmware.com>
Date: Tue Aug 20 04:11:02 2013 +0200
gallivm: do clamping of border color correctly for all formats
Turns out it is actually very complicated to figure out what a format
really
is wrt range, as using channel information for determining unorm/snorm etc.
doesn't work for a bunch of cases - namely compressed, subsampled, other.
Also while here add clamping for uint/sint as well - d3d10 doesn't actually
need this (can only use ld with these formats hence no border) and we could
do this outside the shader for GL easily (due to the fixed texture/sampler
relation) do it here too just so I can forget about it.
v2: move border color clamping out of fetch texel. Also change it to clamp
the whole border vector at once (and use vectorized load of border color),
which saves a couple of instructions - needs some different handling of
mixed signed/unsigned formats so skip the per channel stuff and just derive
this from first channel except for special formats.
Reviewed-by: Jose Fonseca <jfonseca at vmware.com>
:040000 040000 df6d1f8219680e46748da2d37a60b0050567c10b
75084dfea699f4c4d2c613b1da115b965408046f 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/20130822/0c109643/attachment-0001.html>
More information about the mesa-dev
mailing list