mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-04-04 01:50:35 +02:00
nvc0: add missing break statements in constant_operand
This commit is contained in:
parent
e7845e3196
commit
2fa35eedd9
1 changed files with 2 additions and 0 deletions
|
|
@ -544,6 +544,7 @@ constant_operand(struct nv_pc *pc,
|
|||
nv_reference(pc, nvi, s, nvi->src[t]->value);
|
||||
nvi->src[s]->mod = nvi->src[t]->mod;
|
||||
}
|
||||
break;
|
||||
case NV_OP_ADD_F32:
|
||||
if (u.u32 == 0) {
|
||||
switch (nvi->src[t]->mod) {
|
||||
|
|
@ -563,6 +564,7 @@ constant_operand(struct nv_pc *pc,
|
|||
if (nvi->opcode != NV_OP_CVT)
|
||||
nvi->src[0]->mod = 0;
|
||||
}
|
||||
break;
|
||||
case NV_OP_ADD_B32:
|
||||
if (u.u32 == 0) {
|
||||
assert(nvi->src[t]->mod == 0);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue