mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-31 22:50:08 +01:00
intel/fs: Use full 32-bit sample masks when immediate.
Reviewed-by: Caio Oliveira <caio.oliveira@intel.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/26994>
This commit is contained in:
parent
565ee4fafc
commit
dfb034853a
1 changed files with 2 additions and 2 deletions
|
|
@ -1642,7 +1642,7 @@ lower_surface_logical_send(const fs_builder &bld, fs_inst *inst)
|
|||
const bool has_side_effects = inst->has_side_effects();
|
||||
|
||||
fs_reg sample_mask = allow_sample_mask.ud ? brw_sample_mask_reg(bld) :
|
||||
fs_reg(brw_imm_d(0xffff));
|
||||
fs_reg(brw_imm_ud(0xffffffff));
|
||||
|
||||
/* From the BDW PRM Volume 7, page 147:
|
||||
*
|
||||
|
|
@ -1902,7 +1902,7 @@ lower_lsc_surface_logical_send(const fs_builder &bld, fs_inst *inst)
|
|||
|
||||
/* Predicate the instruction on the sample mask if needed */
|
||||
fs_reg sample_mask = allow_sample_mask.ud ? brw_sample_mask_reg(bld) :
|
||||
fs_reg(brw_imm_d(0xffff));
|
||||
fs_reg(brw_imm_ud(0xffffffff));
|
||||
if (sample_mask.file != BAD_FILE && sample_mask.file != IMM)
|
||||
brw_emit_predicate_on_sample_mask(bld, inst);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue