mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 20:28:04 +02:00
r300/compiler: Fix segfault in error path
https://bugs.freedesktop.org/show_bug.cgi?id=30415
(cherry picked from commit d40ff5510c)
This commit is contained in:
parent
c584318a21
commit
fcf5819945
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