Isaac Marovitz
3117aeca7f
Cleanup Shader I/O
2024-12-23 21:17:17 -06:00
Isaac Marovitz
987a42ce30
Fix fragment shader bindings
2024-12-23 21:17:09 -06:00
Isaac Marovitz
fc7f09624c
Fix VertexBuffers
...
Naive non-managed approach
2024-12-23 21:16:57 -06:00
Isaac Marovitz
e2445990a5
Fix some shader gen problems…
2024-12-23 21:16:52 -06:00
Isaac Marovitz
dc4305f1cf
Formatting
2024-12-23 21:16:48 -06:00
Isaac Marovitz
b7a0aefa80
Make TypeConversion failure an error
2024-12-23 21:16:42 -06:00
Isaac Marovitz
7a99143a8a
Fix MSL Reinterpret Casts
2024-12-23 21:16:39 -06:00
Isaac Marovitz
89d1caf30f
Dont set Vertex Attributes for now
2024-12-23 21:16:35 -06:00
Isaac Marovitz
de7b3e7dac
Remove capture code
2024-12-23 21:16:31 -06:00
Isaac Marovitz
94e15aa662
Bind Textures & Samplers
2024-12-23 21:16:27 -06:00
Isaac Marovitz
b157a8e549
Revise ISampler
2024-12-23 21:16:20 -06:00
Isaac Marovitz
6685041545
Try again
2024-12-23 21:16:15 -06:00
Isaac Marovitz
b8630b5c45
Resolve warning
2024-12-23 21:16:12 -06:00
Isaac Marovitz
c0da3d68ca
Formatting
2024-12-23 21:16:07 -06:00
Isaac Marovitz
76bafe75f4
FIx build
2024-12-23 21:15:56 -06:00
Isaac Marovitz
3c562d8906
Fix some rebase errors
2024-12-23 21:15:36 -06:00
Isaac Marovitz
df0dc4454b
End Pass on Dispose
2024-12-23 21:15:33 -06:00
Isaac Marovitz
26ea1e6d37
Don’t change Render State if Vertex Function is Invalid
2024-12-23 21:15:26 -06:00
Isaac Marovitz
e8d0212ec6
“Report” Driver
2024-12-23 21:15:18 -06:00
Isaac Marovitz
e7197877a2
Adjust function signature
2024-12-23 21:15:14 -06:00
Isaac Marovitz
dff9046f55
Get it building again
2024-12-23 21:15:07 -06:00
Isaac Marovitz
cb36036faa
Render Targets
2024-12-23 21:15:01 -06:00
Isaac Marovitz
c4cf4895d8
format
2024-12-23 21:14:55 -06:00
Isaac Marovitz
b6116da940
Formatting
2024-12-23 21:14:50 -06:00
Isaac Marovitz
fbcd9994c8
smh
2024-12-23 21:14:18 -06:00
Isaac Marovitz
5d90932277
Dont specify [[stage_in]] on fragment
2024-12-23 21:14:06 -06:00
Isaac Marovitz
037157135e
If one shader fails, whole program fails
2024-12-23 21:12:41 -06:00
Isaac Marovitz
d45c7711ba
Fix fragment shaders (and fuck everything up)
2024-12-23 21:09:35 -06:00
Isaac Marovitz
b3629e3a8b
Vertex buffer data
2024-12-23 21:09:25 -06:00
Isaac Marovitz
c216028d00
Dont be stupid
2024-12-23 21:09:18 -06:00
Isaac Marovitz
02fbcfbadb
Dont set 0 attributes
2024-12-23 21:09:07 -06:00
Isaac Marovitz
a5c1b6a255
Reset Descriptor instead of making a new object
2024-12-23 21:09:00 -06:00
Isaac Marovitz
be1d099879
Set Vertex Descriptor properly
2024-12-23 21:08:54 -06:00
Isaac Marovitz
3529fcd592
Start vertex descriptor work
2024-12-23 21:08:44 -06:00
Isaac Marovitz
3398977c97
Implement CreateProgram
2024-12-23 21:08:35 -06:00
Isaac Marovitz
fe62c794b9
Fix fragment output color
2024-12-23 21:08:21 -06:00
Isaac Marovitz
2e3509f8e8
Set TargetLanguage for Metal to MSL
2024-12-23 21:08:06 -06:00
Isaac Marovitz
d65858be25
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-12-23 21:07:58 -06:00
Isaac Marovitz
2a28950739
Fix ETC2 PTA formats
...
Format
2024-12-23 21:07:52 -06:00
Isaac Marovitz
4587905cd8
Partial TextureQuerySamples
2024-12-23 21:07:07 -06:00
Isaac Marovitz
9cc56a3bca
Fix instructions
2024-12-23 21:06:58 -06:00
Isaac Marovitz
b06afd1a1f
LDR ASTC
2024-12-23 21:06:52 -06:00
Isaac Marovitz
7182ac7233
Get build working again (values likely wrong)
2024-12-23 21:06:45 -06:00
Isaac Marovitz
398b6cb60e
dotnet format
2024-12-23 21:06:31 -06:00
Isaac Marovitz
c5522e3694
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-12-23 21:05:34 -06:00
Isaac Marovitz
a3da70edc2
Boot TOTK
2024-12-23 21:05:28 -06:00
Evan Husted
14999a1d51
Merge branch 'master' into new-metal
2024-12-23 21:04:54 -06:00
Isaac Marovitz
94e699eeba
Boot Sonic Mania
2024-12-23 21:01:19 -06:00
Isaac Marovitz
b1785c0b14
Update for new Shader IR format
2024-12-23 21:01:10 -06:00
Isaac Marovitz
84c90f8895
Update src/Ryujinx.Graphics.Metal/Pipeline.cs
...
Co-authored-by: gdkchan <gab.dark.100@gmail.com>
2024-12-23 21:00:54 -06:00
Isaac Marovitz
dc4d3078ef
Vertex Input Attributes
2024-12-23 21:00:45 -06:00
Isaac Marovitz
4b5c3d7fc6
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-12-23 21:00:23 -06:00
Isaac Marovitz
5a802a550b
Fix Metal Validation Error
2024-12-23 21:00:16 -06:00
Isaac Marovitz
7c31a411df
SDL2 Headless Metal Backend support
2024-12-23 20:59:56 -06:00
Isaac Marovitz
8b9d6ffc94
Easier capture stuff
2024-12-23 20:58:47 -06:00
Isaac Marovitz
4cde7a4125
Define MaxFramesPerCapture
2024-12-23 20:58:39 -06:00
Isaac Marovitz
c1ef270b9d
Cleanup encoder getting + Fix capture overflow
2024-12-23 20:58:32 -06:00
Evan Husted
2812f01643
merge leftovers
2024-12-23 20:58:17 -06:00
Isaac Marovitz
7441d94f10
Formatting
2024-12-23 20:57:31 -06:00
Isaac Marovitz
a8b4e643d0
Start of MSL instructions
...
Remaining functions
2024-12-23 20:55:40 -06:00
Isaac Marovitz
a7908c187d
Warn when generating unsupported shader
2024-12-23 20:55:27 -06:00
Isaac Marovitz
25dba8da7c
Pass sampler to Blit shader
2024-12-23 20:55:21 -06:00
Isaac Marovitz
0edec0d3ff
Shader comments
2024-12-23 20:55:12 -06:00
Isaac Marovitz
fb8749ce4e
HelperShaders class
2024-12-23 20:53:42 -06:00
Isaac Marovitz
d36c285b79
Undertale boots
2024-12-23 20:53:33 -06:00
Isaac Marovitz
179482e9cb
Check if packed depth is supported
2024-12-23 20:53:19 -06:00
Isaac Marovitz
671aff68a6
Fix RGB Seizure
2024-12-23 20:53:06 -06:00
Isaac Marovitz
8bf33b3098
Barry is here mashallah
2024-12-23 20:52:40 -06:00
Isaac Marovitz
6a115becef
Seizure my beloved is working
2024-12-23 20:52:32 -06:00
Isaac Marovitz
ed445e001a
SetData
2024-12-23 20:52:22 -06:00
Isaac Marovitz
93f31bd08a
Look ma no crash
2024-12-23 20:44:22 -06:00
Isaac Marovitz
a60ecea4c3
Whitespace
2024-12-23 20:44:19 -06:00
Isaac Marovitz
ff0362063a
TODO
2024-12-23 20:44:13 -06:00
Isaac Marovitz
e0ea464c40
BeginComputePass
2024-12-23 20:44:01 -06:00
Isaac Marovitz
05002ae234
SetDepthTest
2024-12-23 20:43:52 -06:00
Isaac Marovitz
dc60b76748
SetStencilTest
2024-12-23 20:43:43 -06:00
Isaac Marovitz
cc3c7901b6
Forgot depth
2024-12-23 20:43:37 -06:00
Isaac Marovitz
15ad03bc04
Texture usage
2024-12-23 20:43:32 -06:00
Isaac Marovitz
1d01fbf6b1
CopyBuffer to Buffer
2024-12-23 20:43:10 -06:00
Isaac Marovitz
1e835aa56f
CopyTo Buffer
2024-12-23 20:42:50 -06:00
Evan Husted
93e5ff0137
up to date with 08126b26b1
2024-12-23 20:41:07 -06:00
Evan Husted
6d513cad1e
merging leftovers
2024-12-23 20:36:29 -06:00
Evan Husted
cbad43b003
some initial metal commits cherry-picked
2024-12-23 20:35:49 -06:00
Daenorth
3094df54dd
Update Norwegian Translation ( #418 )
...
Canary release job / Create tag (push) Waiting to run
Canary release job / Release for linux-arm64 (push) Waiting to run
Canary release job / Release for linux-x64 (push) Waiting to run
Canary release job / Release for win-x64 (push) Waiting to run
Canary release job / Release MacOS universal (push) Waiting to run
swiggybobo
2024-12-23 17:03:33 -06:00
GabCoolGuy
a560d2efdb
UI: Added missing french locales/Translated french locales ( #415 )
...
Custom refresh rate locales and fixed a couple others too
2024-12-23 15:43:06 -06:00
asfasagag
a270dc721c
UI: Option to resize window to 1440p, 2160p ( #432 )
...
Canary release job / Create tag (push) Waiting to run
Canary release job / Release for linux-arm64 (push) Waiting to run
Canary release job / Release for linux-x64 (push) Waiting to run
Canary release job / Release for win-x64 (push) Waiting to run
Canary release job / Release MacOS universal (push) Waiting to run
Minor but useful quality of life addition
2024-12-22 22:49:40 -06:00
Evan Husted
23b0b22400
UI: Ensure last played date & time are always on 2 separate lines, for consistency.
Canary release job / Create tag (push) Waiting to run
Canary release job / Release for linux-arm64 (push) Waiting to run
Canary release job / Release for linux-x64 (push) Waiting to run
Canary release job / Release for win-x64 (push) Waiting to run
Canary release job / Release MacOS universal (push) Waiting to run
2024-12-22 16:08:12 -06:00
Evan Husted
3dfbf55611
Merge remote-tracking branch 'origin/master'
2024-12-22 16:01:19 -06:00
Evan Husted
cb355f504d
UI: Rearrange help menu item & merge wiki page link buttons into a "category" button.
2024-12-22 16:01:09 -06:00
Marco Carvalho
b5483d8fe0
Prefer generic overload when type is known ( #430 )
2024-12-22 13:23:35 -06:00
Evan Husted
8259f790d7
misc: Cleanup locale validator
2024-12-22 13:19:10 -06:00
Evan Husted
1ea345faa7
UI: Move Match PC Time to next to the time selector & change label & tooltip to clarify behavior further.
Canary release job / Create tag (push) Waiting to run
Canary release job / Release for linux-arm64 (push) Waiting to run
Canary release job / Release for linux-x64 (push) Waiting to run
Canary release job / Release for win-x64 (push) Waiting to run
Canary release job / Release MacOS universal (push) Waiting to run
2024-12-22 12:53:48 -06:00
Marco Carvalho
5913ceda40
Avoid zero-length array allocations ( #427 )
2024-12-22 11:36:05 -06:00
Marco Carvalho
decd37ce6d
Add missing "yield return" ( #424 )
Canary release job / Create tag (push) Waiting to run
Canary release job / Release for linux-arm64 (push) Waiting to run
Canary release job / Release for linux-x64 (push) Waiting to run
Canary release job / Release for win-x64 (push) Waiting to run
Canary release job / Release MacOS universal (push) Waiting to run
2024-12-21 23:28:31 -06:00
Hack茶ん
67ec10feea
Korean translation update ( #422 )
2024-12-21 22:46:57 -06:00
Evan Husted
4c7cb54ec6
misc: I may be stupid
2024-12-21 21:52:04 -06:00
Evan Husted
f898a5ecf4
Remove code references to having a flatpak version
Canary release job / Create tag (push) Waiting to run
Canary release job / Release for linux-arm64 (push) Waiting to run
Canary release job / Release for linux-x64 (push) Waiting to run
Canary release job / Release for win-x64 (push) Waiting to run
Canary release job / Release MacOS universal (push) Waiting to run
2024-12-21 20:06:59 -06:00
Evan Husted
2fac0f4db1
Specify it's date & time
2024-12-21 20:00:16 -06:00
Evan Husted
0f18df982f
UI: localize the button & make it smaller
2024-12-21 19:59:16 -06:00
Evan Husted
d9fe0da345
UI: Button to set emulator time based on system time in settings, under the time settings.
...
Partially resolves #355 . I think that wanted automatic. If automatic functionality is still desired even with this change then that will be considered.
2024-12-21 19:43:40 -06:00