i965/eu: set DF imm value to the source of DIM
authorSamuel Iglesias Gonsálvez <siglesias@igalia.com>
Thu, 7 Jul 2016 11:55:32 +0000 (13:55 +0200)
committerSamuel Iglesias Gonsálvez <siglesias@igalia.com>
Thu, 14 Jul 2016 06:06:01 +0000 (08:06 +0200)
commit0534863c477240e47f1d85616b59c31fad453ea2
treebe51c1b8ceaf763c27283cafa4e9c28b1a62d798
parent6e28976d35cf0a15c62bed1fd2ceeb734a3fc81e
i965/eu: set DF imm value to the source of DIM

According to HSW's PRM, vol02b, the DIM instruction has the following
restriction:

"Restriction : src0 must be immediate. src0 must specify the :f (F, Float)
type encoding but is an immediate 64-bit DF (Double Float) value. dst
must have type DF."

This commit allows to upload the immediate 64-bit DF value to the source
of a DIM instruction even when it is of float type encoding.

Signed-off-by: Samuel Iglesias Gonsálvez <siglesias@igalia.com>
Reviewed-by: Matt Turner <mattst88@gmail.com>
src/mesa/drivers/dri/i965/brw_eu_emit.c