Isaac Marovitz
5d7b639320
FIx build
2024-06-20 17:11:38 +01:00
Isaac Marovitz
58417e0a36
Fix some rebase errors
2024-06-20 17:11:38 +01:00
Isaac Marovitz
cc5776b44e
End Pass on Dispose
2024-06-20 17:11:38 +01:00
Isaac Marovitz
d92bc4f4cc
Don’t change Render State if Vertex Function is Invalid
2024-06-20 17:11:38 +01:00
Isaac Marovitz
a6bab4ee20
“Report” Driver
2024-06-20 17:11:38 +01:00
Isaac Marovitz
62d4ec4497
Adjust function signature
2024-06-20 17:11:38 +01:00
Isaac Marovitz
f08b09f0d4
Get it building again
2024-06-20 17:11:38 +01:00
Isaac Marovitz
2d0088e928
Render Targets
2024-06-20 17:11:38 +01:00
Isaac Marovitz
8e5907a359
format
2024-06-20 17:11:38 +01:00
Isaac Marovitz
3eefe1f47f
Formatting
2024-06-20 17:11:38 +01:00
Isaac Marovitz
2ef3e9dcb7
smh
2024-06-20 17:11:38 +01:00
Isaac Marovitz
067429b83b
Dont specify [[stage_in]] on fragment
2024-06-20 17:11:38 +01:00
Isaac Marovitz
ceb8b7800e
If one shader fails, whole program fails
2024-06-20 17:11:38 +01:00
Isaac Marovitz
9778ef6ec9
Fix fragment shaders (and fuck everything up)
2024-06-20 17:11:38 +01:00
Isaac Marovitz
fc6edc7b80
Vertex buffer data
2024-06-20 17:11:38 +01:00
Isaac Marovitz
e12427ab57
Dont be stupid
2024-06-20 17:11:38 +01:00
Isaac Marovitz
bda4cfda49
Dont set 0 attributes
2024-06-20 17:11:38 +01:00
Isaac Marovitz
c414e5791d
Reset Descriptor instead of making a new object
2024-06-20 17:11:38 +01:00
Isaac Marovitz
5a8e4a522a
Set Vertex Descriptor properly
2024-06-20 17:11:38 +01:00
Isaac Marovitz
dd29100058
Start vertex descriptor work
2024-06-20 17:11:38 +01:00
Isaac Marovitz
54054b2a09
Implement CreateProgram
2024-06-20 17:11:38 +01:00
Isaac Marovitz
1af3cec76c
Fix fragment output color
2024-06-20 17:11:38 +01:00
Isaac Marovitz
ff885120e5
Set TargetLanguage for Metal to MSL
2024-06-20 17:11:38 +01:00
Isaac Marovitz
66d500bb50
Typo + Format
2024-06-20 17:11:38 +01:00
Isaac Marovitz
0f8bf07d05
Cleanup
2024-06-20 17:11:38 +01:00
Isaac Marovitz
3dcef3a76e
MSL Binding Model description
...
Might need tweaks/adjustments
2024-06-20 17:11:38 +01:00
Isaac Marovitz
6a83ebea7f
Fix output struct definition
2024-06-20 17:11:38 +01:00
Isaac Marovitz
ebefb424bf
Output fixes
2024-06-20 17:11:38 +01:00
Isaac Marovitz
8aea158ca2
Lazy Vertex IO
2024-06-20 17:11:38 +01:00
Isaac Marovitz
8a058ba9ad
Output struct
2024-06-20 17:11:38 +01:00
Isaac Marovitz
9af4874fd5
Fix IoMap variable names
2024-06-20 17:11:38 +01:00
Isaac Marovitz
d0566c2200
Fix ETC2 PTA formats
...
Format
2024-06-20 17:11:38 +01:00
Isaac Marovitz
70cd49395c
Partial TextureQuerySamples
2024-06-20 17:11:38 +01:00
Isaac Marovitz
991530782c
Fix instructions
2024-06-20 17:11:38 +01:00
Isaac Marovitz
6b8c2acef2
LDR ASTC
2024-06-20 17:11:38 +01:00
Isaac Marovitz
eb2ec4cdb3
Get build working again (values likely wrong)
2024-06-20 17:11:38 +01:00
Isaac Marovitz
fa5700983f
dotnet format
2024-06-20 17:11:38 +01:00
Isaac Marovitz
743cdb7237
Fix stage input struct names
2024-06-20 17:11:38 +01:00
Isaac Marovitz
4b70d90726
Fix UserDefined IO Vars
2024-06-20 17:11:38 +01:00
Isaac Marovitz
741f7da692
TextureSize and VectorExtract
2024-06-20 17:11:38 +01:00
Isaac Marovitz
e9c4a5f942
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-06-20 17:11:38 +01:00
Isaac Marovitz
a3b9c19f5e
I/O Load/Store Progress
2024-06-20 17:11:38 +01:00
Isaac Marovitz
69442b9193
Sample progress
2024-06-20 17:11:38 +01:00
Isaac Marovitz
4ad5be6f18
Start TextureSample
2024-06-20 17:11:38 +01:00
Isaac Marovitz
e2f691318e
Start Load/Store implementation
2024-06-20 17:11:38 +01:00
Isaac Marovitz
4d4b375540
First special instruction
2024-06-20 17:11:38 +01:00
Isaac Marovitz
e3ee0b76c2
Back to where we were
2024-06-20 17:11:38 +01:00
Isaac Marovitz
6ca3d97e24
Boot TOTK
2024-06-20 17:11:38 +01:00
Isaac Marovitz
bbf6560e7a
Boot Sonic Mania
2024-06-20 17:11:38 +01:00
Isaac Marovitz
463a4ea5c5
Update for new Shader IR format
2024-06-20 17:11:38 +01:00