Bug 64730

Summary: [llvmpipe] piglit array-texture regression
Product: Mesa Reporter: Vinson Lee <vlee>
Component: OtherAssignee: mesa-dev
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: medium CC: jfonseca
Version: gitKeywords: regression
Hardware: x86-64 (AMD64)   
OS: Linux (All)   
Whiteboard:
i915 platform: i915 features:

Description Vinson Lee 2013-05-18 02:27:25 UTC
mesa: 46ea8041074df79561f9771e2ecf198f2cbd088f (master)

$ ./bin/array-texture -auto
Probe at (150,50)
  Expected: 0.000000 1.000000 0.000000
  Observed: 1.000000 0.000000 0.000000
array-texture: failed for 2D image/slice 1
Probe at (250,50)
  Expected: 0.000000 0.000000 1.000000
  Observed: 1.000000 0.000000 0.000000
array-texture: failed for 2D image/slice 2
Probe at (350,50)
  Expected: 0.000000 0.000000 1.000000
  Observed: 1.000000 0.000000 0.000000
array-texture: failed for 2D image/slice 3
Probe at (450,50)
  Expected: 0.000000 1.000000 0.000000
  Observed: 1.000000 0.000000 0.000000
array-texture: failed for 2D image/slice 4
Probe at (550,50)
  Expected: 1.000000 1.000000 0.000000
  Observed: 1.000000 0.000000 0.000000
array-texture: failed for 2D image/slice 5
Probe at (650,50)
  Expected: 1.000000 1.000000 1.000000
  Observed: 1.000000 0.000000 0.000000
array-texture: failed for 2D image/slice 6
Probe at (150,150)
  Expected: 0.000000 1.000000 0.000000
  Observed: 1.000000 0.000000 0.000000
array-texture: failed for 2D image/slice 1
Probe at (250,150)
  Expected: 0.000000 0.000000 1.000000
  Observed: 1.000000 0.000000 0.000000
array-texture: failed for 2D image/slice 2
Probe at (350,150)
  Expected: 0.000000 0.000000 1.000000
  Observed: 1.000000 0.000000 0.000000
array-texture: failed for 2D image/slice 3
Probe at (450,150)
  Expected: 0.000000 1.000000 0.000000
  Observed: 1.000000 0.000000 0.000000
array-texture: failed for 2D image/slice 4
Probe at (550,150)
  Expected: 1.000000 1.000000 0.000000
  Observed: 1.000000 0.000000 0.000000
array-texture: failed for 2D image/slice 5
Probe at (650,150)
  Expected: 1.000000 1.000000 1.000000
  Observed: 1.000000 0.000000 0.000000
array-texture: failed for 2D image/slice 6
Probe at (150,250)
  Expected: 0.000000 1.000000 0.000000
  Observed: 1.000000 0.000000 0.000000
array-texture: failed for 1D image/slice 1
Probe at (250,250)
  Expected: 0.000000 0.000000 1.000000
  Observed: 1.000000 0.000000 0.000000
array-texture: failed for 1D image/slice 2
Probe at (350,250)
  Expected: 0.000000 0.000000 1.000000
  Observed: 1.000000 0.000000 0.000000
array-texture: failed for 1D image/slice 3
Probe at (450,250)
  Expected: 0.000000 1.000000 0.000000
  Observed: 1.000000 0.000000 0.000000
array-texture: failed for 1D image/slice 4
Probe at (550,250)
  Expected: 1.000000 1.000000 0.000000
  Observed: 1.000000 0.000000 0.000000
array-texture: failed for 1D image/slice 5
Probe at (650,250)
  Expected: 1.000000 1.000000 1.000000
  Observed: 1.000000 0.000000 0.000000
array-texture: failed for 1D image/slice 6
Probe at (150,350)
  Expected: 0.000000 1.000000 0.000000
  Observed: 1.000000 0.000000 0.000000
array-texture: failed for 1D image/slice 1
Probe at (250,350)
  Expected: 0.000000 0.000000 1.000000
  Observed: 1.000000 0.000000 0.000000
array-texture: failed for 1D image/slice 2
Probe at (350,350)
  Expected: 0.000000 0.000000 1.000000
  Observed: 1.000000 0.000000 0.000000
array-texture: failed for 1D image/slice 3
Probe at (450,350)
  Expected: 0.000000 1.000000 0.000000
  Observed: 1.000000 0.000000 0.000000
array-texture: failed for 1D image/slice 4
Probe at (550,350)
  Expected: 1.000000 1.000000 0.000000
  Observed: 1.000000 0.000000 0.000000
array-texture: failed for 1D image/slice 5
Probe at (650,350)
  Expected: 1.000000 1.000000 1.000000
  Observed: 1.000000 0.000000 0.000000
array-texture: failed for 1D image/slice 6
PIGLIT: {'result': 'fail' }


4f518e173847e8538bb4f0f9216e3f6417853d7a is the first bad commit
commit 4f518e173847e8538bb4f0f9216e3f6417853d7a
Author: José Fonseca <jfonseca@vmware.com>
Date:   Thu May 16 15:13:51 2013 +0100

    llvmpipe: Temporary workaround to prevent segfault on array textures.

:040000 040000 98a1ae9d47b556629ed257353cd5c93f6d660517 3a99f61bbde526d04c60d10629f5801e05e8d235 M	src
bisect run success
Comment 1 Roland Scheidegger 2013-05-18 03:03:56 UTC
The workaround was bogus since it didn't only prevent the wrong first_layer rebase (which wasn't an issue for opengl) but had the effect of not assigning depth correctly (so was always one, effectively reducing all array textures to non-array ones).
This is however already fixed by 87978518e996d02e055174d7152fff150fe3cd13.

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.