asahi: enable tcs caching

works fine

Signed-off-by: Alyssa Rosenzweig <alyssa@rosenzweig.io>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/27616>
This commit is contained in:
Alyssa Rosenzweig 2024-01-18 13:29:51 -04:00 committed by Marge Bot
parent 19da2f6d30
commit 9e8ce4550c

View file

@ -70,9 +70,8 @@ agx_disk_cache_store(struct disk_cache *cache,
if (!cache)
return;
/* TODO: Support caching GS/TCS */
if (uncompiled->type == PIPE_SHADER_GEOMETRY ||
uncompiled->type == PIPE_SHADER_TESS_CTRL)
/* TODO: Support caching GS */
if (uncompiled->type == PIPE_SHADER_GEOMETRY)
return;
assert(binary->bo->ptr.cpu != NULL && "shaders must be CPU mapped");