projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f83f538
)
radeonsi: Enable tgsi to nir disk cache
author
Axel Davy
<davyaxel0@gmail.com>
Wed, 13 May 2020 16:48:48 +0000
(18:48 +0200)
committer
Marge Bot
<eric+marge@anholt.net>
Wed, 13 May 2020 19:43:05 +0000
(19:43 +0000)
Enable the tgsi to nir cache for radeonsi.
Signed-off-by: Axel Davy <davyaxel0@gmail.com>
Reviewed-by: Marek Olšák <marek.olsak@amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4993>
src/gallium/drivers/radeonsi/si_state_shaders.c
patch
|
blob
|
history
diff --git
a/src/gallium/drivers/radeonsi/si_state_shaders.c
b/src/gallium/drivers/radeonsi/si_state_shaders.c
index b98d866d0587d9ee194338de0881486ab27080ed..4f37852789acfc42bf8191c426f52c00827997f4 100644
(file)
--- a/
src/gallium/drivers/radeonsi/si_state_shaders.c
+++ b/
src/gallium/drivers/radeonsi/si_state_shaders.c
@@
-2593,7
+2593,7
@@
static void *si_create_shader_selector(struct pipe_context *ctx,
sel->so = state->stream_output;
if (state->type == PIPE_SHADER_IR_TGSI) {
- sel->nir = tgsi_to_nir(state->tokens, ctx->screen,
fals
e);
+ sel->nir = tgsi_to_nir(state->tokens, ctx->screen,
tru
e);
} else {
assert(state->type == PIPE_SHADER_IR_NIR);
sel->nir = state->ir.nir;