Commit Graph

3784 Commits

Author SHA1 Message Date
Isaac Marovitz e81329c7b0
Program hash set 2024-09-18 23:28:24 +02:00
Isaac Marovitz c62e00d90f
Auto-backed samplers 2024-09-18 23:28:24 +02:00
Isaac Marovitz 26f6e77008
Refactor binding logic + Bind image arrays 2024-09-18 23:28:23 +02:00
Isaac Marovitz 34eddbcf6a
Fix primitive id in shader gen
Fixes Dark Souls
2024-09-18 23:28:23 +02:00
Isaac Marovitz 94579f2042
Fix cubemap array length
Fixes crash in Sonic Frontiers
2024-09-18 23:28:23 +02:00
Isaac Marovitz c14d8cf2ee
Properly create stencil views of combined formats
Fixes Link’s Awakening
2024-09-18 23:28:22 +02:00
Isaac Marovitz f5cb7e0f67
Add missing set texture for depth stencil blit
Mostly fixes Sonic Frontiers & Link’s Awakening
2024-09-18 23:28:22 +02:00
Isaac Marovitz 252fd678fc
Fix typo in stride change shader
Fixes Castlevania Dominus Collection
2024-09-18 23:28:21 +02:00
Isaac Marovitz 76d7bef031
Fix invalid depth stencil state when no depth stencil is present
Partially fixes Sonic Frontiers and Castlevania Dominus Collection
2024-09-18 23:28:21 +02:00
Isaac Marovitz 6e332be51c
Style 2024-09-18 23:28:21 +02:00
Isaac Marovitz d30d23bd0f
Metal: Unsupported topology indexed draw conversion (#40)
* Convert unsupported indexed buffer topologies

* Fix index count and dispatch size

* Cleanup

* Fix typos
2024-09-18 23:28:21 +02:00
Isaac Marovitz 4439e7dcdc
Fix null resources breaking arg buffer alignment 2024-09-18 23:28:20 +02:00
Isaac Marovitz 3bd4dc7f2b
Remove RenderPipelineDescriptorResult 2024-09-18 23:28:20 +02:00
Isaac Marovitz 363c4a80ff
D32FS8 to D24S8 Conversion 2024-09-18 23:28:20 +02:00
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