vc4: Also dump the decimation mode for resolved stores.
authorEric Anholt <eric@anholt.net>
Mon, 10 Aug 2015 18:28:53 +0000 (11:28 -0700)
committerEric Anholt <eric@anholt.net>
Fri, 23 Oct 2015 13:30:15 +0000 (14:30 +0100)
src/gallium/drivers/vc4/vc4_cl_dump.c

index 9da59ae6aa7d4d7d0d21605ec3d84d990f00ae53..5a24e025d06af7c17d1f83c08073c4da51fa8e99 100644 (file)
@@ -289,11 +289,13 @@ dump_VC4_PACKET_TILE_RENDERING_MODE_CONFIG(void *cl, uint32_t offset, uint32_t h
                 break;
         }
 
-        fprintf(stderr, "0x%08x 0x%08x: 0x%02x %s %s %s\n",
+        fprintf(stderr, "0x%08x 0x%08x: 0x%02x %s %s %s %s\n",
                 offset + 8, hw_offset + 8,
                 bytes[0],
                 format, tiling,
-                (bytes[0] & VC4_RENDER_CONFIG_MS_MODE_4X) ? "ms" : "ss");
+                (shorts[2] & VC4_RENDER_CONFIG_MS_MODE_4X) ? "ms" : "ss",
+                (shorts[2] & VC4_RENDER_CONFIG_DECIMATE_MODE_4X) ?
+                "ms_decimate" : "ss_decimate");
 
         const char *earlyz = "";
         if (shorts[2] & VC4_RENDER_CONFIG_EARLY_Z_COVERAGE_DISABLE) {