Commit Graph

3778 Commits

Author SHA1 Message Date
Isaac Marovitz
55f8204b5a
Fix invalid depth stencil state when no depth stencil is present
Partially fixes Sonic Frontiers and Castlevania Dominus Collection
2024-09-19 19:51:49 +02:00
Isaac Marovitz
99c00f26f2
Style 2024-09-19 19:51:49 +02:00
Isaac Marovitz
1d5c41d4b7
Metal: Unsupported topology indexed draw conversion (#40)
* Convert unsupported indexed buffer topologies

* Fix index count and dispatch size

* Cleanup

* Fix typos
2024-09-19 19:51:49 +02:00
Isaac Marovitz
d3af0733dd
Fix null resources breaking arg buffer alignment 2024-09-19 19:51:49 +02:00
Isaac Marovitz
b55e18365b
Remove RenderPipelineDescriptorResult 2024-09-19 19:51:48 +02:00
Isaac Marovitz
c104c279c8
D32FS8 to D24S8 Conversion 2024-09-19 19:51:48 +02:00
Isaac Marovitz
007dc4524e
Upstream changes 2024-09-19 19:51:48 +02:00
Isaac Marovitz
e29a8b2997
Logic Operations 2024-09-19 19:51:48 +02:00
Isaac Marovitz
3c569a6e21
Fix array size query 2024-09-19 19:51:48 +02:00
Isaac Marovitz
d2e8f89f3c
Debug Groups 2024-09-19 19:51:48 +02:00
Isaac Marovitz
c5139d69f0
IaIndexing
Fixes shader problems in Donkey Kong Country Tropical Freeze, and Fire Emblem: Three Houses
2024-09-19 19:51:47 +02:00
Isaac Marovitz
afcf9e2f62
Rasterizer Discard + Multisample State 2024-09-19 19:51:47 +02:00
Isaac Marovitz
9114dc4580
Metal: Argument Buffer Pre-Pass (#38)
* Init

* Fix missing flags

* Cleanup
2024-09-19 19:51:47 +02:00
riperiperi
27bca3b7ea
Patch some leaks and only perform copies on valid textures (#37) 2024-09-19 19:51:47 +02:00
Isaac Marovitz
e4d27fd385
Get render command encoder after finalising buffers
Fixes crash in Fire Emblem: Houses
2024-09-19 19:51:47 +02:00
Isaac Marovitz
5813ba49e8
Format 2024-09-19 19:51:47 +02:00
Isaac Marovitz
c79f267311
Fix non atomic image loads again 2024-09-19 19:51:46 +02:00
Isaac Marovitz
f390dc9c37
Finally fix (most) image atomics 2024-09-19 19:51:46 +02:00
Isaac Marovitz
fbcf1b46c7
Precise Float Fixes
Fixes artifacts in TOTK
2024-09-19 19:51:46 +02:00
Isaac Marovitz
5671380483
Fix image atomics 2024-09-19 19:51:46 +02:00
Isaac Marovitz
29f1abe74a
Fix Non-Float Textures + Image Read + FSI Buffers
Fixes Mario Party Superstars
2024-09-19 19:51:46 +02:00
Isaac Marovitz
fc57501617
Image Constant Fixes
Allows Mario Party Superstars to boot
2024-09-19 19:51:46 +02:00
Isaac Marovitz
0be0f8cf13
Helper Shader fixes for non float formats 2024-09-19 19:51:45 +02:00
Isaac Marovitz
389f601bc0
Shader Extra Set Support + Cleanup (#36)
Separate samplers are now supported and arrays in constant sets are bound
2024-09-19 19:51:45 +02:00
Isaac Marovitz
442ce14c6d
InstGenMemory Refactor + Bindless Support 2024-09-19 19:51:45 +02:00
Isaac Marovitz
acdd16f387
TextureArray & ImageArray Creation + State 2024-09-19 19:51:45 +02:00
Isaac Marovitz
5fae91af24
Fix hex number type ambiguity
Fixes cutscenes in Super Mario Sunshine
2024-09-19 19:51:45 +02:00
Isaac Marovitz
97c0ca479c
Use RGBA8Unorm for R4G4B4A4Unorm
Gets SM64 to boot
2024-09-19 19:51:44 +02:00
Isaac Marovitz
584ace2511
Dual Source Blend Support in Shader
Fixes Super Mario Galaxy and The Legend of Zelda: Skyward Sword HD
2024-09-19 19:51:44 +02:00
Isaac Marovitz
c873dc6d22
Get Tomb Raider working 2024-09-19 19:51:44 +02:00
Isaac Marovitz
918fb86c55
Remove DummyBufferTextures
Mostly gets VTG on Compute working again
2024-09-19 19:51:44 +02:00
Isaac Marovitz
a1e8295a7d
Properly register TextureBuffer usage + Store Auto ref 2024-09-19 19:51:44 +02:00
Isaac Marovitz
35672601aa
Partial indirect draw support 2024-09-19 19:51:43 +02:00
Gabriel A
c496b8a239
Fixes 2024-09-19 19:51:43 +02:00
Gabriel A
11707a6ec6
Start building more accurate vertex as compute usage info 2024-09-19 19:51:43 +02:00
Isaac Marovitz
9e9b55f600
Bind TextureBuffers 2024-09-19 19:51:43 +02:00
Isaac Marovitz
1aab6ffcb8
Remove ClearSegments for now
Currently unimplemented and issues are arising with building BindingSegments in general.
2024-09-19 19:51:43 +02:00
Isaac Marovitz
f9911f15e7
Fix compute generation failure in NieR 2024-09-19 19:51:43 +02:00
Isaac Marovitz
464519e747
Some debug improvements 2024-09-19 19:51:42 +02:00
Isaac Marovitz
c2be81c805
Stop complaining about clip distance 2024-09-19 19:51:42 +02:00
Isaac Marovitz
202e00080c
Shader Gen Fixes
Fixes Luigi’s Mansion 2 HD
2024-09-19 19:51:42 +02:00
Isaac Marovitz
35baf30520
DepthStencil Blits 2024-09-19 19:51:42 +02:00
Isaac Marovitz
5d36a2df5f
Multisample Blits
Partially fixes Sonic Colors Ultimate
2024-09-19 19:51:42 +02:00
Isaac Marovitz
ecb3b7b1ea
Fix image bindings 2024-09-19 19:51:42 +02:00
Isaac Marovitz
294c10f086
FSI (with raster order groups) 2024-09-19 19:51:41 +02:00
Isaac Marovitz
619f70076b
SwizzleAdd (NOT TESTED) 2024-09-19 19:51:41 +02:00
Isaac Marovitz
3a6f4122a1
Consolodate barriers 2024-09-19 19:51:41 +02:00
Isaac Marovitz
a17ea2fb1b
Shader Memory Barriers
Fixes some of the shader generation failures in Sonic Frontiers
2024-09-19 19:51:41 +02:00
Isaac Marovitz
07b0109ffe
Image binding support
Kirby still has a problem with NaN 3D Texture
2024-09-19 19:51:41 +02:00
Isaac Marovitz
6d26a12239
Image shader gen support 2024-09-19 19:51:40 +02:00