mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-09 04:38:03 +02:00
i965: Fix the gen6 jump size for BREAK/CONT in new FS.
Since gen5, jumps are in increments of 64 bits instead of increments of 128-bit instructions.
This commit is contained in:
parent
efc4a6f790
commit
354c40a624
1 changed files with 1 additions and 1 deletions
|
|
@ -2518,7 +2518,7 @@ fs_visitor::generate_code()
|
|||
struct brw_instruction *inst0, *inst1;
|
||||
GLuint br = 1;
|
||||
|
||||
if (intel->gen == 5)
|
||||
if (intel->gen >= 5)
|
||||
br = 2;
|
||||
|
||||
assert(loop_stack_depth > 0);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue