Bug 14220 - [i965] depth texture mode GL_ALPHA not working
Summary: [i965] depth texture mode GL_ALPHA not working
Status: VERIFIED FIXED
Alias: None
Product: Mesa
Classification: Unclassified
Component: Drivers/DRI/i965 (show other bugs)
Version: unspecified
Hardware: Other Linux (All)
: medium normal
Assignee: haihao
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on: 14271
Blocks:
  Show dependency treegraph
 
Reported: 2008-01-23 20:45 UTC by Shuang He
Modified: 2008-04-23 18:08 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments
test case (2.60 KB, text/plain)
2008-01-23 20:45 UTC, Shuang He
Details

Description Shuang He 2008-01-23 20:45:14 UTC
Created attachment 13893 [details]
test case

System Environment:
--------------------------


kernel: 
2.6.23

drm   
commit c6f175cbea1dba3fc26426243acc55b89b8a8064

mesa 
commit 02d5ba849197e19843dad164239b51f18fb16faf

xf86_video_intel 
commit 633dbd28218fd8a746c1735fd44a14f35bd07faa 


Bug detailed description:
--------------------------
for i915, i965 DRI is not working as well.
for 1D texture, specify depth texture's compare mode TO GL_COMPARE_R_TO_TEXTURE_ARB, and compare func to GL_LEQUAL
texture mode to GL_ALPHA. apply the texture, but get incorrect alpha component.


Reproduce steps:
----------------
1. start X
2. compile and run attached test case


Current result:
----------------
alpha component is not correct.


Expected result:
----------------
alpha component should be correct.
Comment 1 Shuang He 2008-03-11 22:55:18 UTC
this issue does not happen in DRI mode anymore. 
and seems this issue is blocked by and quite related to bug #14271
Comment 2 Brian Paul 2008-03-25 07:20:22 UTC
Seems OK in core Mesa with Xlib driver if you 'export MESA_GLX_FORCE_ALPHA=1'
Comment 3 Brian Paul 2008-03-25 07:20:34 UTC
Seems OK in core Mesa with Xlib driver if you 'export MESA_GLX_FORCE_ALPHA=1'
Comment 4 Shuang He 2008-03-25 19:45:44 UTC
it wor(In reply to comment #3)
> Seems OK in core Mesa with Xlib driver if you 'export MESA_GLX_FORCE_ALPHA=1'
> 

it works for me
Comment 5 Shuang He 2008-03-25 20:02:33 UTC
I tried test case again on i965 and i915
it's not working on i965, but is working on i915
So I'm reopenning this for i965
Comment 6 haihao 2008-04-22 01:25:36 UTC
fixed in mesa 6e620162a1b235ade227368b87fa993e844d7077
Comment 7 Shuang He 2008-04-23 18:08:05 UTC
verified, thanks


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.