Skip to content

Instantly share code, notes, and snippets.

@MadFlasheroo7
Created May 7, 2025 09:24
Show Gist options
  • Save MadFlasheroo7/11f3c090e992c9ca78583b03e0b3e1d0 to your computer and use it in GitHub Desktop.
Save MadFlasheroo7/11f3c090e992c9ca78583b03e0b3e1d0 to your computer and use it in GitHub Desktop.
Construct Syntax / Notes
Function Call Call by value-return
Iteration for (<init>; <test>; <next>) { break, continue }
Selection if () { }
if () { } else { }
switch () { break, case }
(default case should be last)
Jump break, continue, return
(discard is not allowed)
Entry Point half4 main(float2 fragCoord)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment