mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-03-19 20:50:44 +01: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) ||
|
||||
!equals(a->lod_info.grad.dPdy, b->lod_info.grad.dPdy))
|
||||
return false;
|
||||
break;
|
||||
case ir_txf_ms:
|
||||
if (!equals(a->lod_info.sample_index, b->lod_info.sample_index))
|
||||
return false;
|
||||
|
|
@ -359,6 +360,7 @@ equals(ir_texture *a, ir_texture *b)
|
|||
case ir_tg4:
|
||||
if (!equals(a->lod_info.component, b->lod_info.component))
|
||||
return false;
|
||||
break;
|
||||
default:
|
||||
assert(!"Unrecognized texture op");
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue