svga: dump code for GenMips.
authorNeha Bhende <bhenden@vmware.com>
Tue, 12 Jul 2016 06:39:06 +0000 (23:39 -0700)
committerBrian Paul <brianp@vmware.com>
Fri, 15 Jul 2016 20:24:33 +0000 (14:24 -0600)
Reviewed-by: Brian Paul <brianp@vmware.com>
src/gallium/drivers/svga/svgadump/svga_dump.c

index b18e44e91383fd59dfe7aa2f26ab5a818feaccaa..5dc731a82e4cf8b6ae64bb0b5491b4cdf0c0d138 100644 (file)
@@ -2025,6 +2025,11 @@ SVGA3D_DUMP_HEADER(BufferUpdate)
 
 }
 
+SVGA3D_DUMP_HEADER(GenMips)
+{
+   SVGA3D_DUMP_PARAMETER(shaderResourceViewId, u);
+}
+
 static void
 dump_SVGA3dCmdInvalidateGBSurface(const SVGA3dCmdInvalidateGBSurface *cmd)
 {
@@ -2124,6 +2129,7 @@ svga_dump_command(uint32_t cmd_id, const void *data, uint32_t size)
    SVGA3D_DUMP_CASE_BASIC(PredCopyRegion, PRED_COPY_REGION);
    SVGA3D_DUMP_CASE_BASIC(BufferCopy, BUFFER_COPY);
    SVGA3D_DUMP_CASE_BASIC(BufferUpdate, BUFFER_UPDATE);
+   SVGA3D_DUMP_CASE_BASIC(GenMips, GENMIPS);
 
    case SVGA_3D_CMD_DX_SET_RENDERTARGETS:
       _debug_printf("\tSVGA_3D_CMD_DX_SET_RENDERTARGETS\n");