i965g: get brw_state_debug.c building
authorKeith Whitwell <keithw@vmware.com>
Fri, 6 Nov 2009 15:40:16 +0000 (15:40 +0000)
committerKeith Whitwell <keithw@vmware.com>
Fri, 6 Nov 2009 15:40:16 +0000 (15:40 +0000)
src/gallium/drivers/i965/Makefile
src/gallium/drivers/i965/brw_state_debug.c

index f0a5bc7ee54e4dc0649aa9547e58f99860a21369..8df07d1c10e0aae2048c46f8ac5c717ff0edcdd3 100644 (file)
@@ -40,6 +40,7 @@ C_SOURCES = \
        brw_sf_emit.c \
        brw_sf_state.c \
        brw_state_batch.c \
+       brw_state_debug.c \
        brw_state_cache.c \
        brw_state_upload.c \
        brw_structs_dump.c \
index cc4744dc166d0f1d19b00fbc2cf98c74778b6fb4..050f74761cfe6ddeedea6bf20fa672484cfed892 100644 (file)
@@ -40,7 +40,29 @@ struct dirty_bit_map {
 #define DEFINE_BIT(name) {name, #name, 0}
 
 static struct dirty_bit_map mesa_bits[] = {
+   DEFINE_BIT(PIPE_NEW_DEPTH_STENCIL_ALPHA),
+   DEFINE_BIT(PIPE_NEW_RAST),
+   DEFINE_BIT(PIPE_NEW_BLEND),
+   DEFINE_BIT(PIPE_NEW_VIEWPORT),
+   DEFINE_BIT(PIPE_NEW_SAMPLERS),
+   DEFINE_BIT(PIPE_NEW_VERTEX_BUFFER),
+   DEFINE_BIT(PIPE_NEW_VERTEX_ELEMENT),
+   DEFINE_BIT(PIPE_NEW_FRAGMENT_SHADER),
+   DEFINE_BIT(PIPE_NEW_VERTEX_SHADER),
+   DEFINE_BIT(PIPE_NEW_FRAGMENT_CONSTANTS),
+   DEFINE_BIT(PIPE_NEW_VERTEX_CONSTANTS),
+   DEFINE_BIT(PIPE_NEW_CLIP),
+   DEFINE_BIT(PIPE_NEW_INDEX_BUFFER),
+   DEFINE_BIT(PIPE_NEW_INDEX_RANGE),
    DEFINE_BIT(PIPE_NEW_BLEND_COLOR),
+   DEFINE_BIT(PIPE_NEW_POLYGON_STIPPLE),
+   DEFINE_BIT(PIPE_NEW_FRAMEBUFFER_DIMENSIONS),
+   DEFINE_BIT(PIPE_NEW_DEPTH_BUFFER),
+   DEFINE_BIT(PIPE_NEW_COLOR_BUFFERS),
+   DEFINE_BIT(PIPE_NEW_QUERY),
+   DEFINE_BIT(PIPE_NEW_SCISSOR),
+   DEFINE_BIT(PIPE_NEW_BOUND_TEXTURES),
+   DEFINE_BIT(PIPE_NEW_NR_CBUFS),
    {0, 0, 0}
 };
 
@@ -55,11 +77,10 @@ static struct dirty_bit_map brw_bits[] = {
    DEFINE_BIT(BRW_NEW_CONTEXT),
    DEFINE_BIT(BRW_NEW_WM_INPUT_DIMENSIONS),
    DEFINE_BIT(BRW_NEW_PSP),
-   DEFINE_BIT(BRW_NEW_FENCE),
+   DEFINE_BIT(BRW_NEW_WM_SURFACES),
+   DEFINE_BIT(BRW_NEW_xxx),
    DEFINE_BIT(BRW_NEW_INDICES),
-   DEFINE_BIT(BRW_NEW_INDEX_BUFFER),
    DEFINE_BIT(BRW_NEW_VERTICES),
-   DEFINE_BIT(BRW_NEW_BATCH),
    {0, 0, 0}
 };