projects
/
platform
/
upstream
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cab995b
)
nir_load_libclc: Mark libclc shader as internal
author
Jesse Natalie
<jenatali@microsoft.com>
Thu, 12 Nov 2020 17:52:11 +0000
(09:52 -0800)
committer
Marge Bot
<eric+marge@anholt.net>
Wed, 18 Nov 2020 04:05:37 +0000
(
04:05
+0000)
This allows NIR_PRINT to skip passes run on it.
Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/7565>
src/compiler/spirv/nir_load_libclc.c
patch
|
blob
|
history
diff --git
a/src/compiler/spirv/nir_load_libclc.c
b/src/compiler/spirv/nir_load_libclc.c
index
18da4b9
..
18d4614
100644
(file)
--- a/
src/compiler/spirv/nir_load_libclc.c
+++ b/
src/compiler/spirv/nir_load_libclc.c
@@
-289,6
+289,7
@@
nir_load_libclc_shader(unsigned ptr_bit_size,
* already ready to lower. This means we need to inline any function_temp
* initializers and lower any early returns.
*/
+ nir->info.internal = true;
NIR_PASS_V(nir, nir_lower_variable_initializers, nir_var_function_temp);
NIR_PASS_V(nir, nir_lower_returns);