diff options
author | Kenneth Graunke <[email protected]> | 2014-08-14 20:14:34 -0700 |
---|---|---|
committer | Kenneth Graunke <[email protected]> | 2014-08-14 23:21:34 -0700 |
commit | 650c3313786cab6f96bb480685e7b32dfcb9291c (patch) | |
tree | 13e31409899addb0169d872ffa66d946eb228551 /src/mesa/drivers/x11/glxheader.h | |
parent | e84e074248efca9f5445d353fae970c8f1240de5 (diff) |
i965: Fix INTDIV math assertions on Broadwell.
Commit c66d928f2c9fa59e162c391fbdd37df969959718 ("i965: Enable INTDIV
in SIMD16 mode.") began using generate_math_gen6 to break SIMD16 INTDIV
into two SIMD8 operations.
generate_math_gen6 takes two registers - for unary operations, we pass
ARF null for the second operand. Prior to Broadwell, real operands were
always GRF. But now they can be IMM as well.
So, check for != ARF instead of == GRF.
+12 piglits.
Signed-off-by: Kenneth Graunke <[email protected]>
Reviewed-by: Matt Turner <[email protected]>
Diffstat (limited to 'src/mesa/drivers/x11/glxheader.h')
0 files changed, 0 insertions, 0 deletions