Files
mesa/src/compiler
Timothy Arceri 2a5121bf35 glsl: skip comparison opt when adding vars of different size
The spec allows adding scalars with a vector or matrix. In this case
the opt was losing swizzle and size information.

This fixes a bug with Doom (2016) shaders.

Fixes: 34ec1a24d6 ("glsl: Optimize (x + y cmp 0) into (x cmp -y).")

Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
2018-06-28 12:15:17 +10:00
..
2018-06-22 20:15:58 -07:00
2017-07-21 08:47:56 +03:00
2017-10-13 15:02:34 -07:00
2018-04-12 19:31:30 -04:00
2018-04-20 20:26:56 -07:00
2018-06-22 20:54:00 -07:00
2018-04-24 14:08:15 -07:00
2018-03-30 14:33:03 -06:00
2016-09-12 10:48:35 +10:00
2018-03-27 08:36:37 -04:00