Re: d3dx9_36: Start effect parsing.

2011-03-14 Thread Henri Verbeet
2011/3/14 Rico Schüller : > Yes, it is the shader/effect version. I used the value because I was not > able to generate other targets for d3dx9 with the current sdk. > > I think a mask for the effect ((tag >> 16) == 0xfeff)) would be fine here. > There shouldn't be a huge difference between the ver

Re: d3dx9_36: Start effect parsing.

2011-03-14 Thread Rico Schüller
Am 13.03.2011 22:59, schrieb Henri Verbeet: 2011/3/13 Rico Schüller: +if (tag != 0xfeff0901) Looks like the kind of thing you'd want a constant or inline function for. If I were to guess, the feff part means it's an effect (similar to the for d3d9 pixel shaders and the fffe for d3d9 ve

Re: d3dx9_36: Start effect parsing.

2011-03-13 Thread Henri Verbeet
2011/3/13 Rico Schüller : > +if (tag != 0xfeff0901) Looks like the kind of thing you'd want a constant or inline function for. If I were to guess, the feff part means it's an effect (similar to the for d3d9 pixel shaders and the fffe for d3d9 vertex shaders), and 0901 for version 9.1 (also