Skip to content

turnip: Remove redundant bits override from lower_tex_ycbcr

Valentine Burley requested to merge Valentine/mesa:tu/component_bits into main

What does this MR do and why?

This isn't needed anymore, because vk_format_get_component_bits now accesses the proper pipe formats and therefore returns the correct bit count since the following commit:

57c81bab ("vulkan/format: Translate two 420_UNORM formats properly")

I've verified that vk_format_get_component_bits correctly returns 8 by default now for all 4 formats in the switch statement, but as far as I understand this path is only ever hit with VK_FORMAT_G8_B8R8_2PLANE_420_UNORM and VK_FORMAT_G8_B8_R8_3PLANE_420_UNORM currently.

Edited by Valentine Burley

Merge request reports

Loading