iris: Refactor depth/stencil buffer pinning into a helper.
authorKenneth Graunke <kenneth@whitecape.org>
Sat, 9 Mar 2019 08:50:24 +0000 (00:50 -0800)
committerKenneth Graunke <kenneth@whitecape.org>
Mon, 11 Mar 2019 22:04:08 +0000 (15:04 -0700)
commit863e810a19d31cab58f4a7e579306ce1f8f2d16f
treed13b75c4b02f4df561d8c50eb5401de3e080b432
parent9302414f8b0e4d767b6435290ddb8d349f3ab12f
iris: Refactor depth/stencil buffer pinning into a helper.

This avoids the code duplication that caused me to put things in the
wrong place in the previous commit.  One used to have extra flushes,
but we moved those out so now these are identical and can be easily
shared.
src/gallium/drivers/iris/iris_state.c