Commit graph

3644 commits

Author SHA1 Message Date
Isaac Marovitz
66d500bb50 Typo + Format 2024-06-20 17:11:38 +01:00
Isaac Marovitz
0f8bf07d05 Cleanup 2024-06-20 17:11:38 +01:00
Isaac Marovitz
3dcef3a76e MSL Binding Model description
Might need tweaks/adjustments
2024-06-20 17:11:38 +01:00
Isaac Marovitz
6a83ebea7f Fix output struct definition 2024-06-20 17:11:38 +01:00
Isaac Marovitz
ebefb424bf Output fixes 2024-06-20 17:11:38 +01:00
Isaac Marovitz
8aea158ca2 Lazy Vertex IO 2024-06-20 17:11:38 +01:00
Isaac Marovitz
8a058ba9ad Output struct 2024-06-20 17:11:38 +01:00
Isaac Marovitz
9af4874fd5 Fix IoMap variable names 2024-06-20 17:11:38 +01:00
Isaac Marovitz
d0566c2200 Fix ETC2 PTA formats
Format
2024-06-20 17:11:38 +01:00
Isaac Marovitz
70cd49395c Partial TextureQuerySamples 2024-06-20 17:11:38 +01:00
Isaac Marovitz
991530782c Fix instructions 2024-06-20 17:11:38 +01:00
Isaac Marovitz
6b8c2acef2 LDR ASTC 2024-06-20 17:11:38 +01:00
Isaac Marovitz
eb2ec4cdb3 Get build working again (values likely wrong) 2024-06-20 17:11:38 +01:00
Isaac Marovitz
fa5700983f dotnet format 2024-06-20 17:11:38 +01:00
Isaac Marovitz
743cdb7237 Fix stage input struct names 2024-06-20 17:11:38 +01:00
Isaac Marovitz
4b70d90726 Fix UserDefined IO Vars 2024-06-20 17:11:38 +01:00
Isaac Marovitz
741f7da692 TextureSize and VectorExtract 2024-06-20 17:11:38 +01:00
Isaac Marovitz
e9c4a5f942 Rest of load/store
TODO: Currently, the generator still assumes the GLSL style of I/O attributres. On MSL, the vertex function should output a struct which contains a float4 with the required position attribute.
2024-06-20 17:11:38 +01:00
Isaac Marovitz
a3b9c19f5e I/O Load/Store Progress 2024-06-20 17:11:38 +01:00
Isaac Marovitz
69442b9193 Sample progress 2024-06-20 17:11:38 +01:00
Isaac Marovitz
4ad5be6f18 Start TextureSample 2024-06-20 17:11:38 +01:00
Isaac Marovitz
e2f691318e Start Load/Store implementation 2024-06-20 17:11:38 +01:00
Isaac Marovitz
4d4b375540 First special instruction 2024-06-20 17:11:38 +01:00
Isaac Marovitz
e3ee0b76c2 Back to where we were 2024-06-20 17:11:38 +01:00
Isaac Marovitz
6ca3d97e24 Boot TOTK 2024-06-20 17:11:38 +01:00
Isaac Marovitz
bbf6560e7a Boot Sonic Mania 2024-06-20 17:11:38 +01:00
Isaac Marovitz
463a4ea5c5 Update for new Shader IR format 2024-06-20 17:11:38 +01:00
Isaac Marovitz
aa07c1ad68 Update src/Ryujinx.Graphics.Metal/Pipeline.cs
Co-authored-by: gdkchan <gab.dark.100@gmail.com>
2024-06-20 17:11:38 +01:00
Isaac Marovitz
8b03cb61e6 Vertex Input Attributes 2024-06-20 17:11:38 +01:00
Isaac Marovitz
88951ccfad Getting somewhere… 2024-06-20 17:11:38 +01:00
Isaac Marovitz
f49d1b72f5 Remove removed special instructions 2024-06-20 17:11:38 +01:00
Isaac Marovitz
143a9949a9 Remaining instructions 2024-06-20 17:11:38 +01:00
Isaac Marovitz
c225a572fc atomics 2024-06-20 17:11:38 +01:00
Isaac Marovitz
291d99b972 “Do the simd_shuffle” 2024-06-20 17:11:38 +01:00
Isaac Marovitz
c614238fc6 Isn’t that conveniant? 2024-06-20 17:11:38 +01:00
Isaac Marovitz
a967cde499 More Shader Gen Stuff
Mostly copied from GLSL since in terms of syntax within blocks they’re pretty similar. Likely the result will need tweaking…
2024-06-20 17:11:38 +01:00
Isaac Marovitz
1495aec602 Fix Metal Validation Error 2024-06-20 17:11:38 +01:00
Isaac Marovitz
7b337700af SDL2 Headless Metal Backend support 2024-06-20 17:11:38 +01:00
Isaac Marovitz
6d3ad03fee Easier capture stuff 2024-06-20 17:11:38 +01:00
Isaac Marovitz
c6a23c7819 Define MaxFramesPerCapture 2024-06-20 17:11:38 +01:00
Isaac Marovitz
11f058f30e Cleanup encoder getting + Fix capture overflow 2024-06-20 17:11:38 +01:00
Isaac Marovitz
b61b703c74 Formatting 2024-06-20 17:11:38 +01:00
Isaac Marovitz
9f3f0fad5e Remaining functions 2024-06-20 17:11:38 +01:00
Isaac Marovitz
627be97b5e Start of MSL instructions 2024-06-20 17:11:38 +01:00
Isaac Marovitz
fc4607a613 Warn when generating unsupported shader 2024-06-20 17:11:38 +01:00
Isaac Marovitz
d37bf1262e Pass sampler to Blit shader 2024-06-20 17:11:38 +01:00
Isaac Marovitz
717693557f Shader comments 2024-06-20 17:11:38 +01:00
Isaac Marovitz
cff498a328 HelperShaders class 2024-06-20 17:11:38 +01:00
Isaac Marovitz
9b37260078 Undertale boots 2024-06-20 17:11:38 +01:00
Isaac Marovitz
e62b8b0fb0 Check if packed depth is supported 2024-06-20 17:11:38 +01:00