OSDN Git Service

i965/vec4_nir: Load constants as integers
authorAntia Puentes <apuentes@igalia.com>
Mon, 14 Sep 2015 07:50:59 +0000 (09:50 +0200)
committerEmil Velikov <emil.l.velikov@gmail.com>
Wed, 23 Sep 2015 20:01:05 +0000 (21:01 +0100)
commit3736ef3a171d673fbce6506000ab8aa8c1fb7f39
tree63bd0f496439eeaf5d782e2597c937d6c0463967
parentd9e4a3ae6abb6b331f149175b65c0ffb44794a55
i965/vec4_nir: Load constants as integers

Loads constants using integer as their register type, like it is
done in FS backend.

No shader-db changes in HSW.

Cc: "10.6 11.0" <mesa-stable@lists.freedesktop.org>
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=91716
Reviewed-by: Jason Ekstrand <jason.ekstrand@intel.com>
(cherry picked from commit b8d2263c83d29f4626ac0fe0316978aa6262aefb)
src/mesa/drivers/dri/i965/brw_vec4_nir.cpp