mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-25 08:00:25 +01:00
r300/compiler: Fix segfault in error path
https://bugs.freedesktop.org/show_bug.cgi?id=30415 NOTE: This is a candidate for the 7.9 branch.
This commit is contained in:
parent
73dab75b41
commit
d40ff5510c
1 changed files with 1 additions and 1 deletions
|
|
@ -250,7 +250,7 @@ static void emit_paired(struct r300_fragment_program_compiler *c, struct rc_pair
|
|||
if (inst->RGB.OutputWriteMask || inst->Alpha.OutputWriteMask || inst->Alpha.DepthWriteMask) {
|
||||
code->inst[ip].inst0 = R500_INST_TYPE_OUT;
|
||||
if (inst->WriteALUResult) {
|
||||
error("%s: cannot write output and ALU result at the same time");
|
||||
error("Cannot write output and ALU result at the same time");
|
||||
return;
|
||||
}
|
||||
} else {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue