magumagu 648b9865d8 D3D11 backend: fix rounding in texture encoder.
We need to explicitly round when converting colors from float to uint
because multiplying a normalized float by 255 might not result in a whole
number.  (The exact result here may vary depending on your
drivers/hardware.)

Ideally, we shouldn't be using floating point here, but fixing that is a
much more complicated patch.

Fixes gxtest TEV tests using Intel HD 4000.
2014-04-15 23:36:05 -07:00
..
2013-12-31 14:03:19 -05:00
2014-03-09 21:14:26 +01:00
2014-03-09 21:14:26 +01:00
2014-03-09 21:14:26 +01:00
2014-03-09 21:14:26 +01:00
2014-03-09 21:14:26 +01:00
2014-03-09 21:14:26 +01:00
2013-12-31 14:03:19 -05:00
2014-03-14 13:51:23 -04:00
2014-03-14 13:51:23 -04:00
2013-12-31 14:03:19 -05:00
2014-02-18 02:19:10 -05:00
2014-03-17 02:55:55 +01:00
2013-12-31 14:03:19 -05:00
2014-03-09 21:14:26 +01:00
2014-03-09 21:14:26 +01:00
2014-03-09 21:14:26 +01:00