ncannasse / hxsl

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

Explicitly set the version hxsl depends on. #37

Closed aduros closed 10 years ago

aduros commented 10 years ago

To prevent breakage :)

If you could release a hotfix to hxsl 2.0.3 with just this change, that would be great. Otherwise any project that specifically depends on hxsl 2.0.3 (like flambe 4.0) will remain broken. I'm planning to release 4.1 with maybe an updated hxsl version, but 4.0 should still continue to work.

aduros commented 10 years ago

(#36)

ncannasse commented 10 years ago

I have released 2.0.4 with the change. Updating 2.0.3 would not work since it would require the user to remove hxsl and reinstall it. Hope that works for you

aduros commented 10 years ago

Hmm, actually, 2.0.4 isn't compiling:

/home/bruno/.haxe/lib/hxsl/2,0,4/hxsl/AgalCompiler.hx:698: characters 55-61 : Identifier 'RDepth' is not part of enum format.agal.RegType
/home/bruno/.haxe/lib/hxsl/2,0,4/hxsl/AgalCompiler.hx:698: characters 55-61 : For function argument 'dst'
/home/bruno/.haxe/lib/hxsl/2,0,4/hxsl/AgalCompiler.hx:698: characters 3-7 : Void should be dst : format.agal.Reg -> v : format.agal.Reg -> format.agal.Opcode
/home/bruno/.haxe/lib/hxsl/2,0,4/hxsl/AgalCompiler.hx:178: lines 178-182 : { version : Unknown<0>, fragmentShader : Bool, code : Array<format.agal.Opcode> } has extra field version
/home/bruno/.haxe/lib/hxsl/2,0,4/hxsl/AgalCompiler.hx:120: lines 120-183 : Missing return format.agal.Data

I guess it actually needs some of the changes in format 3.1.0?

ncannasse commented 10 years ago

Uhm, seems so, at least a part of it... How do you think we should address this ?

th3d0g commented 9 years ago

I'm having the same issue, any luck with this?

ncannasse commented 9 years ago

Everything should have been fixed in 2.0.5

th3d0g commented 9 years ago

Ah ok. I'm trying to compile a Flambe project. The error has occurred recently after running 'flambe update'. Can I roll back the update?