projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d573d1d
)
ac/nir: honor ACCESS_STREAM_CACHE_POLICY for L1 and L0 caches too
author
Marek Olšák
<marek.olsak@amd.com>
Wed, 6 May 2020 23:06:35 +0000
(19:06 -0400)
committer
Marge Bot
<eric+marge@anholt.net>
Fri, 15 May 2020 22:12:35 +0000
(22:12 +0000)
Reviewed-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Acked-by: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer@amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4935>
src/amd/llvm/ac_nir_to_llvm.c
patch
|
blob
|
history
diff --git
a/src/amd/llvm/ac_nir_to_llvm.c
b/src/amd/llvm/ac_nir_to_llvm.c
index 6f0d253d9c7a38c54a51ae37b4013546b5eb45fb..eec0a10efc86ab6e83cb444c2f5afb9ef8274ef1 100644
(file)
--- a/
src/amd/llvm/ac_nir_to_llvm.c
+++ b/
src/amd/llvm/ac_nir_to_llvm.c
@@
-1680,7
+1680,7
@@
static unsigned get_cache_policy(struct ac_nir_context *ctx,
}
if (access & ACCESS_STREAM_CACHE_POLICY)
- cache_policy |= ac_slc;
+ cache_policy |= ac_slc
| ac_glc
;
return cache_policy;
}