iris: Only resolve inputs for actual shader stages
authorKenneth Graunke <kenneth@whitecape.org>
Thu, 20 Dec 2018 04:34:55 +0000 (20:34 -0800)
committerKenneth Graunke <kenneth@whitecape.org>
Thu, 21 Feb 2019 18:26:11 +0000 (10:26 -0800)
commit7ddc1f8dedd181cff37f4fdae72a0967c5914915
tree0fec4494e7d4af0572310955c11706a6a610b2a5
parent6c17e7d95f36a2f16fc8667243b3b469a2c601a7
iris: Only resolve inputs for actual shader stages

We don't need to consider compute at render time, and don't need to
consider disabled stages.  4% on drawoverhead.
src/gallium/drivers/iris/iris_context.h
src/gallium/drivers/iris/iris_draw.c
src/gallium/drivers/iris/iris_resolve.c