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/lima | |
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/lima')
-rw-r--r-- | src/gallium/drivers/lima/lima_program.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gallium/drivers/lima/lima_program.c b/src/gallium/drivers/lima/lima_program.c index 75e74e23bc3..2537e770ef9 100644 --- a/src/gallium/drivers/lima/lima_program.c +++ b/src/gallium/drivers/lima/lima_program.c @@ -298,7 +298,7 @@ lima_create_fs_state(struct pipe_context *pctx, else { assert(cso->type == PIPE_SHADER_IR_TGSI); - nir = tgsi_to_nir(cso->tokens, pctx->screen); + nir = tgsi_to_nir(cso->tokens, pctx->screen, false); } so->base.type = PIPE_SHADER_IR_NIR; @@ -454,7 +454,7 @@ lima_create_vs_state(struct pipe_context *pctx, else { assert(cso->type == PIPE_SHADER_IR_TGSI); - nir = tgsi_to_nir(cso->tokens, pctx->screen); + nir = tgsi_to_nir(cso->tokens, pctx->screen, false); } lima_program_optimize_vs_nir(nir); |