1
0
Fork 0
mirror of https://github.com/Ryujinx/Ryujinx.git synced 2024-10-01 12:30:00 +02:00
Ryujinx/Ryujinx.Graphics.Gpu/Engine
gdkchan 96cf242bcf
Handle mismatching texture size with copy dependencies (#4364)
* Handle mismatching texture size with copy dependencies

* Create copy and render textures with the minimum possible size

* Only align width for comparisons, assume that height is always exact

* Fix IsExactMatch size check

* Allow sampler and copy textures to match textures with larger width

* Delete texture ChangeSize related code

* Move AdjustSize to TextureInfo and give it a better name, adjust usages

* Fix GetMinimumWidthInGob when minimumWidth > width

* Only update render targets that are actually cleared for clear

Avoids creating textures with incorrect sizes

* Delete UpdateRenderTargetState method that is not needed anymore

Clears now only ever sets the render targets that will be cleared rather than all of them
2023-02-08 08:48:09 +01:00
..
Compute GPU: Swap bindings array instead of copying (#4003) 2022-12-04 18:18:40 +01:00
Dma GPU: Pass SpanOrArray for Texture SetData to avoid copy (#3745) 2022-10-08 12:04:47 -03:00
GPFifo Vulkan: Don't flush commands when creating most sync (#4087) 2022-12-29 15:39:04 +01:00
InlineToMemory Added Generic Math to BitUtils (#3929) 2022-12-26 14:11:05 +00:00
MME Make structs readonly when applicable (#4002) 2022-12-05 14:47:39 +01:00
Threed Handle mismatching texture size with copy dependencies (#4364) 2023-02-08 08:48:09 +01:00
Twod Allow setting texture data from 1x to fix some textures resetting randomly (#2860) 2023-01-22 02:03:30 +00:00
Types Fix blend with RGBX color formats (#3553) 2022-08-11 18:23:25 -03:00
ConditionalRenderEnabled.cs Separate GPU engines (part 2/2) (#2440) 2021-07-11 17:20:40 -03:00
DeviceStateWithShadow.cs Use method overloads that support trimming. Mark some types to be trimming friendly (#4083) 2022-12-12 15:10:05 +01:00
MmeShadowScratch.cs Rename ToSpan to AsSpan (#3556) 2022-08-11 18:07:37 -03:00
SetMmeShadowRamControlMode.cs Separate GPU engines (part 2/2) (#2440) 2021-07-11 17:20:40 -03:00
ShaderTexture.cs Fix image binding format (#1625) 2020-10-20 19:03:20 -03:00