C:\HaxeToolkit\haxe\lib/hxsl/2,0,0/hxsl/Shader.hx:308: characters 13-24 : You can't iterate on a Dynamic value, please specify Iterator or Iterable
C:\HaxeToolkit\haxe\lib/hxsl/2,0,0/hxsl/Shader.hx:136: characters 11-15 : hxsl.ShaderGlobals should be { instances : Map<Unknown<0>, Unknown<1>> }
C:\HaxeToolkit\haxe\lib/hxsl/2,0,0/hxsl/Shader.hx:136: characters 11-15 : The field instances is not public
C:\HaxeToolkit\haxe\lib/hxsl/2,0,0/hxsl/Shader.hx:136: characters 11-15 : For function argument 'x'
Now I see this error
FIX: static var ALL:Array = new Array();