http://bugs.freedesktop.org/show_bug.cgi?id=16221

           Summary: texture's alpha component incorrect when
                    DEPTH_TEXTURE_MODE is GL_INTENSITY
           Product: Mesa
           Version: CVS
          Platform: x86 (IA32)
        OS/Version: Linux (All)
            Status: NEW
          Severity: normal
          Priority: medium
         Component: Drivers/DRI/i915
        AssignedTo: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]
                CC: dri-devel@lists.sourceforge.net


Created an attachment (id=16904)
 --> (http://bugs.freedesktop.org/attachment.cgi?id=16904)
test case

When texture's internalformat is  GL_DEPTH_COMPONENT and DEPTH_TEXTURE_MODE is
GL_INTENSITY, for example:

   glTexParameteri(GL_TEXTURE_1D, GL_DEPTH_TEXTURE_MODE,
GL_INTENSITY);//GL_LUMINANCE
   glTexImage1D(GL_TEXTURE_1D, 0, GL_DEPTH_COMPONENT, 2, 0,
         GL_DEPTH_COMPONENT, GL_UNSIGNED_BYTE, (void*)t);


the texture's depth value applied to RGB but not to Alpha. the pixels drawn is
(t, t, t, 1), it should be (t, t, t, t).


-- 
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.

-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
--
_______________________________________________
Dri-devel mailing list
Dri-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dri-devel

Reply via email to