i965/fs: fix exec_size when emitting DIM instruction
Otherwise, DIM instructions will be emitted with the default exec size which could be 16 in some cases, that is not legal. Signed-off-by: Samuel Iglesias Gonsálvez <siglesias@igalia.com> Suggested-by: Matt Turner <mattst88@gmail.com> Reviewed-by: Matt Turner <mattst88@gmail.com>
This commit is contained in:
parent
22639a6e19
commit
c5ae6e78fc
|
@ -4813,7 +4813,7 @@ setup_imm_df(const fs_builder &bld, double v)
|
|||
* instruction allows to set the 64-bit immediate value.
|
||||
*/
|
||||
if (devinfo->is_haswell) {
|
||||
const fs_builder ubld = bld.exec_all();
|
||||
const fs_builder ubld = bld.exec_all().group(1, 0);
|
||||
fs_reg dst = ubld.vgrf(BRW_REGISTER_TYPE_DF, 1);
|
||||
ubld.DIM(dst, brw_imm_df(v));
|
||||
return component(dst, 0);
|
||||
|
|
Loading…
Reference in New Issue