Isaac Marovitz
664eda5a0e
Load attachments
2024-09-15 08:42:19 -04:00
Isaac Marovitz
c34c0b0855
Cleanup Shader I/O
2024-09-15 08:42:19 -04:00
Isaac Marovitz
91db4d8637
Fix fragment shader bindings
2024-09-15 08:42:19 -04:00
Isaac Marovitz
4238c7d15e
Fix VertexBuffers
...
Naive non-managed approach
2024-09-15 08:42:19 -04:00
Isaac Marovitz
26f038c52b
Fix some shader gen problems…
2024-09-15 08:42:19 -04:00
Isaac Marovitz
f0e2a5eca3
Formatting
2024-09-15 08:42:19 -04:00
Isaac Marovitz
d860fcb392
Make TypeConversion failure an error
2024-09-15 08:42:19 -04:00
Isaac Marovitz
cae51cfe8d
Fix MSL Reinterpret Casts
2024-09-15 08:42:19 -04:00
Isaac Marovitz
6e8e454270
Dont set Vertex Attributes for now
2024-09-15 08:42:19 -04:00
Isaac Marovitz
564fbf51df
Remove capture code
2024-09-15 08:42:19 -04:00
Isaac Marovitz
7c63870e62
Bind Textures & Samplers
2024-09-15 08:42:19 -04:00
Isaac Marovitz
c54a8118bd
Revise ISampler
2024-09-15 08:42:19 -04:00
Isaac Marovitz
c63a740263
Try again
2024-09-15 08:42:19 -04:00
Isaac Marovitz
d21036ec5d
Resolve warning
2024-09-15 08:42:19 -04:00
Isaac Marovitz
2520696ddc
Formatting
2024-09-15 08:42:19 -04:00
Isaac Marovitz
d67c293c57
FIx build
2024-09-15 08:42:19 -04:00
Isaac Marovitz
2d60ab38af
Fix some rebase errors
2024-09-15 08:42:19 -04:00
Isaac Marovitz
f370c90bc1
End Pass on Dispose
2024-09-15 08:42:19 -04:00
Isaac Marovitz
1a66dbd8ee
Don’t change Render State if Vertex Function is Invalid
2024-09-15 08:42:19 -04:00
Isaac Marovitz
c088883e44
“Report” Driver
2024-09-15 08:42:19 -04:00
Isaac Marovitz
937244b289
Adjust function signature
2024-09-15 08:42:19 -04:00
Isaac Marovitz
b0bca99454
Get it building again
2024-09-15 08:42:19 -04:00
Isaac Marovitz
36314f504b
Render Targets
2024-09-15 08:42:19 -04:00
Isaac Marovitz
cf706e080b
format
2024-09-15 08:42:19 -04:00
Isaac Marovitz
450944b40a
Formatting
2024-09-15 08:42:19 -04:00
Isaac Marovitz
8dc7e5aea7
smh
2024-09-15 08:42:19 -04:00
Isaac Marovitz
518f6f7a49
Dont specify [[stage_in]] on fragment
2024-09-15 08:42:19 -04:00
Isaac Marovitz
d3ef8c9c52
If one shader fails, whole program fails
2024-09-15 08:42:19 -04:00
Isaac Marovitz
d5cc90af9d
Fix fragment shaders (and fuck everything up)
2024-09-15 08:42:19 -04:00
Isaac Marovitz
cc5ac6017f
Vertex buffer data
2024-09-15 08:42:19 -04:00
Isaac Marovitz
dd2306b16e
Dont be stupid
2024-09-15 08:42:19 -04:00
Isaac Marovitz
07e77ecb64
Dont set 0 attributes
2024-09-15 08:42:19 -04:00
Isaac Marovitz
6a511b7acc
Reset Descriptor instead of making a new object
2024-09-15 08:42:19 -04:00
Isaac Marovitz
c0708208eb
Set Vertex Descriptor properly
2024-09-15 08:42:19 -04:00
Isaac Marovitz
dcb638b573
Start vertex descriptor work
2024-09-15 08:42:19 -04:00
Isaac Marovitz
a3b64b794a
Implement CreateProgram
2024-09-15 08:42:19 -04:00
Isaac Marovitz
c8a74fcccc
Fix fragment output color
2024-09-15 08:42:19 -04:00
Isaac Marovitz
80688f28b9
Set TargetLanguage for Metal to MSL
2024-09-15 08:42:19 -04:00
Isaac Marovitz
91651897ec
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-15 08:42:19 -04:00
Isaac Marovitz
3ab4b0a8b1
Fix ETC2 PTA formats
...
Format
2024-09-15 08:42:19 -04:00
Isaac Marovitz
198566ce5c
Partial TextureQuerySamples
2024-09-15 08:42:19 -04:00
Isaac Marovitz
9a50e13375
Fix instructions
2024-09-15 08:42:19 -04:00
Isaac Marovitz
74e2e37502
LDR ASTC
2024-09-15 08:42:19 -04:00
Isaac Marovitz
a7294f9b34
Get build working again (values likely wrong)
2024-09-15 08:42:19 -04:00
Isaac Marovitz
87bf31d425
dotnet format
2024-09-15 08:42:19 -04:00
Isaac Marovitz
7d7d32e9bc
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-15 08:42:19 -04:00
Isaac Marovitz
6a1a72b328
Boot TOTK
2024-09-15 08:42:19 -04:00
Isaac Marovitz
2285fe90bb
Boot Sonic Mania
2024-09-15 08:42:19 -04:00
Isaac Marovitz
7bdff7895d
Update for new Shader IR format
2024-09-15 08:42:19 -04:00
Isaac Marovitz
6193271fb6
Update src/Ryujinx.Graphics.Metal/Pipeline.cs
...
Co-authored-by: gdkchan <gab.dark.100@gmail.com>
2024-09-15 08:42:19 -04:00