Isaac Marovitz
d863f1aed0
Resolve warning
2024-05-16 15:41:41 -04:00
Isaac Marovitz
2c2f558a5a
Formatting
2024-05-16 15:41:41 -04:00
Isaac Marovitz
c6b25fcb9e
FIx build
2024-05-16 15:41:41 -04:00
Isaac Marovitz
9c408ae466
Fix some rebase errors
2024-05-16 15:41:41 -04:00
Isaac Marovitz
4ab00b3c6e
End Pass on Dispose
2024-05-16 15:41:41 -04:00
Isaac Marovitz
92a2a8f737
Don’t change Render State if Vertex Function is Invalid
2024-05-16 15:41:41 -04:00
Isaac Marovitz
de1ddd8f79
“Report” Driver
2024-05-16 15:41:41 -04:00
Isaac Marovitz
bafd7565b2
Adjust function signature
2024-05-16 15:41:41 -04:00
Isaac Marovitz
db0e326de3
Get it building again
2024-05-16 15:41:41 -04:00
Isaac Marovitz
65c8c883a3
Render Targets
2024-05-16 15:41:41 -04:00
Isaac Marovitz
67656a07af
format
2024-05-16 15:41:41 -04:00
Isaac Marovitz
d70db556a1
Formatting
2024-05-16 15:41:41 -04:00
Isaac Marovitz
82af73a5bf
smh
2024-05-16 15:41:41 -04:00
Isaac Marovitz
0d16b0d51b
Dont specify [[stage_in]] on fragment
2024-05-16 15:41:41 -04:00
Isaac Marovitz
02737418c5
If one shader fails, whole program fails
2024-05-16 15:41:41 -04:00
Isaac Marovitz
91f41c6660
Fix fragment shaders (and fuck everything up)
2024-05-16 15:41:41 -04:00
Isaac Marovitz
1756325a67
Vertex buffer data
2024-05-16 15:41:41 -04:00
Isaac Marovitz
db929f421a
Dont be stupid
2024-05-16 15:41:41 -04:00
Isaac Marovitz
9ce4de891f
Dont set 0 attributes
2024-05-16 15:41:41 -04:00
Isaac Marovitz
085078cda4
Reset Descriptor instead of making a new object
2024-05-16 15:41:41 -04:00
Isaac Marovitz
c8dc377f47
Set Vertex Descriptor properly
2024-05-16 15:41:41 -04:00
Isaac Marovitz
b5070b1478
Start vertex descriptor work
2024-05-16 15:41:41 -04:00
Isaac Marovitz
3b93d90902
Implement CreateProgram
2024-05-16 15:41:41 -04:00
Isaac Marovitz
e12e5d1d22
Fix fragment output color
2024-05-16 15:41:41 -04:00
Isaac Marovitz
6ae1e636d0
Set TargetLanguage for Metal to MSL
2024-05-16 15:41:41 -04:00
Isaac Marovitz
4ca8ae1ac3
Typo + Format
2024-05-16 15:41:41 -04:00
Isaac Marovitz
d0bbc970eb
Cleanup
2024-05-16 15:41:41 -04:00
Isaac Marovitz
e71c6cc8fc
MSL Binding Model description
...
Might need tweaks/adjustments
2024-05-16 15:41:41 -04:00
Isaac Marovitz
1ac79530a5
Fix output struct definition
2024-05-16 15:41:41 -04:00
Isaac Marovitz
8d166875f1
Output fixes
2024-05-16 15:41:41 -04:00
Isaac Marovitz
3f6a669950
Lazy Vertex IO
2024-05-16 15:41:41 -04:00
Isaac Marovitz
44813527de
Output struct
2024-05-16 15:41:41 -04:00
Isaac Marovitz
2552844770
Fix IoMap variable names
2024-05-16 15:41:41 -04:00
Isaac Marovitz
b11ffd18d5
Fix ETC2 PTA formats
...
Format
2024-05-16 15:41:41 -04:00
Isaac Marovitz
463ef374fe
Partial TextureQuerySamples
2024-05-16 15:41:41 -04:00
Isaac Marovitz
c5bbacde28
Fix instructions
2024-05-16 15:41:41 -04:00
Isaac Marovitz
ce4ed60282
LDR ASTC
2024-05-16 15:41:41 -04:00
Isaac Marovitz
ffa57fc624
Get build working again (values likely wrong)
2024-05-16 15:41:41 -04:00
Isaac Marovitz
aadb92741b
dotnet format
2024-05-16 15:41:41 -04:00
Isaac Marovitz
e2ded6bc4f
Fix stage input struct names
2024-05-16 15:41:41 -04:00
Isaac Marovitz
cb971781d8
Fix UserDefined IO Vars
2024-05-16 15:41:41 -04:00
Isaac Marovitz
be2c178346
TextureSize and VectorExtract
2024-05-16 15:41:41 -04:00
Isaac Marovitz
97c79a160f
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-05-16 15:41:41 -04:00
Isaac Marovitz
9b593dcf29
I/O Load/Store Progress
2024-05-16 15:41:41 -04:00
Isaac Marovitz
aed05e38f6
Sample progress
2024-05-16 15:41:41 -04:00
Isaac Marovitz
27f3fbd06e
Start TextureSample
2024-05-16 15:41:41 -04:00
Isaac Marovitz
9fdbd1150f
Start Load/Store implementation
2024-05-16 15:41:41 -04:00
Isaac Marovitz
058dcda18d
First special instruction
2024-05-16 15:41:41 -04:00
Isaac Marovitz
f4c17aa526
Back to where we were
2024-05-16 15:41:41 -04:00
Isaac Marovitz
5bddbdf791
Boot TOTK
2024-05-16 15:41:41 -04:00