Commit Graph

3772 Commits

Author SHA1 Message Date
Isaac Marovitz 61cfd8e72f Fix cubemap array length
Fixes crash in Sonic Frontiers
2024-09-15 08:42:19 -04:00
Isaac Marovitz 117f1d1a0c Properly create stencil views of combined formats
Fixes Link’s Awakening
2024-09-15 08:42:19 -04:00
Isaac Marovitz ca3aaf70de Add missing set texture for depth stencil blit
Mostly fixes Sonic Frontiers & Link’s Awakening
2024-09-15 08:42:19 -04:00
Isaac Marovitz 2f953bbff1 Fix typo in stride change shader
Fixes Castlevania Dominus Collection
2024-09-15 08:42:19 -04:00
Isaac Marovitz 9c4258176d Fix invalid depth stencil state when no depth stencil is present
Partially fixes Sonic Frontiers and Castlevania Dominus Collection
2024-09-15 08:42:19 -04:00
Isaac Marovitz 152227c297 Style 2024-09-15 08:42:19 -04:00
Isaac Marovitz 3e215bc1bd Metal: Unsupported topology indexed draw conversion (#40)
* Convert unsupported indexed buffer topologies

* Fix index count and dispatch size

* Cleanup

* Fix typos
2024-09-15 08:42:19 -04:00
Isaac Marovitz 30469e8e37 Fix null resources breaking arg buffer alignment 2024-09-15 08:42:19 -04:00
Isaac Marovitz 7f6aa40683 Remove RenderPipelineDescriptorResult 2024-09-15 08:42:19 -04:00
Isaac Marovitz f68d7b8c8c D32FS8 to D24S8 Conversion 2024-09-15 08:42:19 -04:00
Isaac Marovitz e432fa8429 Upstream changes 2024-09-15 08:42:19 -04:00
Isaac Marovitz 1eb4dfff31 Logic Operations 2024-09-15 08:42:19 -04:00
Isaac Marovitz 9318652ca2 Fix array size query 2024-09-15 08:42:19 -04:00
Isaac Marovitz 551b293951 Debug Groups 2024-09-15 08:42:19 -04:00
Isaac Marovitz 8170f918e9 IaIndexing
Fixes shader problems in Donkey Kong Country Tropical Freeze, and Fire Emblem: Three Houses
2024-09-15 08:42:19 -04:00
Isaac Marovitz 324befedac Rasterizer Discard + Multisample State 2024-09-15 08:42:19 -04:00
Isaac Marovitz 01136a4c7f Metal: Argument Buffer Pre-Pass (#38)
* Init

* Fix missing flags

* Cleanup
2024-09-15 08:42:19 -04:00
riperiperi b9da21ac3e Patch some leaks and only perform copies on valid textures (#37) 2024-09-15 08:42:19 -04:00
Isaac Marovitz 968f8b6919 Get render command encoder after finalising buffers
Fixes crash in Fire Emblem: Houses
2024-09-15 08:42:19 -04:00
Isaac Marovitz c4ffee17b6 Format 2024-09-15 08:42:19 -04:00
Isaac Marovitz 8813cf195d Fix non atomic image loads again 2024-09-15 08:42:19 -04:00
Isaac Marovitz d309598867 Finally fix (most) image atomics 2024-09-15 08:42:19 -04:00
Isaac Marovitz d4a690f680 Precise Float Fixes
Fixes artifacts in TOTK
2024-09-15 08:42:19 -04:00
Isaac Marovitz 0d9162cca7 Fix image atomics 2024-09-15 08:42:19 -04:00
Isaac Marovitz a63a60f365 Fix Non-Float Textures + Image Read + FSI Buffers
Fixes Mario Party Superstars
2024-09-15 08:42:19 -04:00
Isaac Marovitz 97b03a5397 Image Constant Fixes
Allows Mario Party Superstars to boot
2024-09-15 08:42:19 -04:00
Isaac Marovitz 110f289b32 Helper Shader fixes for non float formats 2024-09-15 08:42:19 -04:00
Isaac Marovitz 2b25aee6d4 Shader Extra Set Support + Cleanup (#36)
Separate samplers are now supported and arrays in constant sets are bound
2024-09-15 08:42:19 -04:00
Isaac Marovitz fd88f859e3 InstGenMemory Refactor + Bindless Support 2024-09-15 08:42:19 -04:00
Isaac Marovitz f0abbd90a9 TextureArray & ImageArray Creation + State 2024-09-15 08:42:19 -04:00
Isaac Marovitz 1864f4e795 Fix hex number type ambiguity
Fixes cutscenes in Super Mario Sunshine
2024-09-15 08:42:19 -04:00
Isaac Marovitz 5233b40623 Use RGBA8Unorm for R4G4B4A4Unorm
Gets SM64 to boot
2024-09-15 08:42:19 -04:00
Isaac Marovitz 297f8b3dea Dual Source Blend Support in Shader
Fixes Super Mario Galaxy and The Legend of Zelda: Skyward Sword HD
2024-09-15 08:42:19 -04:00
Isaac Marovitz 58bed976b5 Get Tomb Raider working 2024-09-15 08:42:19 -04:00
Isaac Marovitz 4ad89b34c6 Remove DummyBufferTextures
Mostly gets VTG on Compute working again
2024-09-15 08:42:19 -04:00
Isaac Marovitz 4d3c368a13 Properly register TextureBuffer usage + Store Auto ref 2024-09-15 08:42:19 -04:00
Isaac Marovitz 498b12a5f0 Partial indirect draw support 2024-09-15 08:42:19 -04:00
Gabriel A 597f9ca888 Fixes 2024-09-15 08:42:19 -04:00
Gabriel A 2ca850bea3 Start building more accurate vertex as compute usage info 2024-09-15 08:42:19 -04:00
Isaac Marovitz 32703aba5e Bind TextureBuffers 2024-09-15 08:42:19 -04:00
Isaac Marovitz 00a6f5871a Remove ClearSegments for now
Currently unimplemented and issues are arising with building BindingSegments in general.
2024-09-15 08:42:19 -04:00
Isaac Marovitz f77124ed95 Fix compute generation failure in NieR 2024-09-15 08:42:19 -04:00
Isaac Marovitz 18bbf4f1e8 Some debug improvements 2024-09-15 08:42:19 -04:00
Isaac Marovitz 8476c00b23 Stop complaining about clip distance 2024-09-15 08:42:19 -04:00
Isaac Marovitz f2ab1e7102 Shader Gen Fixes
Fixes Luigi’s Mansion 2 HD
2024-09-15 08:42:19 -04:00
Isaac Marovitz 9d096d6c37 DepthStencil Blits 2024-09-15 08:42:19 -04:00
Isaac Marovitz 9a8ee29152 Multisample Blits
Partially fixes Sonic Colors Ultimate
2024-09-15 08:42:19 -04:00
Isaac Marovitz a898548baa Fix image bindings 2024-09-15 08:42:19 -04:00
Isaac Marovitz 14054a318b FSI (with raster order groups) 2024-09-15 08:42:19 -04:00
Isaac Marovitz 4e7b4bf5a3 SwizzleAdd (NOT TESTED) 2024-09-15 08:42:19 -04:00