aboutsummaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers
diff options
context:
space:
mode:
authorAlyssa Rosenzweig <[email protected]>2019-04-30 01:54:27 +0000
committerAlyssa Rosenzweig <[email protected]>2019-05-01 23:20:48 +0000
commitb304b30f2c6cc7d20ed615b27bf971bf8ca1445d (patch)
tree740ecd20623c6e0d80f01f0a31dd82de85ae8394 /src/gallium/drivers
parentdec68e32ea09e3163c39ee270782682621301370 (diff)
panfrost: Remove shader dump
Redundant via the midgard shader dump. Signed-off-by: Alyssa Rosenzweig <[email protected]>
Diffstat (limited to 'src/gallium/drivers')
-rw-r--r--src/gallium/drivers/panfrost/pan_blend_shaders.c4
-rw-r--r--src/gallium/drivers/panfrost/pan_screen.c1
-rw-r--r--src/gallium/drivers/panfrost/pan_util.h1
-rw-r--r--src/gallium/drivers/panfrost/pan_wallpaper.c3
4 files changed, 0 insertions, 9 deletions
diff --git a/src/gallium/drivers/panfrost/pan_blend_shaders.c b/src/gallium/drivers/panfrost/pan_blend_shaders.c
index fadcdecb044..5367b7ccf5e 100644
--- a/src/gallium/drivers/panfrost/pan_blend_shaders.c
+++ b/src/gallium/drivers/panfrost/pan_blend_shaders.c
@@ -131,15 +131,11 @@ panfrost_make_blend_shader(struct panfrost_context *ctx, struct panfrost_blend_s
/* Build a trivial blend shader */
nir_store_var(b, c_out, nir_blending_f(blend, b, s_src, s_dst, s_con), 0xFF);
- if (pan_debug & PAN_DBG_SHADERS)
- nir_print_shader(shader, stdout);
-
/* Compile the built shader */
midgard_program program;
midgard_compile_shader_nir(shader, &program, true);
-
/* Upload the shader */
int size = program.compiled.size;
diff --git a/src/gallium/drivers/panfrost/pan_screen.c b/src/gallium/drivers/panfrost/pan_screen.c
index 5dddb801578..4f23dd5cdf0 100644
--- a/src/gallium/drivers/panfrost/pan_screen.c
+++ b/src/gallium/drivers/panfrost/pan_screen.c
@@ -54,7 +54,6 @@
static const struct debug_named_value debug_options[] = {
{"msgs", PAN_DBG_MSGS, "Print debug messages"},
- {"shaders", PAN_DBG_SHADERS, "Dump shaders in NIR"},
DEBUG_NAMED_VALUE_END
};
diff --git a/src/gallium/drivers/panfrost/pan_util.h b/src/gallium/drivers/panfrost/pan_util.h
index 35d95d887c0..c467a35176f 100644
--- a/src/gallium/drivers/panfrost/pan_util.h
+++ b/src/gallium/drivers/panfrost/pan_util.h
@@ -29,7 +29,6 @@
#define PAN_UTIL_H
#define PAN_DBG_MSGS 0x0001
-#define PAN_DBG_SHADERS 0x0002
extern int pan_debug;
diff --git a/src/gallium/drivers/panfrost/pan_wallpaper.c b/src/gallium/drivers/panfrost/pan_wallpaper.c
index b402519a767..ac77ad089bc 100644
--- a/src/gallium/drivers/panfrost/pan_wallpaper.c
+++ b/src/gallium/drivers/panfrost/pan_wallpaper.c
@@ -79,9 +79,6 @@ panfrost_build_wallpaper_program()
nir_store_var(b, c_out, texel, 0xFF);
- if (pan_debug & PAN_DBG_SHADERS)
- nir_print_shader(shader, stdout);
-
return shader;
}