d3dx9: Get rid of constant's length checking for matrix in set_constants().
commit0029128464922a6d714fd33709b0a2e4a8c5eb71
authorPaul Gofman <gofmanp@gmail.com>
Thu, 22 Jun 2017 13:11:55 +0000 (22 16:11 +0300)
committerAlexandre Julliard <julliard@winehq.org>
Tue, 27 Jun 2017 21:46:20 +0000 (27 23:46 +0200)
treed940254d2d05b9501a4c45c9ddaf918a7346dae7
parented7e27ad8db2c08afbf222d80ec0d6d093ad4498
d3dx9: Get rid of constant's length checking for matrix in set_constants().

When count in const_upload_info is calculated precisely (considering actual
constant set length), boolean matrix setting fall in direct copy path, unless
transpose is required. The case of incomplete last row for matrix should be
handled in set_constants() for transposed boolean constant only.

Signed-off-by: Paul Gofman <gofmanp@gmail.com>
Signed-off-by: Matteo Bruni <mbruni@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
dlls/d3dx9_36/preshader.c