mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-24 08:50:13 +01:00
virgl: overpropagate precise flags
As it turns out, MOVs weren't the only instructions that blocked precise flags propagation in the transition to nir-to-tgsi. This commit fixes some rendering regressions caused bya4a34cd3. Fixes:a4a34cd3Signed-off-by: Italo Nicola <italonicola@collabora.com> Reviewed-by: Gert Wollny <gert.wollny@collanora.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/17144>
This commit is contained in:
parent
e1488d9374
commit
42a1264951
1 changed files with 0 additions and 2 deletions
|
|
@ -288,8 +288,6 @@ virgl_tgsi_transform_instruction(struct tgsi_transform_context *ctx,
|
|||
* one precise output */
|
||||
if (inst->Instruction.Precise)
|
||||
vtctx->precise_flags[index] |= bits;
|
||||
else if (inst->Instruction.Opcode != TGSI_OPCODE_MOV)
|
||||
vtctx->precise_flags[index] &= ~bits;
|
||||
} else if (inst->Instruction.Opcode == TGSI_OPCODE_MOV) {
|
||||
for (int i = 0; i < inst->Instruction.NumSrcRegs; ++i) {
|
||||
if (inst->Src[i].Register.File == TGSI_FILE_TEMPORARY) {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue