mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-28 14:40:10 +01:00
brw: Use resize_sources several more places
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/32097>
This commit is contained in:
parent
12d1886b87
commit
d2b266187d
1 changed files with 2 additions and 2 deletions
|
|
@ -455,8 +455,8 @@ brw_fs_opt_eliminate_find_live_channel(fs_visitor &s)
|
|||
if (depth == 0) {
|
||||
inst->opcode = BRW_OPCODE_MOV;
|
||||
inst->src[0] = brw_imm_ud(0u);
|
||||
inst->sources = 1;
|
||||
inst->force_writemask_all = true;
|
||||
inst->resize_sources(1);
|
||||
progress = true;
|
||||
|
||||
/* emit_uniformize() frequently emits FIND_LIVE_CHANNEL paired
|
||||
|
|
@ -475,8 +475,8 @@ brw_fs_opt_eliminate_find_live_channel(fs_visitor &s)
|
|||
bcast->opcode = BRW_OPCODE_MOV;
|
||||
if (!is_uniform(bcast->src[0]))
|
||||
bcast->src[0] = component(bcast->src[0], 0);
|
||||
bcast->sources = 1;
|
||||
bcast->force_writemask_all = true;
|
||||
bcast->resize_sources(1);
|
||||
}
|
||||
}
|
||||
break;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue