ncannasse / hxsl

Haxe Shader Language, a high level 3D shader language for Haxe
86 stars 10 forks source link

PicoShader multiple compilation errors #17

Closed ryzed closed 11 years ago

ryzed commented 11 years ago

class PicoBuild { macro public // remove @ before macro

var decls = ["override function getData() return '"+s+"';",]; // add ";" at end

at PicoShaderInstance for ( v in data.vars ) { // replace with var allVars = Tools.getAllVars(data); for ( v in allVars ) {

Looks like Pico*-branch not supported?

ncannasse commented 11 years ago

I've fixed it, but didn't test. Please report further issues.

ryzed commented 11 years ago

Sorry, forgot write few changes. Diff here https://gist.github.com/ryzed/5025194