mirror of
https://git.eden-emu.dev/eden-emu/eden.git
synced 2025-07-23 01:35:46 +00:00
GPU: Added a method to unswizzle a texture without decoding it.
Allow unswizzling of DXT1 textures.
This commit is contained in:
parent
d09097276f
commit
bc03dc4793
4 changed files with 95 additions and 5 deletions
|
@ -196,7 +196,7 @@ void Maxwell3D::DrawArrays() {
|
|||
|
||||
auto format = tic_entry.format.Value();
|
||||
|
||||
auto texture = Texture::DecodeTexture(
|
||||
auto texture = Texture::UnswizzleTexture(
|
||||
memory_manager.PhysicalToVirtualAddress(tic_entry.Address()),
|
||||
tic_entry.format.Value(), tic_entry.Width(), tic_entry.Height());
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue