diff options
author | Samuel Iglesias Gonsálvez <[email protected]> | 2017-02-08 13:14:34 +0100 |
---|---|---|
committer | Samuel Iglesias Gonsálvez <[email protected]> | 2017-02-09 10:18:34 +0100 |
commit | b115407d75cdde7ee67066f3956b3f43187b3edc (patch) | |
tree | 9e85075a09090265d0d4e8180ed5ba759c513c83 /src/mesa/drivers | |
parent | 8734461c58294eda6f107aafe84ade40f570ebef (diff) |
i965/fs: legalize [u]int64 to 32-bit data conversions in lower_d2x
Signed-off-by: Samuel Iglesias Gonsálvez <[email protected]>
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=99660
Reviewed-by: Lionel Landwerlin <[email protected]>
Diffstat (limited to 'src/mesa/drivers')
-rw-r--r-- | src/mesa/drivers/dri/i965/brw_fs_lower_d2x.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/mesa/drivers/dri/i965/brw_fs_lower_d2x.cpp b/src/mesa/drivers/dri/i965/brw_fs_lower_d2x.cpp index 9a8aabf8487..a2db1154615 100644 --- a/src/mesa/drivers/dri/i965/brw_fs_lower_d2x.cpp +++ b/src/mesa/drivers/dri/i965/brw_fs_lower_d2x.cpp @@ -41,7 +41,9 @@ fs_visitor::lower_d2x() inst->dst.type != BRW_REGISTER_TYPE_UD) continue; - if (inst->src[0].type != BRW_REGISTER_TYPE_DF) + if (inst->src[0].type != BRW_REGISTER_TYPE_DF && + inst->src[0].type != BRW_REGISTER_TYPE_UQ && + inst->src[0].type != BRW_REGISTER_TYPE_Q) continue; assert(inst->dst.file == VGRF); |