Bug 13839 - [GLSL] glean/glsl1 fail: texture3D(), computed coord
Summary: [GLSL] glean/glsl1 fail: texture3D(), computed coord
Status: VERIFIED FIXED
Alias: None
Product: Mesa
Classification: Unclassified
Component: Drivers/DRI/i965 (show other bugs)
Version: git
Hardware: All Linux (All)
: medium normal
Assignee: Zou Nan hai
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-12-28 00:31 UTC by Gordon Jin
Modified: 2009-08-24 12:29 UTC (History)
1 user (show)

See Also:
i915 platform:
i915 features:


Attachments
patch to fix byte vs pixel issue in 3d texture offset calculation (1.69 KB, patch)
2007-12-28 15:14 UTC, Roland Scheidegger
Details | Splinter Review

Description Gordon Jin 2007-12-28 00:31:21 UTC
System Environment:
--------------------------
Platform: Q965
Arch: 32-bit
Xf86_video_intel:               d9df93578b74785c08ba860b4c9aa23b0c89c91c
Drm:            b9417f41418321d5081547a3a3386dcccae7541f
Mesa:           aac2d99dc316c069faa46dd43ff034155754c6b3
Kernel:         2.6.23
Glean:          Tip of CVS

Bug detailed description:
--------------------------
glean/glsl1 have 3 fails with the latest mesa master. This bug report is
targeted for the 3rd failure:
FAILURE:
  Shader test: texture3D(), computed coord
  Expected color: 0, 0, 0.5, 0.5
  Observed color: 0, 0, 0, 0

this happens whether or not INTEL_NO_TTM set.

Reproduce steps:
----------------
run glean case glsl by:
./glean -r ResultDir -t glsl1
Comment 1 Roland Scheidegger 2007-12-28 15:14:40 UTC
Created attachment 13402 [details] [review]
patch to fix byte vs pixel issue in 3d texture offset calculation

Does this patch fix it? This is something I've ported from another (closed) driver, though I already thought that other chips might be affected too... i915 should suffer from the same issue, but apparently it can't run this testcase.
Comment 2 Eric Anholt 2007-12-28 19:05:37 UTC
Fix pushed.  Thanks!
Comment 3 Gordon Jin 2007-12-28 19:13:38 UTC
Roland, thanks for the patch. It does fix this issue.
Comment 4 Zou Nan hai 2007-12-28 23:52:50 UTC
fixed in git tree.
commit d0ebdca4fa70506107a318e6cfd03f0fb4297897
Comment 5 Michael Fu 2008-01-01 23:27:26 UTC
comment# 4 is not for this bug...
Comment 6 Adam Jackson 2009-08-24 12:29:00 UTC
Mass version move, cvs -> git


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.