mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-02-02 19:40:26 +01:00
i965: Gen6 no longer has the IFF instruction; always use IF.
This commit is contained in:
parent
3c97c00e38
commit
f7cb28fad9
1 changed files with 5 additions and 3 deletions
|
|
@ -899,9 +899,11 @@ void brw_ENDIF(struct brw_compile *p,
|
|||
* instruction respectively.
|
||||
*/
|
||||
if (patch_insn->header.opcode == BRW_OPCODE_IF) {
|
||||
/* Automagically turn it into an IFF:
|
||||
*/
|
||||
patch_insn->header.opcode = BRW_OPCODE_IFF;
|
||||
if (intel->gen < 6) {
|
||||
/* Automagically turn it into an IFF:
|
||||
*/
|
||||
patch_insn->header.opcode = BRW_OPCODE_IFF;
|
||||
}
|
||||
patch_insn->bits3.if_else.jump_count = br * (insn - patch_insn + 1);
|
||||
patch_insn->bits3.if_else.pop_count = 0;
|
||||
patch_insn->bits3.if_else.pad0 = 0;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue