iris: Zero shs->cbuf0 when binding a passthrough TCS
authorKenneth Graunke <kenneth@whitecape.org>
Fri, 7 Jun 2019 19:41:28 +0000 (12:41 -0700)
committerKenneth Graunke <kenneth@whitecape.org>
Fri, 7 Jun 2019 22:13:42 +0000 (15:13 -0700)
commit30314270d4695a8fd157e286014c5052f43135ae
treeaac585c40550bce9afce559d930724742ec99599
parent1e6b32d08ccdf3b5666fcfc798fe2fbd1b6dc99c
iris: Zero shs->cbuf0 when binding a passthrough TCS

Fixes valgrind errors when running two CTS tests back to back:
- KHR-GL45.shader_image_load_store.basic-allTargets-loadStoreT*
(The first test has an actual TCS, the second uses passthrough.)
src/gallium/drivers/iris/iris_program.c