mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-02-02 02:20:25 +01:00
i965: Assert that an OPCODE_IF was seen before an OPCODE_ELSE.
This commit is contained in:
parent
010f81f32b
commit
4485dd8a3e
1 changed files with 1 additions and 0 deletions
|
|
@ -1657,6 +1657,7 @@ void brw_vs_emit(struct brw_vs_compile *c )
|
|||
if_depth++;
|
||||
break;
|
||||
case OPCODE_ELSE:
|
||||
assert(if_depth > 0);
|
||||
if_inst[if_depth-1] = brw_ELSE(p, if_inst[if_depth-1]);
|
||||
break;
|
||||
case OPCODE_ENDIF:
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue