Isaac Marovitz
e12e5d1d22
Fix fragment output color
2024-05-16 15:41:41 -04:00
Isaac Marovitz
6ae1e636d0
Set TargetLanguage for Metal to MSL
2024-05-16 15:41:41 -04:00
Isaac Marovitz
4ca8ae1ac3
Typo + Format
2024-05-16 15:41:41 -04:00
Isaac Marovitz
d0bbc970eb
Cleanup
2024-05-16 15:41:41 -04:00
Isaac Marovitz
e71c6cc8fc
MSL Binding Model description
...
Might need tweaks/adjustments
2024-05-16 15:41:41 -04:00
Isaac Marovitz
1ac79530a5
Fix output struct definition
2024-05-16 15:41:41 -04:00
Isaac Marovitz
8d166875f1
Output fixes
2024-05-16 15:41:41 -04:00
Isaac Marovitz
3f6a669950
Lazy Vertex IO
2024-05-16 15:41:41 -04:00
Isaac Marovitz
44813527de
Output struct
2024-05-16 15:41:41 -04:00
Isaac Marovitz
2552844770
Fix IoMap variable names
2024-05-16 15:41:41 -04:00
Isaac Marovitz
b11ffd18d5
Fix ETC2 PTA formats
...
Format
2024-05-16 15:41:41 -04:00
Isaac Marovitz
463ef374fe
Partial TextureQuerySamples
2024-05-16 15:41:41 -04:00
Isaac Marovitz
c5bbacde28
Fix instructions
2024-05-16 15:41:41 -04:00
Isaac Marovitz
ce4ed60282
LDR ASTC
2024-05-16 15:41:41 -04:00
Isaac Marovitz
ffa57fc624
Get build working again (values likely wrong)
2024-05-16 15:41:41 -04:00
Isaac Marovitz
aadb92741b
dotnet format
2024-05-16 15:41:41 -04:00
Isaac Marovitz
e2ded6bc4f
Fix stage input struct names
2024-05-16 15:41:41 -04:00
Isaac Marovitz
cb971781d8
Fix UserDefined IO Vars
2024-05-16 15:41:41 -04:00
Isaac Marovitz
be2c178346
TextureSize and VectorExtract
2024-05-16 15:41:41 -04:00
Isaac Marovitz
97c79a160f
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-05-16 15:41:41 -04:00
Isaac Marovitz
9b593dcf29
I/O Load/Store Progress
2024-05-16 15:41:41 -04:00
Isaac Marovitz
aed05e38f6
Sample progress
2024-05-16 15:41:41 -04:00
Isaac Marovitz
27f3fbd06e
Start TextureSample
2024-05-16 15:41:41 -04:00
Isaac Marovitz
9fdbd1150f
Start Load/Store implementation
2024-05-16 15:41:41 -04:00
Isaac Marovitz
058dcda18d
First special instruction
2024-05-16 15:41:41 -04:00
Isaac Marovitz
f4c17aa526
Back to where we were
2024-05-16 15:41:41 -04:00
Isaac Marovitz
5bddbdf791
Boot TOTK
2024-05-16 15:41:41 -04:00
Isaac Marovitz
02310e65b8
Boot Sonic Mania
2024-05-16 15:41:41 -04:00
Isaac Marovitz
a214788bfd
Update for new Shader IR format
2024-05-16 15:41:41 -04:00
Isaac Marovitz
cb23ee7b58
Update src/Ryujinx.Graphics.Metal/Pipeline.cs
...
Co-authored-by: gdkchan <gab.dark.100@gmail.com>
2024-05-16 15:41:41 -04:00
Isaac Marovitz
f1f553d675
Vertex Input Attributes
2024-05-16 15:41:41 -04:00
Isaac Marovitz
517b538ee9
Getting somewhere…
2024-05-16 15:41:41 -04:00
Isaac Marovitz
43ca9ba0f5
Remove removed special instructions
2024-05-16 15:41:41 -04:00
Isaac Marovitz
31bb429feb
Remaining instructions
2024-05-16 15:41:41 -04:00
Isaac Marovitz
d8a7a9c79d
atomics
2024-05-16 15:41:41 -04:00
Isaac Marovitz
152463c9db
“Do the simd_shuffle”
2024-05-16 15:41:41 -04:00
Isaac Marovitz
eeddfe63ea
Isn’t that conveniant?
2024-05-16 15:41:41 -04:00
Isaac Marovitz
7cb91d8e5f
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-05-16 15:41:41 -04:00
Isaac Marovitz
a588831673
Fix Metal Validation Error
2024-05-16 15:41:41 -04:00
Isaac Marovitz
0eafb3e5ac
SDL2 Headless Metal Backend support
2024-05-16 15:41:41 -04:00
Isaac Marovitz
5d1141398c
Easier capture stuff
2024-05-16 15:41:41 -04:00
Isaac Marovitz
726e9e7641
Define MaxFramesPerCapture
2024-05-16 15:41:41 -04:00
Isaac Marovitz
25a07f1be0
Cleanup encoder getting + Fix capture overflow
2024-05-16 15:41:41 -04:00
Isaac Marovitz
550f6b73ad
Formatting
2024-05-16 15:41:41 -04:00
Isaac Marovitz
eb7144aab9
Remaining functions
2024-05-16 15:41:41 -04:00
Isaac Marovitz
97bd13d5c1
Start of MSL instructions
2024-05-16 15:41:41 -04:00
Isaac Marovitz
ea08c2e6aa
Warn when generating unsupported shader
2024-05-16 15:41:41 -04:00
Isaac Marovitz
3d5feda60b
Pass sampler to Blit shader
2024-05-16 15:41:41 -04:00
Isaac Marovitz
814900d824
Shader comments
2024-05-16 15:41:41 -04:00
Isaac Marovitz
d829fba530
HelperShaders class
2024-05-16 15:41:41 -04:00