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?
EDIT: Only PIPE_FORMAT_R16G16B16A16_FLOAT does not work. 16-bit integer types work.
-- 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.