projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
45e69e7
)
radeonsi: also enable tgsi_to_nir caching for compute shaders
author
Marek Olšák
<marek.olsak@amd.com>
Wed, 13 May 2020 17:33:00 +0000
(13:33 -0400)
committer
Marge Bot
<eric+marge@anholt.net>
Wed, 13 May 2020 19:43:05 +0000
(19:43 +0000)
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4993>
src/gallium/drivers/radeonsi/si_compute.c
patch
|
blob
|
history
diff --git
a/src/gallium/drivers/radeonsi/si_compute.c
b/src/gallium/drivers/radeonsi/si_compute.c
index 504e518111e276d226bd48816fc00d52180448b6..73b2a69923ef3f2ac39375d40489927e9a7cc7b4 100644
(file)
--- a/
src/gallium/drivers/radeonsi/si_compute.c
+++ b/
src/gallium/drivers/radeonsi/si_compute.c
@@
-217,7
+217,7
@@
static void *si_create_compute_state(struct pipe_context *ctx, const struct pipe
if (cso->ir_type != PIPE_SHADER_IR_NATIVE) {
if (cso->ir_type == PIPE_SHADER_IR_TGSI) {
program->ir_type = PIPE_SHADER_IR_NIR;
- sel->nir = tgsi_to_nir(cso->prog, ctx->screen,
fals
e);
+ sel->nir = tgsi_to_nir(cso->prog, ctx->screen,
tru
e);
} else {
assert(cso->ir_type == PIPE_SHADER_IR_NIR);
sel->nir = (struct nir_shader *)cso->prog;