mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-26 15:00:10 +01:00
i965: Fix Sandybridge regression introduced by workaround-free math.
Commit a73c65c534 had a typo which
accidentally enabled the workaround-free Gen7 code on Gen6.
Fixes GPU hangs in anything using pow() or integer division/modulus.
Signed-off-by: Kenneth Graunke <kenneth@whitecape.org>
This commit is contained in:
parent
a73c65c534
commit
dceb202297
1 changed files with 1 additions and 1 deletions
|
|
@ -833,7 +833,7 @@ fs_visitor::generate_code()
|
|||
case SHADER_OPCODE_INT_QUOTIENT:
|
||||
case SHADER_OPCODE_INT_REMAINDER:
|
||||
case SHADER_OPCODE_POW:
|
||||
if (intel->gen >= 6) {
|
||||
if (intel->gen >= 7) {
|
||||
generate_math2_gen7(inst, dst, src[0], src[1]);
|
||||
} else if (intel->gen == 6) {
|
||||
generate_math2_gen6(inst, dst, src[0], src[1]);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue