Module: Mesa Branch: master Commit: a0aaba26cd4860a51c63ede351e02e4a7046c2c7 URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=a0aaba26cd4860a51c63ede351e02e4a7046c2c7
Author: Jesse Natalie <[email protected]> Date: Thu Nov 12 09:52:11 2020 -0800 nir_load_libclc: Mark libclc shader as internal This allows NIR_PRINT to skip passes run on it. Reviewed-by: Jason Ekstrand <[email protected]> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/7565> --- src/compiler/spirv/nir_load_libclc.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/compiler/spirv/nir_load_libclc.c b/src/compiler/spirv/nir_load_libclc.c index 18da4b92586..18d46147b17 100644 --- 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); _______________________________________________ mesa-commit mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/mesa-commit
