i965/fs: Handle MRF destinations in lower_integer_multiplication().
authorMatt Turner <mattst88@gmail.com>
Wed, 2 Sep 2015 05:00:24 +0000 (22:00 -0700)
committerMatt Turner <mattst88@gmail.com>
Wed, 2 Sep 2015 18:52:10 +0000 (11:52 -0700)
commit9390cb84593bda516e8c1521c87a08475574d1be
tree28f0f80ad2a238ce5497c7716ed72a7f92bb0af6
parent4fd314852cb4cfc528123145c0e4b5383fad95d4
i965/fs: Handle MRF destinations in lower_integer_multiplication().

The lowered code reads from the destination, which isn't possible from
message registers.

Fixes the following dEQP tests on SNB:

    dEQP-GLES3.functional.shaders.precision.int.highp_mul_fragment
    dEQP-GLES3.functional.shaders.precision.int.mediump_mul_fragment
    dEQP-GLES3.functional.shaders.precision.int.lowp_mul_fragment

Cc: "10.6 11.0" <mesa-stable@lists.freedesktop.org>
Tested-by: Mark Janes <mark.a.janes@intel.com>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
Reviewed-by: Jason Ekstrand <jason.ekstrand@intel.com>
src/mesa/drivers/dri/i965/brw_fs.cpp