Isaac Marovitz
a104af7410
Try again
2024-09-18 23:25:55 +02:00
Isaac Marovitz
c9f7d7e85a
Resolve warning
2024-09-18 23:25:55 +02:00
Isaac Marovitz
6e2dfefd8f
Formatting
2024-09-18 23:25:55 +02:00
Isaac Marovitz
84d9ec13b9
FIx build
2024-09-18 23:25:54 +02:00
Isaac Marovitz
f959a910eb
Fix some rebase errors
2024-09-18 23:25:54 +02:00
Isaac Marovitz
c3aba3a6d5
End Pass on Dispose
2024-09-18 23:25:53 +02:00
Isaac Marovitz
84d0b3b052
Don’t change Render State if Vertex Function is Invalid
2024-09-18 23:25:53 +02:00
Isaac Marovitz
d397e9477a
“Report” Driver
2024-09-18 23:25:53 +02:00
Isaac Marovitz
45f5d99436
Adjust function signature
2024-09-18 23:25:52 +02:00
Isaac Marovitz
1d36be2537
Get it building again
2024-09-18 23:25:52 +02:00
Isaac Marovitz
bd95b023c5
Render Targets
2024-09-18 23:25:51 +02:00
Isaac Marovitz
134e258751
format
2024-09-18 23:25:51 +02:00
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