Mesa (master): panfrost: Mark blit shaders as internal
GitLab Mirror
gitlab-mirror at kemper.freedesktop.org
Mon Sep 28 12:40:17 UTC 2020
Module: Mesa
Branch: master
Commit: 90eaaada0d1d2479c777241948e8ec59d7cfe996
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=90eaaada0d1d2479c777241948e8ec59d7cfe996
Author: Icecream95 <ixn at keemail.me>
Date: Sat Sep 26 12:16:02 2020 +1200
panfrost: Mark blit shaders as internal
Fixes spam of blit shader nir when NIR_PRINT=1 is set.
Reviewed-by: Alyssa Rosenzweig <alyssa.rosenzweig at collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6870>
---
src/panfrost/lib/pan_blit.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/src/panfrost/lib/pan_blit.c b/src/panfrost/lib/pan_blit.c
index ff1da6fdc05..55f335c4828 100644
--- a/src/panfrost/lib/pan_blit.c
+++ b/src/panfrost/lib/pan_blit.c
@@ -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");
More information about the mesa-commit
mailing list