[Mesa-dev] [PATCH 087/133] i965/fs_nir: Don't dump the shader.

Jason Ekstrand jason at jlekstrand.net
Mon Dec 15 22:11:32 PST 2014


This is killing piglit.  I'll leave the logging local
---
 src/mesa/drivers/dri/i965/brw_fs_nir.cpp | 5 -----
 1 file changed, 5 deletions(-)

diff --git a/src/mesa/drivers/dri/i965/brw_fs_nir.cpp b/src/mesa/drivers/dri/i965/brw_fs_nir.cpp
index f4656bc..0cd8fca 100644
--- a/src/mesa/drivers/dri/i965/brw_fs_nir.cpp
+++ b/src/mesa/drivers/dri/i965/brw_fs_nir.cpp
@@ -51,9 +51,6 @@ fs_visitor::emit_nir_code()
    nir_opt_global_to_local(nir);
    nir_validate_shader(nir);
 
-   if (1)
-      nir_print_shader(nir, stderr);
-
    nir_convert_to_ssa(nir);
    nir_validate_shader(nir);
 
@@ -71,11 +68,9 @@ fs_visitor::emit_nir_code()
       progress |= nir_opt_peephole_ffma(nir);
       nir_validate_shader(nir);
    } while (progress);
-   nir_print_shader(nir, stderr);
 
    nir_convert_from_ssa(nir);
    nir_validate_shader(nir);
-   nir_print_shader(nir, stderr);
    nir_lower_vec_to_movs(nir);
    nir_validate_shader(nir);
 
-- 
2.2.0



More information about the mesa-dev mailing list