projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
dea9c1d
)
i965/fs: Apply usual FPU-like execution size restrictions to MULH.
author
Francisco Jerez
<currojerez@riseup.net>
Tue, 17 May 2016 23:43:05 +0000
(16:43 -0700)
committer
Francisco Jerez
<currojerez@riseup.net>
Sat, 28 May 2016 06:19:22 +0000
(23:19 -0700)
Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>
src/mesa/drivers/dri/i965/brw_fs.cpp
patch
|
blob
|
history
diff --git
a/src/mesa/drivers/dri/i965/brw_fs.cpp
b/src/mesa/drivers/dri/i965/brw_fs.cpp
index 22c4d345f5a406720eb7c5ad0b0809a83b2c392b..000658104afb56d7d1d38a25772d18d341919113 100644
(file)
--- a/
src/mesa/drivers/dri/i965/brw_fs.cpp
+++ b/
src/mesa/drivers/dri/i965/brw_fs.cpp
@@
-4829,7
+4829,8
@@
get_lowered_simd_width(const struct brw_device_info *devinfo,
/* MULH is lowered to the MUL/MACH sequence using the accumulator, which
* is 8-wide on Gen7+.
*/
- return (devinfo->gen >= 7 ? 8 : inst->exec_size);
+ return (devinfo->gen >= 7 ? 8 :
+ get_fpu_lowered_simd_width(devinfo, inst));
case FS_OPCODE_FB_WRITE_LOGICAL:
/* Gen6 doesn't support SIMD16 depth writes but we cannot handle them