freedreno/layout: Fix the UBWC block size for the Y plane
Reviewed-by: Matt Turner <mattst88@gmail.com> Signed-off-by: Jonathan Marek <jonathan@marek.ca> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6792>
This commit is contained in:

committed by
Marge Bot

parent
e0a74c7cad
commit
8ea6f17fdf
@@ -58,6 +58,10 @@ fdl6_get_ubwc_blockwidth(const struct fdl_layout *layout,
|
||||
*blockwidth = 16;
|
||||
*blockheight = 8;
|
||||
return;
|
||||
} else if (layout->format == PIPE_FORMAT_Y8_UNORM) {
|
||||
*blockwidth = 32;
|
||||
*blockheight = 8;
|
||||
return;
|
||||
}
|
||||
|
||||
uint32_t cpp = fdl_cpp_shift(layout);
|
||||
|
Reference in New Issue
Block a user