| Summary: |
texture's alpha component incorrect when DEPTH_TEXTURE_MODE is GL_INTENSITY |
| Product: |
Mesa
|
Reporter: |
WuNian <nian.wu> |
| Component: |
Drivers/DRI/i915 | Assignee: |
haihao <haihao.xiang> |
| Status: |
VERIFIED
FIXED
|
QA Contact: |
|
| Severity: |
normal
|
|
|
| Priority: |
medium
|
CC: |
dri-devel
|
| Version: |
git | |
|
| Hardware: |
x86 (IA32) | |
|
| OS: |
Linux (All) | |
|
| Whiteboard: |
|
|
i915 platform:
|
|
i915 features:
|
|
| Attachments: |
test case
|
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.
Created attachment 16904 [details] 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).