Add lexing, parsing and some semantic checking for constant buffers.
This commit is contained in:
@@ -2,4 +2,5 @@
|
||||
(fun vertex vs_main -> float4 (@position)
|
||||
[(:= pos float4 (@position))]
|
||||
(:= x float 5)
|
||||
(= x 7)))
|
||||
(= x 7)
|
||||
(return pos)))
|
||||
Reference in New Issue
Block a user