i965: Fix brw_clear_cache to clean up TCS/TES shaders.
We need to free prog_data for TCS/TES too. Signed-off-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Timothy Arceri <timothy.arcero@collabora.com>
This commit is contained in:
parent
bab1c05634
commit
d3cc3d28bd
|
@ -366,6 +366,8 @@ brw_clear_cache(struct brw_context *brw, struct brw_cache *cache)
|
|||
for (c = cache->items[i]; c; c = next) {
|
||||
next = c->next;
|
||||
if (c->cache_id == BRW_CACHE_VS_PROG ||
|
||||
c->cache_id == BRW_CACHE_TCS_PROG ||
|
||||
c->cache_id == BRW_CACHE_TES_PROG ||
|
||||
c->cache_id == BRW_CACHE_GS_PROG ||
|
||||
c->cache_id == BRW_CACHE_FS_PROG ||
|
||||
c->cache_id == BRW_CACHE_CS_PROG) {
|
||||
|
|
Loading…
Reference in New Issue