mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-06 19:40:10 +01:00
turnip: update tile_align_w/tile_align_h
It looks like the actual tile alignment requirement is less than 32x32, but in some cases input attachment texture needs 64 alignment. Reduced the h alignment to 16 to compensate and it seems to work fine. Signed-off-by: Jonathan Marek <jonathan@marek.ca> Reviewed-by: Eric Anholt <eric@anholt.net>
This commit is contained in:
parent
402bc111fc
commit
7bbcf7deff
1 changed files with 2 additions and 2 deletions
|
|
@ -258,8 +258,8 @@ tu_physical_device_init(struct tu_physical_device *device,
|
|||
switch (device->gpu_id) {
|
||||
case 630:
|
||||
case 640:
|
||||
device->tile_align_w = 32;
|
||||
device->tile_align_h = 32;
|
||||
device->tile_align_w = 64;
|
||||
device->tile_align_h = 16;
|
||||
break;
|
||||
default:
|
||||
result = vk_errorf(instance, VK_ERROR_INITIALIZATION_FAILED,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue