From 4f633d110ac552f7658199dacf80df15d6690c24 Mon Sep 17 00:00:00 2001 From: Neha Bhende Date: Mon, 11 Jul 2016 23:39:06 -0700 Subject: [PATCH] svga: dump code for GenMips. Reviewed-by: Brian Paul --- src/gallium/drivers/svga/svgadump/svga_dump.c | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/gallium/drivers/svga/svgadump/svga_dump.c b/src/gallium/drivers/svga/svgadump/svga_dump.c index b18e44e9138..5dc731a82e4 100644 --- a/src/gallium/drivers/svga/svgadump/svga_dump.c +++ b/src/gallium/drivers/svga/svgadump/svga_dump.c @@ -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"); -- 2.30.2