iris: Actually pin the scratch BO.
authorKenneth Graunke <kenneth@whitecape.org>
Thu, 11 Apr 2019 18:51:26 +0000 (11:51 -0700)
committerKenneth Graunke <kenneth@whitecape.org>
Thu, 11 Apr 2019 22:03:27 +0000 (15:03 -0700)
commit4fcb749044c44a2d8d1908bfa0de2a0493502242
tree853196074fae8d3609972c29ce6e9b034a138349
parent628c9ca9089789e0103a7de0cc479ff7a5ed0871
iris: Actually pin the scratch BO.

We were pinning it for compute shaders, and pinning it when restoring
saved buffers, but we never actually pinned it in the original batch
for VS/TCS/TES/GS/FS.

Fixes rendering in GFXBench5's Tessellation demo and a bunch of Piglit
geometry shader tests.
src/gallium/drivers/iris/iris_state.c