mirror of
https://github.com/RPCSX/rpcsx.git
synced 2026-04-20 22:05:12 +00:00
Remove Volume Texture Compression (VTC) tiling for Vulkan, DX12 and ATI (OpenGL).
This commit is contained in:
parent
78cfba158d
commit
fd8d2ecbf4
5 changed files with 65 additions and 14 deletions
|
|
@ -115,7 +115,7 @@ namespace {
|
|||
size_t offset_in_buffer = 0;
|
||||
for (const rsx_subresource_layout &layout : input_layouts)
|
||||
{
|
||||
upload_texture_subresource(mapped_buffer.subspan(offset_in_buffer), layout, format, is_swizzled, 256);
|
||||
upload_texture_subresource(mapped_buffer.subspan(offset_in_buffer), layout, format, is_swizzled, false, 256);
|
||||
UINT row_pitch = align(layout.width_in_block * block_size_in_bytes, 256);
|
||||
command_list->CopyTextureRegion(&CD3DX12_TEXTURE_COPY_LOCATION(existing_texture, (UINT)mip_level), 0, 0, 0,
|
||||
&CD3DX12_TEXTURE_COPY_LOCATION(texture_buffer_heap.get_heap(),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue