diff options
author | Axel Davy <[email protected]> | 2020-05-12 21:52:40 +0200 |
---|---|---|
committer | Marge Bot <[email protected]> | 2020-05-13 19:43:05 +0000 |
commit | 522bd414f343c7a132fee17d0d6b755b9ec6766c (patch) | |
tree | 4e32fd0f077c973d002273b06dfa531f22f25fb0 /src/gallium/drivers/etnaviv/etnaviv_shader.c | |
parent | 6670475a449ed5166f5de997c820da16a675a6de (diff) |
ttn: Add new allow_disk_cache parameter
For now this parameter doesn't do anything.
It means the implementation is allowed to use
a cache on disk.
Signed-off-by: Axel Davy <[email protected]>
Reviewed-by: Marek Olšák <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4993>
Diffstat (limited to 'src/gallium/drivers/etnaviv/etnaviv_shader.c')
-rw-r--r-- | src/gallium/drivers/etnaviv/etnaviv_shader.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/etnaviv/etnaviv_shader.c b/src/gallium/drivers/etnaviv/etnaviv_shader.c index 3ac619ac9d7..173a4681cb2 100644 --- a/src/gallium/drivers/etnaviv/etnaviv_shader.c +++ b/src/gallium/drivers/etnaviv/etnaviv_shader.c @@ -406,7 +406,7 @@ etna_create_shader_state(struct pipe_context *pctx, if (DBG_ENABLED(ETNA_DBG_NIR)) shader->nir = (pss->type == PIPE_SHADER_IR_NIR) ? pss->ir.nir : - tgsi_to_nir(pss->tokens, pctx->screen); + tgsi_to_nir(pss->tokens, pctx->screen, false); else shader->tokens = tgsi_dup_tokens(pss->tokens); |