mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-01-01 12:08:12 +00:00
vk: Lower scratch dimension alignment to 256 to minimize wastage
This commit is contained in:
parent
7d710cbf8c
commit
b6cdf18165
@ -125,8 +125,8 @@ namespace vk
|
||||
{
|
||||
auto create_texture = [&]()
|
||||
{
|
||||
u32 new_width = utils::align(requested_width, 1024u);
|
||||
u32 new_height = utils::align(requested_height, 1024u);
|
||||
u32 new_width = utils::align(requested_width, 256u);
|
||||
u32 new_height = utils::align(requested_height, 256u);
|
||||
|
||||
return new vk::image(*g_render_device, g_render_device->get_memory_mapping().device_local, VK_MEMORY_PROPERTY_DEVICE_LOCAL_BIT,
|
||||
VK_IMAGE_TYPE_2D, format, new_width, new_height, 1, 1, 1, VK_SAMPLE_COUNT_1_BIT, VK_IMAGE_LAYOUT_UNDEFINED,
|
||||
|
Loading…
Reference in New Issue
Block a user