Bug 47900

Summary: Sampler does not work with cubemaps in 16-bit floating-point pixel format
Product: Mesa Reporter: Vic Lee <llyzs>
Component: Drivers/Gallium/r600Assignee: Default DRI bug account <dri-devel>
Status: RESOLVED MOVED QA Contact:
Severity: normal    
Priority: medium    
Version: 8.0   
Hardware: All   
OS: All   
Whiteboard:
i915 platform: i915 features:

Description Vic Lee 2012-03-26 07:22:46 UTC
If a cubemap is created using 16-bit component pixel format like PIPE_FORMAT_R16G16B16A16_UNORM or PIPE_FORMAT_R16G16B16A16_FLOAT, it will not be sampled correctly in fragment shader and generate garbage output. Those 16-bit formats works just fine when using in 2D texture, and the cubemap using 8-bit format also works. It's just the combination cubemap+16bit that does not work.

Any hints?
Comment 1 Vic Lee 2012-03-27 03:53:10 UTC
EDIT: Only PIPE_FORMAT_R16G16B16A16_FLOAT does not work. 16-bit integer types work.
Comment 2 GitLab Migration User 2019-09-18 18:59:12 UTC
-- GitLab Migration Automatic Message --

This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/mesa/mesa/issues/406.

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.