Isaac Marovitz
dbdd9b9d80
Formatting
2024-09-18 23:25:51 +02:00
Isaac Marovitz
2d156a3c08
smh
2024-09-18 23:25:50 +02:00
Isaac Marovitz
5452048292
Dont specify [[stage_in]] on fragment
2024-09-18 23:25:50 +02:00
Isaac Marovitz
cec40e5bd5
If one shader fails, whole program fails
2024-09-18 23:25:50 +02:00
Isaac Marovitz
6e3b317d26
Fix fragment shaders (and fuck everything up)
2024-09-18 23:25:49 +02:00
Isaac Marovitz
1ac82d527b
Vertex buffer data
2024-09-18 23:25:49 +02:00
Isaac Marovitz
5eff585e8f
Dont be stupid
2024-09-18 23:25:49 +02:00
Isaac Marovitz
91c040d649
Dont set 0 attributes
2024-09-18 23:25:48 +02:00
Isaac Marovitz
bb09ab818c
Reset Descriptor instead of making a new object
2024-09-18 23:25:48 +02:00
Isaac Marovitz
2051e274ee
Set Vertex Descriptor properly
2024-09-18 23:25:48 +02:00
Isaac Marovitz
52640171bf
Start vertex descriptor work
2024-09-18 23:25:47 +02:00
Isaac Marovitz
a2df7f3fe9
Implement CreateProgram
2024-09-18 23:25:47 +02:00
Isaac Marovitz
a0ebf80fd6
Fix fragment output color
2024-09-18 23:25:46 +02:00
Isaac Marovitz
f83c75eb7e
Set TargetLanguage for Metal to MSL
2024-09-18 23:25:46 +02:00
Isaac Marovitz
983701dd7c
Fix IoMap variable names
...
Output struct
Lazy Vertex IO
Output fixes
Fix output struct definition
MSL Binding Model description
Might need tweaks/adjustments
Cleanup
Typo + Format
2024-09-18 23:25:46 +02:00
Isaac Marovitz
97d69265fe
Fix ETC2 PTA formats
...
Format
2024-09-18 23:25:45 +02:00
Isaac Marovitz
7cd5d6aca9
Partial TextureQuerySamples
2024-09-18 23:25:45 +02:00
Isaac Marovitz
e8e7e1b009
Fix instructions
2024-09-18 23:25:45 +02:00
Isaac Marovitz
a19fbe3d5f
LDR ASTC
2024-09-18 23:25:44 +02:00
Isaac Marovitz
08d10c16c6
Get build working again (values likely wrong)
2024-09-18 23:25:44 +02:00
Isaac Marovitz
d0f1278806
dotnet format
2024-09-18 23:25:44 +02:00
Isaac Marovitz
51b6a156df
Back to where we were
...
First special instruction
Start Load/Store implementation
Start TextureSample
Sample progress
I/O Load/Store Progress
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.
TextureSize and VectorExtract
Fix UserDefined IO Vars
Fix stage input struct names
2024-09-18 23:25:43 +02:00
Isaac Marovitz
d2cfbebc2f
Boot TOTK
2024-09-18 23:25:43 +02:00
Isaac Marovitz
ee6081757d
Boot Sonic Mania
2024-09-18 23:25:42 +02:00
Isaac Marovitz
fcf3094dfa
Update for new Shader IR format
2024-09-18 23:25:42 +02:00
Isaac Marovitz
dbdc2d574c
Update src/Ryujinx.Graphics.Metal/Pipeline.cs
...
Co-authored-by: gdkchan <gab.dark.100@gmail.com>
2024-09-18 23:25:42 +02:00
Isaac Marovitz
f92c36c3dd
Vertex Input Attributes
2024-09-18 23:25:41 +02:00
Isaac Marovitz
d251892077
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…
Isn’t that conveniant?
“Do the simd_shuffle”
atomics
Remaining instructions
Remove removed special instructions
Getting somewhere…
2024-09-18 23:25:41 +02:00
Isaac Marovitz
ad79f611a9
Fix Metal Validation Error
2024-09-18 23:25:41 +02:00
Isaac Marovitz
face61951f
SDL2 Headless Metal Backend support
2024-09-18 23:25:40 +02:00
Isaac Marovitz
9b23487b56
Easier capture stuff
2024-09-18 23:25:40 +02:00
Isaac Marovitz
b39bf5ca94
Define MaxFramesPerCapture
2024-09-18 23:25:39 +02:00
Isaac Marovitz
f80b83a3e6
Cleanup encoder getting + Fix capture overflow
2024-09-18 23:25:39 +02:00
Isaac Marovitz
222aded39b
Formatting
2024-09-18 23:25:39 +02:00
Isaac Marovitz
da7f3e128f
Start of MSL instructions
...
Remaining functions
2024-09-18 23:25:38 +02:00
Isaac Marovitz
9bff5bcaf6
Warn when generating unsupported shader
2024-09-18 23:25:38 +02:00
Isaac Marovitz
288cc5bc04
Pass sampler to Blit shader
2024-09-18 23:25:37 +02:00
Isaac Marovitz
6b264ec9f7
Shader comments
2024-09-18 23:25:37 +02:00
Isaac Marovitz
30e43b58b5
HelperShaders class
2024-09-18 23:25:36 +02:00
Isaac Marovitz
fd37d100f8
Undertale boots
2024-09-18 23:25:36 +02:00
Isaac Marovitz
1da7e7bc70
Check if packed depth is supported
2024-09-18 23:25:35 +02:00
Isaac Marovitz
e8ebda10ef
Fix RGB Seizure
2024-09-18 23:25:35 +02:00
Isaac Marovitz
b8ac60e00c
Barry is here mashallah
2024-09-18 23:25:35 +02:00
Isaac Marovitz
c0bffaf547
Seizure my beloved is working
2024-09-18 23:25:34 +02:00
Isaac Marovitz
acfb22e58c
SetData
2024-09-18 23:25:34 +02:00
Isaac Marovitz
52a48606b4
Look ma no crash
2024-09-18 23:25:34 +02:00
Isaac Marovitz
516be49f3a
Whitespace
2024-09-18 23:25:33 +02:00
Isaac Marovitz
73b1f9a316
TODO
2024-09-18 23:25:33 +02:00
Isaac Marovitz
ce8c2aaf5c
BeginComputePass
2024-09-18 23:25:33 +02:00
Isaac Marovitz
fda112a8ce
SetDepthTest
2024-09-18 23:25:32 +02:00