i965: Rename optimizer debug 00 filename
authorBen Widawsky <benjamin.widawsky@intel.com>
Thu, 11 Feb 2016 18:55:48 +0000 (10:55 -0800)
committerBen Widawsky <benjamin.widawsky@intel.com>
Sat, 13 Feb 2016 04:52:28 +0000 (20:52 -0800)
This allows ls, and scripts to get the file names in the correct order of
optimization.

Signed-off-by: Ben Widawsky <benjamin.widawsky@intel.com>
Reviewed-by: Matt Turner <mattst88@gmail.com>
src/mesa/drivers/dri/i965/brw_fs.cpp
src/mesa/drivers/dri/i965/brw_vec4.cpp

index b44eefe2a27619a1161f94105a48cb1d52d4c278..80939b362080482c7f792ef2e526c63d50cb017a 100644 (file)
@@ -5084,7 +5084,7 @@ fs_visitor::optimize()
 
    if (unlikely(INTEL_DEBUG & DEBUG_OPTIMIZER)) {
       char filename[64];
-      snprintf(filename, 64, "%s%d-%s-00-start",
+      snprintf(filename, 64, "%s%d-%s-00-00-start",
                stage_abbrev, dispatch_width, nir->info.name);
 
       backend_shader::dump_instructions(filename);
index 0d8c104859d3298254858e96f5dbd14d72526dba..807ff60b92d6e0257b823c18159ff816dfb8081d 100644 (file)
@@ -1869,7 +1869,7 @@ vec4_visitor::run()
 
    if (unlikely(INTEL_DEBUG & DEBUG_OPTIMIZER)) {
       char filename[64];
-      snprintf(filename, 64, "%s-%s-00-start",
+      snprintf(filename, 64, "%s-%s-00-00-start",
                stage_abbrev, nir->info.name);
 
       backend_shader::dump_instructions(filename);