gm107/ir/lib: fix sched in div u32 builtin
authorKarol Herbst <kherbst@redhat.com>
Sun, 22 Apr 2018 20:23:13 +0000 (22:23 +0200)
committerKarol Herbst <kherbst@redhat.com>
Tue, 24 Apr 2018 20:31:59 +0000 (22:31 +0200)
commite4f675dc42887734b43b549784955e81d284b202
tree005d8e86ea619176c7d62082ff82061c104a2267
parent0d5ce25c1ca23abc6d91538f4374a18509091060
gm107/ir/lib: fix sched in div u32 builtin

Imad needs to set a read barrier.

With significant big work groups I was getting wrong results for div u32. Turns
out the issue was with the sched opcodes.

Signed-off-by: Karol Herbst <kherbst@redhat.com>
Reviewed-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
src/gallium/drivers/nouveau/codegen/lib/gm107.asm
src/gallium/drivers/nouveau/codegen/lib/gm107.asm.h