summaryrefslogtreecommitdiffstats
path: root/doxygen
diff options
context:
space:
mode:
authorChad Versace <[email protected]>2016-12-22 14:39:44 -0800
committerChad Versace <[email protected]>2016-12-27 09:14:00 -0800
commitf3739810e337d0f03514b9b967594c8dc010dfa4 (patch)
tree2ed33b5ecfb60ac0515447fa1cc26af2fde859e0 /doxygen
parent9aa6ab074876dfa853863a74edad0b5b017fb8c7 (diff)
mesa/texformat: Handle GL_RGBA + GL_UNSIGNED_SHORT_5_5_5_1
_mesa_choose_tex_format() already handles GL_RGBA + GL_UNSIGNED_SHORT_1_5_5_5_REV by converting it to MESA_FORMAT_B5G5R5A1_UNORM. Teach it do the same for the non-reversed type. Otherwise, the switch's fallthrough converts it to an 8888 format, which has incompatible precision in the alpha channel. Patch 2/2 to fix dEQP-EGL.functional.image.modify.tex_rgb5_a1_tex_subimage_rgba8 on Intel. Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=99185 Cc: Haixia Shi <[email protected]> Reviewed-by: Tapani Pälli <[email protected]> Cc: "13.0" <[email protected]>
Diffstat (limited to 'doxygen')
0 files changed, 0 insertions, 0 deletions