nir_load_libclc: Mark libclc shader as internal
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>
This commit is contained in:
@@ -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);
|
||||
|
||||
|
Reference in New Issue
Block a user