mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-09 04:38:03 +02:00
glsl: fix missing breaks in equals(ir_texture,..)
Signed-off-by: Chris Forbes <chrisf@ijw.co.nz>
Cc: "10.0" <mesa-stable@lists.freedesktop.org>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
(cherry picked from commit d257350949)
This commit is contained in:
parent
b8a631295a
commit
0010bdd54a
1 changed files with 2 additions and 0 deletions
|
|
@ -352,6 +352,7 @@ equals(ir_texture *a, ir_texture *b)
|
||||||
if (!equals(a->lod_info.grad.dPdx, b->lod_info.grad.dPdx) ||
|
if (!equals(a->lod_info.grad.dPdx, b->lod_info.grad.dPdx) ||
|
||||||
!equals(a->lod_info.grad.dPdy, b->lod_info.grad.dPdy))
|
!equals(a->lod_info.grad.dPdy, b->lod_info.grad.dPdy))
|
||||||
return false;
|
return false;
|
||||||
|
break;
|
||||||
case ir_txf_ms:
|
case ir_txf_ms:
|
||||||
if (!equals(a->lod_info.sample_index, b->lod_info.sample_index))
|
if (!equals(a->lod_info.sample_index, b->lod_info.sample_index))
|
||||||
return false;
|
return false;
|
||||||
|
|
@ -359,6 +360,7 @@ equals(ir_texture *a, ir_texture *b)
|
||||||
case ir_tg4:
|
case ir_tg4:
|
||||||
if (!equals(a->lod_info.component, b->lod_info.component))
|
if (!equals(a->lod_info.component, b->lod_info.component))
|
||||||
return false;
|
return false;
|
||||||
|
break;
|
||||||
default:
|
default:
|
||||||
assert(!"Unrecognized texture op");
|
assert(!"Unrecognized texture op");
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue