panfrost: Mark blit shaders as internal

Fixes spam of blit shader nir when NIR_PRINT=1 is set.

Reviewed-by: Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6870>
This commit is contained in:
Icecream95
2020-09-26 12:16:02 +12:00
committed by Marge Bot
parent ee073cb543
commit 90eaaada0d
+2
View File
@@ -53,6 +53,8 @@ panfrost_build_blit_shader(panfrost_program *program, unsigned gpu_id, gl_frag_r
nir_builder *b = &_b;
nir_shader *shader = b->shader;
shader->info.internal = true;
nir_variable *c_src = nir_variable_create(shader, nir_var_shader_in, glsl_vector_type(GLSL_TYPE_FLOAT, 2), "coord");
nir_variable *c_out = nir_variable_create(shader, nir_var_shader_out, glsl_vector_type(
GLSL_TYPE_FLOAT, is_colour ? 4 : 1), "out");