[PATCH 5/5] d3dcompiler: Parse variable declarations.

Matteo Bruni matteo.mystral at gmail.com
Tue Jun 5 06:08:11 CDT 2012


2012/6/5 Stefan Dösinger <stefandoesinger at gmx.at>:
> Am Montag, 4. Juni 2012, 17:58:24 schrieb Matteo Bruni:
>> +struct hlsl_type
>> +{
>> ...
>> +    unsigned int dimx;
>> +    unsigned int dimy;
>> ...
>> +};
> One thing I noticed when I wrote my compiler was that a float1x1 is not the
> same as a float1 or float. I did not implement this difference nor do I know
> if any games depend on it.
>
> (That's no reason to hold up this patch, just something to keep in mind for
> further work)
>

Yeah, I noticed that too, but it doesn't seem to make much of a
difference in practice. Of course, if later on it shows that it
actually matters for something relevant, I'll change things
accordingly.



More information about the wine-devel mailing list