Commit Graph

3770 Commits

Author SHA1 Message Date
Isaac Marovitz 3d30f0f907
Upstream changes 2024-09-18 23:28:20 +02:00
Isaac Marovitz 81c6b29232
Logic Operations 2024-09-18 23:28:20 +02:00
Isaac Marovitz 29f6262260
Fix array size query 2024-09-18 23:28:19 +02:00
Isaac Marovitz a0ac4921ad
Debug Groups 2024-09-18 23:28:19 +02:00
Isaac Marovitz cee1a8ee60
IaIndexing
Fixes shader problems in Donkey Kong Country Tropical Freeze, and Fire Emblem: Three Houses
2024-09-18 23:28:19 +02:00
Isaac Marovitz 8766378ce8
Rasterizer Discard + Multisample State 2024-09-18 23:28:19 +02:00
Isaac Marovitz ba63762ff5
Metal: Argument Buffer Pre-Pass (#38)
* Init

* Fix missing flags

* Cleanup
2024-09-18 23:28:18 +02:00
riperiperi 03c475d4b5
Patch some leaks and only perform copies on valid textures (#37) 2024-09-18 23:28:18 +02:00
Isaac Marovitz 9e05ee9a4d
Get render command encoder after finalising buffers
Fixes crash in Fire Emblem: Houses
2024-09-18 23:28:18 +02:00
Isaac Marovitz 3876f60c7f
Format 2024-09-18 23:28:18 +02:00
Isaac Marovitz 8674ea6752
Fix non atomic image loads again 2024-09-18 23:28:17 +02:00
Isaac Marovitz 4fed5634c2
Finally fix (most) image atomics 2024-09-18 23:28:17 +02:00
Isaac Marovitz 3e474d84e8
Precise Float Fixes
Fixes artifacts in TOTK
2024-09-18 23:28:17 +02:00
Isaac Marovitz 4848335975
Fix image atomics 2024-09-18 23:28:17 +02:00
Isaac Marovitz 5dc244ae68
Fix Non-Float Textures + Image Read + FSI Buffers
Fixes Mario Party Superstars
2024-09-18 23:28:17 +02:00
Isaac Marovitz c30c609624
Image Constant Fixes
Allows Mario Party Superstars to boot
2024-09-18 23:28:16 +02:00
Isaac Marovitz 95318b9abe
Helper Shader fixes for non float formats 2024-09-18 23:28:16 +02:00
Isaac Marovitz 3336c86fe5
Shader Extra Set Support + Cleanup (#36)
Separate samplers are now supported and arrays in constant sets are bound
2024-09-18 23:28:16 +02:00
Isaac Marovitz fa1f91f96c
InstGenMemory Refactor + Bindless Support 2024-09-18 23:28:16 +02:00
Isaac Marovitz ce2124437d
TextureArray & ImageArray Creation + State 2024-09-18 23:28:16 +02:00
Isaac Marovitz 4eb74a310b
Fix hex number type ambiguity
Fixes cutscenes in Super Mario Sunshine
2024-09-18 23:28:15 +02:00
Isaac Marovitz c1745a27ab
Use RGBA8Unorm for R4G4B4A4Unorm
Gets SM64 to boot
2024-09-18 23:28:15 +02:00
Isaac Marovitz 13afe36f63
Dual Source Blend Support in Shader
Fixes Super Mario Galaxy and The Legend of Zelda: Skyward Sword HD
2024-09-18 23:28:15 +02:00
Isaac Marovitz 2fdd352255
Get Tomb Raider working 2024-09-18 23:28:15 +02:00
Isaac Marovitz 4ddecbb6fe
Remove DummyBufferTextures
Mostly gets VTG on Compute working again
2024-09-18 23:28:14 +02:00
Isaac Marovitz 3429ee2318
Properly register TextureBuffer usage + Store Auto ref 2024-09-18 23:28:14 +02:00
Isaac Marovitz 479ea9f8e8
Partial indirect draw support 2024-09-18 23:28:14 +02:00
Gabriel A 7de9bffe91
Fixes 2024-09-18 23:28:14 +02:00
Gabriel A a72ce9998f
Start building more accurate vertex as compute usage info 2024-09-18 23:28:13 +02:00
Isaac Marovitz 1987309fda
Bind TextureBuffers 2024-09-18 23:28:13 +02:00
Isaac Marovitz b3e002f8dc
Remove ClearSegments for now
Currently unimplemented and issues are arising with building BindingSegments in general.
2024-09-18 23:28:13 +02:00
Isaac Marovitz e8e18f2578
Fix compute generation failure in NieR 2024-09-18 23:28:12 +02:00
Isaac Marovitz 27e9671da4
Some debug improvements 2024-09-18 23:28:12 +02:00
Isaac Marovitz 0449964760
Stop complaining about clip distance 2024-09-18 23:28:12 +02:00
Isaac Marovitz c6bfc660ef
Shader Gen Fixes
Fixes Luigi’s Mansion 2 HD
2024-09-18 23:28:12 +02:00
Isaac Marovitz f07d957bda
DepthStencil Blits 2024-09-18 23:28:11 +02:00
Isaac Marovitz 10110198f7
Multisample Blits
Partially fixes Sonic Colors Ultimate
2024-09-18 23:28:11 +02:00
Isaac Marovitz bdcc2fd90e
Fix image bindings 2024-09-18 23:28:11 +02:00
Isaac Marovitz 6be0890f34
FSI (with raster order groups) 2024-09-18 23:28:11 +02:00
Isaac Marovitz 1bb3f28504
SwizzleAdd (NOT TESTED) 2024-09-18 23:28:11 +02:00
Isaac Marovitz b4cf2d1cc9
Consolodate barriers 2024-09-18 23:28:10 +02:00
Isaac Marovitz 61c7d3bb9c
Shader Memory Barriers
Fixes some of the shader generation failures in Sonic Frontiers
2024-09-18 23:28:10 +02:00
Isaac Marovitz fdf5d49985
Image binding support
Kirby still has a problem with NaN 3D Texture
2024-09-18 23:28:10 +02:00
Isaac Marovitz 1500af5808
Image shader gen support 2024-09-18 23:28:10 +02:00
Isaac Marovitz 32a3d1df4d
Shader cache support 2024-09-18 23:28:09 +02:00
Isaac Marovitz a32b619f5c
Make dotnet format happy 2024-09-18 23:28:09 +02:00
Isaac Marovitz a8794b2d58
GAL ResourceUsage Changes
TODO: Guest Barrier Defer
2024-09-18 23:28:09 +02:00
Isaac Marovitz 02b9b92723
Better vertex buffer management 2024-09-18 23:28:08 +02:00
Isaac Marovitz 1b2097c6eb
Fix LOD 2024-09-18 23:28:08 +02:00
Isaac Marovitz 10c042b6ab
Better index buffer management 2024-09-18 23:28:08 +02:00