mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-06 15:58:05 +02:00
nv50: support TGSI_OPCODE_CONT
This commit is contained in:
parent
d29f55546d
commit
b7b2226a75
2 changed files with 6 additions and 1 deletions
|
|
@ -2241,6 +2241,11 @@ nv50_program_tx_insn(struct nv50_pc *pc,
|
|||
set_pred(pc, 0x6, 1, pc->p->exec_tail); /* @NSF */
|
||||
}
|
||||
break;
|
||||
case TGSI_OPCODE_CONT:
|
||||
assert(pc->loop_lvl > 0);
|
||||
emit_branch(pc, -1, 0)->param.index =
|
||||
pc->loop_pos[pc->loop_lvl - 1];
|
||||
break;
|
||||
case TGSI_OPCODE_COS:
|
||||
if (mask & 8) {
|
||||
emit_precossin(pc, temp, src[0][3]);
|
||||
|
|
|
|||
|
|
@ -128,7 +128,7 @@ nv50_screen_get_param(struct pipe_screen *pscreen, int param)
|
|||
case PIPE_CAP_TEXTURE_MIRROR_REPEAT:
|
||||
return 1;
|
||||
case PIPE_CAP_TGSI_CONT_SUPPORTED:
|
||||
return 0;
|
||||
return 1;
|
||||
case PIPE_CAP_BLEND_EQUATION_SEPARATE:
|
||||
return 1;
|
||||
case NOUVEAU_CAP_HW_VTXBUF:
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue