mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-06 13:48:06 +02:00
intel/fs/gen7: Fix fs_inst::flags_written() for SHADER_OPCODE_FIND_LIVE_CHANNEL.
We need to pass a width of 32 since the opcode bashes the whole f1.0
register on IVB. This is unlikely to have caused problems since f1.0
is largely unused currently. That's likely to change soon though,
even on platforms other than Gen7.
Reviewed-by: Caio Marcelo de Oliveira Filho <caio.oliveira@intel.com>
Cc: 20.0 <mesa-stable@lists.freedesktop.org>
(cherry picked from commit b8b509fb92)
This commit is contained in:
parent
d92cf57345
commit
5df7a39c1b
2 changed files with 3 additions and 2 deletions
|
|
@ -1030,7 +1030,7 @@
|
|||
"description": "intel/fs/gen7: Fix fs_inst::flags_written() for SHADER_OPCODE_FIND_LIVE_CHANNEL.",
|
||||
"nominated": true,
|
||||
"nomination_type": 0,
|
||||
"resolution": 0,
|
||||
"resolution": 1,
|
||||
"master_sha": null,
|
||||
"because_sha": null
|
||||
},
|
||||
|
|
|
|||
|
|
@ -1086,9 +1086,10 @@ fs_inst::flags_written() const
|
|||
opcode != BRW_OPCODE_CSEL &&
|
||||
opcode != BRW_OPCODE_IF &&
|
||||
opcode != BRW_OPCODE_WHILE)) ||
|
||||
opcode == SHADER_OPCODE_FIND_LIVE_CHANNEL ||
|
||||
opcode == FS_OPCODE_FB_WRITE) {
|
||||
return flag_mask(this, 1);
|
||||
} else if (opcode == SHADER_OPCODE_FIND_LIVE_CHANNEL) {
|
||||
return flag_mask(this, 32);
|
||||
} else {
|
||||
return flag_mask(dst, size_written);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue