Add lexing, parsing and some semantic checking for constant buffers.

This commit is contained in:
2024-06-14 19:56:28 +02:00
parent b1dceb298f
commit a9a67e3fac
45 changed files with 1275 additions and 1119 deletions

View File

@@ -2,4 +2,5 @@
(fun vertex vs_main -> float4 (@position)
[(:= pos float4 (@position))]
(:= x float 5)
(= x 7)))
(= x 7)
(return pos)))

View File

@@ -1,3 +1,4 @@
(program
(fun vertex vs_main -> int
[(:= pos float3)]))
[(:= pos float3)]
(return 0)))