panfrost: Remove shader dump
Redundant via the midgard shader dump. Signed-off-by: Alyssa Rosenzweig <alyssa@rosenzweig.io>
This commit is contained in:
@@ -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;
|
||||
|
@@ -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
|
||||
};
|
||||
|
||||
|
@@ -29,7 +29,6 @@
|
||||
#define PAN_UTIL_H
|
||||
|
||||
#define PAN_DBG_MSGS 0x0001
|
||||
#define PAN_DBG_SHADERS 0x0002
|
||||
|
||||
extern int pan_debug;
|
||||
|
||||
|
@@ -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;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user