mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-19 11:00:42 +01:00
tgsi: Report an error when a destination has an empty writemask.
This commit is contained in:
parent
b0e5dcb859
commit
9bef69782d
1 changed files with 3 additions and 0 deletions
|
|
@ -216,6 +216,9 @@ iter_instruction(
|
|||
inst->FullDstRegisters[i].DstRegister.Index,
|
||||
"destination",
|
||||
FALSE );
|
||||
if (!inst->FullDstRegisters[i].DstRegister.WriteMask) {
|
||||
report_error(ctx, "Destination register has empty writemask");
|
||||
}
|
||||
}
|
||||
for (i = 0; i < inst->Instruction.NumSrcRegs; i++) {
|
||||
check_register_usage(
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue