panfrost: Remove shader dump

Redundant via the midgard shader dump.

Signed-off-by: Alyssa Rosenzweig <alyssa@rosenzweig.io>
This commit is contained in:
Alyssa Rosenzweig
2019-04-30 01:54:27 +00:00
parent dec68e32ea
commit b304b30f2c
4 changed files with 0 additions and 9 deletions

View File

@@ -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;

View File

@@ -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
};

View File

@@ -29,7 +29,6 @@
#define PAN_UTIL_H
#define PAN_DBG_MSGS 0x0001
#define PAN_DBG_SHADERS 0x0002
extern int pan_debug;

View File

@@ -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;
}