projects
/
mesa.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
panfrost: Implement missing texture formats
[mesa.git]
/
src
/
gallium
/
drivers
/
panfrost
/
pan_blend_shaders.c
diff --git
a/src/gallium/drivers/panfrost/pan_blend_shaders.c
b/src/gallium/drivers/panfrost/pan_blend_shaders.c
index 648e84b0350af0156a528da71f2110fb9c6ff8f5..fadcdecb044842a8cd19d586a26a6b73b5cdb29b 100644
(file)
--- a/
src/gallium/drivers/panfrost/pan_blend_shaders.c
+++ b/
src/gallium/drivers/panfrost/pan_blend_shaders.c
@@
-24,6
+24,7
@@
#include <stdio.h>
#include "pan_blend_shaders.h"
#include <stdio.h>
#include "pan_blend_shaders.h"
+#include "pan_util.h"
#include "midgard/midgard_compile.h"
#include "compiler/nir/nir_builder.h"
//#include "gallium/auxiliary/nir/nir_lower_blend.h"
#include "midgard/midgard_compile.h"
#include "compiler/nir/nir_builder.h"
//#include "gallium/auxiliary/nir/nir_lower_blend.h"
@@
-130,7
+131,8
@@
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);
/* Build a trivial blend shader */
nir_store_var(b, c_out, nir_blending_f(blend, b, s_src, s_dst, s_con), 0xFF);
- nir_print_shader(shader, stdout);
+ if (pan_debug & PAN_DBG_SHADERS)
+ nir_print_shader(shader, stdout);
/* Compile the built shader */
/* Compile the built shader */