ralloc_free(annotation.ann);
}
+ static GLuint msg_id = 0;
+ _mesa_gl_debug(&brw->ctx, &msg_id,
+ MESA_DEBUG_SOURCE_SHADER_COMPILER,
+ MESA_DEBUG_TYPE_OTHER,
+ MESA_DEBUG_SEVERITY_NOTIFICATION,
+ "FS SIMD%d shader: %d inst, %d loops, "
+ "compacted %d to %d bytes.\n",
+ dispatch_width, before_size / 16, loop_count,
+ before_size, after_size);
+
return start_offset;
}
dump_assembly(p->store, annotation.ann_count, annotation.ann, brw, prog);
ralloc_free(annotation.ann);
}
+
+ static GLuint msg_id = 0;
+ _mesa_gl_debug(&brw->ctx, &msg_id,
+ MESA_DEBUG_SOURCE_SHADER_COMPILER,
+ MESA_DEBUG_TYPE_OTHER,
+ MESA_DEBUG_SEVERITY_NOTIFICATION,
+ "VS vec4 shader: %d inst, %d loops, "
+ "compacted %d to %d bytes.\n",
+ before_size / 16, loop_count,
+ before_size, after_size);
}
const unsigned *