Closed GoogleCodeExporter closed 9 years ago
The transpose is indeed required to have correct indexing semantics. But it is
essentially free, because the HLSL compiler recognizes that it can replace dot4
instructions on matrix rows, with mad instructions on matrix columns, or
vice-versa.
Original comment by nico...@transgaming.com
on 10 Jun 2013 at 8:51
Thanks for confirming why the matrix is transposed during loading.
You have a lot more faith in compilers than I do. I would use mul(vec, matrix).
Original comment by callow.m...@artspark.co.jp
on 11 Jun 2013 at 4:27
Original issue reported on code.google.com by
callow.m...@artspark.co.jp
on 5 Jun 2013 at 8:01