Archived
1
0
Fork 0
forked from Mirror/Ryujinx
This repository has been archived on 2024-10-11. You can view files and clone it, but cannot push or open issues or pull requests.
jinx/Ryujinx.Graphics.Gpu/Engine/Threed
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
..
ConditionalRendering.cs Implement HLE macro for DrawElementsIndirect (#3748) 2022-11-16 14:53:04 -03:00
ConstantBufferUpdater.cs GPU: Don't trigger uploads for redundant buffer updates (#3828) 2022-11-24 15:50:15 +01:00
DrawManager.cs Handle mismatching texture size with copy dependencies (#4364) 2023-02-08 08:48:09 +01:00
DrawState.cs Fix DrawArrays vertex buffer size (#4141) 2022-12-21 19:08:12 +01:00
IbStreamer.cs Fix instanced indexed inline draw index count (#3389) 2022-06-10 23:44:49 -03:00
IndirectDrawType.cs Implement HLE macro for DrawElementsIndirect (#3748) 2022-11-16 14:53:04 -03:00
RenderTargetUpdateFlags.cs Handle mismatching texture size with copy dependencies (#4364) 2023-02-08 08:48:09 +01:00
SemaphoreUpdater.cs Scale SamplesPassed counter by RT scale on report (#3680) 2022-09-11 15:58:15 +00:00
SpecializationStateUpdater.cs Vulkan: Add workarounds for MoltenVK (#4202) 2023-01-13 01:31:21 +01:00
StateUpdater.cs Handle mismatching texture size with copy dependencies (#4364) 2023-02-08 08:48:09 +01:00
StateUpdateTracker.cs Vulkan: Add workarounds for MoltenVK (#4202) 2023-01-13 01:31:21 +01:00
ThreedClass.cs Handle mismatching texture size with copy dependencies (#4364) 2023-02-08 08:48:09 +01:00
ThreedClassState.cs Implement another non-indexed draw method on GPU (#4123) 2022-12-16 12:06:38 -03:00