OSDN Git Service

i965/fs_nir: Don't dump the shader.
authorJason Ekstrand <jason.ekstrand@intel.com>
Mon, 1 Dec 2014 23:09:17 +0000 (15:09 -0800)
committerJason Ekstrand <jason.ekstrand@intel.com>
Thu, 15 Jan 2015 15:19:02 +0000 (07:19 -0800)
This is killing piglit.  I'll leave the logging local

Reviewed-by: Connor Abbott <cwabbott0@gmail.com>
src/mesa/drivers/dri/i965/brw_fs_nir.cpp

index f4656bc..0cd8fca 100644 (file)
@@ -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);