iris: Fix SO offset to be 32-bit in DrawTransformFeedback handling
authorKenneth Graunke <kenneth@whitecape.org>
Mon, 29 Jul 2019 22:33:02 +0000 (15:33 -0700)
committerKenneth Graunke <kenneth@whitecape.org>
Mon, 29 Jul 2019 23:38:19 +0000 (16:38 -0700)
commit44e713eddb44a1cbd0861c216ba5921da8ee3570
tree96f8a4a4a6d8b18b71520ce3fc7752c3ab9951bb
parent4bb6e6817ec5d627d58e499ca09f1f40641a1acd
iris: Fix SO offset to be 32-bit in DrawTransformFeedback handling

We accidentally started copying a full 64-bit value rather than copying
a 32-bit offset and zeroing the top 32-bits.  This caused us to compute
bogus vertex counts which could lead to GPU hangs in some cases.

Thanks to Clayton Craft for catching the regressions!

Fixes: 0e24d10ff5c ("iris: Use gen_mi_builder to handle CS ALU operations.")
src/gallium/drivers/iris/iris_state.c