Fix some if directive stuff. Fix a property output issue. Will be deprecated next commit anyway.

This commit is contained in:
2025-09-17 12:30:36 +02:00
parent 7fefe0ecf6
commit 8b2141df16
19 changed files with 174 additions and 95 deletions

12
test/parse/ifdefs.golden Normal file
View File

@@ -0,0 +1,12 @@
(program
(#if Env.Skinning
(fun vertex vs_skinning_main
[]
(:= x float 5))
(#if Env.UV
(fun vertex vs_texture_mapping_main
[]
(:= x float2 (float2 2 2)))))
(fun pixel ps_main
[]))