i965: Delete brw_state_flags::cache and related code.
authorKenneth Graunke <kenneth@whitecape.org>
Tue, 25 Nov 2014 08:35:31 +0000 (00:35 -0800)
committerKenneth Graunke <kenneth@whitecape.org>
Wed, 3 Dec 2014 01:00:26 +0000 (17:00 -0800)
It's been merged into brw_state_flags::brw for simplicity and
efficiency.

Signed-off-by: Kenneth Graunke <kenneth@whitecape.org>
Reviewed-by: Kristian Høgsberg <krh@bitplanet.net>
Reviewed-by: Matt Turner <mattst88@gmail.com>
34 files changed:
src/mesa/drivers/dri/i965/brw_binding_tables.c
src/mesa/drivers/dri/i965/brw_blorp.cpp
src/mesa/drivers/dri/i965/brw_cc.c
src/mesa/drivers/dri/i965/brw_context.h
src/mesa/drivers/dri/i965/brw_draw_upload.c
src/mesa/drivers/dri/i965/brw_misc_state.c
src/mesa/drivers/dri/i965/brw_primitive_restart.c
src/mesa/drivers/dri/i965/brw_sampler_state.c
src/mesa/drivers/dri/i965/brw_sf_state.c
src/mesa/drivers/dri/i965/brw_state_cache.c
src/mesa/drivers/dri/i965/brw_state_upload.c
src/mesa/drivers/dri/i965/brw_vs.c
src/mesa/drivers/dri/i965/brw_wm_surface_state.c
src/mesa/drivers/dri/i965/gen6_cc.c
src/mesa/drivers/dri/i965/gen6_depthstencil.c
src/mesa/drivers/dri/i965/gen6_multisample_state.c
src/mesa/drivers/dri/i965/gen6_sampler_state.c
src/mesa/drivers/dri/i965/gen6_scissor_state.c
src/mesa/drivers/dri/i965/gen6_sol.c
src/mesa/drivers/dri/i965/gen6_viewport_state.c
src/mesa/drivers/dri/i965/gen7_disable.c
src/mesa/drivers/dri/i965/gen7_misc_state.c
src/mesa/drivers/dri/i965/gen7_sf_state.c
src/mesa/drivers/dri/i965/gen7_urb.c
src/mesa/drivers/dri/i965/gen7_viewport_state.c
src/mesa/drivers/dri/i965/gen8_blend_state.c
src/mesa/drivers/dri/i965/gen8_disable.c
src/mesa/drivers/dri/i965/gen8_draw_upload.c
src/mesa/drivers/dri/i965/gen8_misc_state.c
src/mesa/drivers/dri/i965/gen8_multisample_state.c
src/mesa/drivers/dri/i965/gen8_sf_state.c
src/mesa/drivers/dri/i965/gen8_sol_state.c
src/mesa/drivers/dri/i965/gen8_viewport_state.c
src/mesa/drivers/dri/i965/gen8_wm_depth_stencil.c

index 7ffd7b2e5d191c868952b407d36542c46aa68ac6..ea82e717e72a0b4cf379507ab438adc161095fff 100644 (file)
@@ -195,7 +195,6 @@ const struct brw_tracked_state brw_binding_table_pointers = {
              BRW_NEW_PS_BINDING_TABLE |
              BRW_NEW_STATE_BASE_ADDRESS |
              BRW_NEW_VS_BINDING_TABLE,
-      .cache = 0,
    },
    .emit = gen4_upload_binding_table_pointers,
 };
@@ -232,7 +231,6 @@ const struct brw_tracked_state gen6_binding_table_pointers = {
              BRW_NEW_PS_BINDING_TABLE |
              BRW_NEW_STATE_BASE_ADDRESS |
              BRW_NEW_VS_BINDING_TABLE,
-      .cache = 0,
    },
    .emit = gen6_upload_binding_table_pointers,
 };
index 20ce7b7c20278075f7a473e21ea0355be3749187..df00b7721350d70c2f1e77e503aaaf98ff3e4e35 100644 (file)
@@ -277,7 +277,6 @@ retry:
     * rendering tracks for GL.
     */
    brw->state.dirty.brw = ~0ull;
-   brw->state.dirty.cache = ~0;
    brw->no_depth_or_stencil = false;
    brw->ib.type = -1;
 
index 01974e1ab6d7f1b92396e1cae7af302215e11577..02f5a3a76fb3e31a6f1ed4ccdea0eb9868cfa3a9 100644 (file)
@@ -77,7 +77,6 @@ const struct brw_tracked_state brw_cc_vp = {
       .mesa = _NEW_TRANSFORM |
               _NEW_VIEWPORT,
       .brw = BRW_NEW_BATCH,
-      .cache = 0
    },
    .emit = brw_upload_cc_vp
 };
@@ -250,7 +249,6 @@ const struct brw_tracked_state brw_cc_unit = {
       .brw = BRW_NEW_BATCH |
              BRW_NEW_CC_VP |
              BRW_NEW_STATS_WM,
-      .cache = 0
    },
    .emit = upload_cc_unit,
 };
@@ -272,7 +270,6 @@ const struct brw_tracked_state brw_blend_constant_color = {
    .dirty = {
       .mesa = _NEW_COLOR,
       .brw = BRW_NEW_CONTEXT,
-      .cache = 0
    },
    .emit = upload_blend_constant_color
 };
index e678bde4599932c462d1315d884193fa9ae3f5f5..ec4b3dd88b113661b9566373c6576ff5dfff2c44 100644 (file)
@@ -287,15 +287,6 @@ struct brw_state_flags {
     * State update flags signalled as the result of brw_tracked_state updates
     */
    uint64_t brw;
-   /**
-    * State update flags that used to be signalled by brw_state_cache.c
-    * searches.
-    *
-    * Now almost all of that state is just streamed out on demand, but the
-    * flags for those state blobs updating have stayed in the same bitfield.
-    * brw_state_cache.c still flags BRW_NEW_*_PROG_DATA.
-    */
-   GLuint cache;
 };
 
 /** Subclass of Mesa vertex program */
@@ -740,8 +731,7 @@ struct brw_gs_prog_data
 struct brw_cache_item {
    /**
     * Effectively part of the key, cache_id identifies what kind of state
-    * buffer is involved, and also which brw->state.dirty.cache flag should
-    * be set when this cache item is chosen.
+    * buffer is involved, and also which dirty flag should set.
     */
    enum brw_cache_id cache_id;
    /** 32-bit hash of the key data */
index 4ff5815295c6b7950c1cb89a00d6c4ad3ce94325..6e0cf3e353f80c2b5ed6b7f8b3e49dd2810488ef 100644 (file)
@@ -952,7 +952,6 @@ const struct brw_tracked_state brw_indices = {
    .dirty = {
       .mesa = 0,
       .brw = BRW_NEW_INDICES,
-      .cache = 0,
    },
    .emit = brw_upload_indices,
 };
@@ -990,7 +989,6 @@ const struct brw_tracked_state brw_index_buffer = {
       .mesa = 0,
       .brw = BRW_NEW_BATCH |
              BRW_NEW_INDEX_BUFFER,
-      .cache = 0,
    },
    .emit = brw_emit_index_buffer,
 };
index d4b6e7c8c26303c2742a9f8fcc20506229da58bc..a405eb25f651896a5e9be35b903adc424560af6d 100644 (file)
@@ -64,7 +64,6 @@ const struct brw_tracked_state brw_drawing_rect = {
    .dirty = {
       .mesa = _NEW_BUFFERS,
       .brw = BRW_NEW_CONTEXT,
-      .cache = 0
    },
    .emit = upload_drawing_rect
 };
@@ -702,7 +701,6 @@ const struct brw_tracked_state brw_depthbuffer = {
    .dirty = {
       .mesa = _NEW_BUFFERS,
       .brw = BRW_NEW_BATCH,
-      .cache = 0,
    },
    .emit = brw_emit_depthbuffer,
 };
@@ -751,7 +749,6 @@ const struct brw_tracked_state brw_polygon_stipple = {
       .mesa = _NEW_POLYGON |
               _NEW_POLYGONSTIPPLE,
       .brw = BRW_NEW_CONTEXT,
-      .cache = 0
    },
    .emit = upload_polygon_stipple
 };
@@ -795,7 +792,6 @@ const struct brw_tracked_state brw_polygon_stipple_offset = {
       .mesa = _NEW_BUFFERS |
               _NEW_POLYGON,
       .brw = BRW_NEW_CONTEXT,
-      .cache = 0
    },
    .emit = upload_polygon_stipple_offset
 };
@@ -829,7 +825,6 @@ const struct brw_tracked_state brw_aa_line_parameters = {
    .dirty = {
       .mesa = _NEW_LINE,
       .brw = BRW_NEW_CONTEXT,
-      .cache = 0
    },
    .emit = upload_aa_line_parameters
 };
@@ -874,7 +869,6 @@ const struct brw_tracked_state brw_line_stipple = {
    .dirty = {
       .mesa = _NEW_LINE,
       .brw = BRW_NEW_CONTEXT,
-      .cache = 0
    },
    .emit = upload_line_stipple
 };
@@ -932,7 +926,6 @@ const struct brw_tracked_state brw_invariant_state = {
    .dirty = {
       .mesa = 0,
       .brw = BRW_NEW_CONTEXT,
-      .cache = 0
    },
    .emit = brw_upload_invariant_state
 };
@@ -1056,7 +1049,6 @@ const struct brw_tracked_state brw_state_base_address = {
       .mesa = 0,
       .brw = BRW_NEW_BATCH |
              BRW_NEW_PROGRAM_CACHE,
-      .cache = 0,
    },
    .emit = upload_state_base_address
 };
index f7764e15e2cde1d166d2861bd3ee8e5f2a6daba2..2c7a7e8b8dd5483a6806e23e450743a218f995ff 100644 (file)
@@ -211,7 +211,6 @@ const struct brw_tracked_state haswell_cut_index = {
    .dirty = {
       .mesa  = _NEW_TRANSFORM,
       .brw   = BRW_NEW_INDEX_BUFFER,
-      .cache = 0,
    },
    .emit = haswell_upload_cut_index,
 };
index 9c5e45c7eb244ed89b0c28bc58cfe02927c22357..0fe0853420363beca9597a660f8be2c3bfe11bf4 100644 (file)
@@ -529,7 +529,6 @@ const struct brw_tracked_state brw_fs_samplers = {
       .mesa = _NEW_TEXTURE,
       .brw = BRW_NEW_BATCH |
              BRW_NEW_FRAGMENT_PROGRAM,
-      .cache = 0
    },
    .emit = brw_upload_fs_samplers,
 };
@@ -548,7 +547,6 @@ const struct brw_tracked_state brw_vs_samplers = {
       .mesa = _NEW_TEXTURE,
       .brw = BRW_NEW_BATCH |
              BRW_NEW_VERTEX_PROGRAM,
-      .cache = 0
    },
    .emit = brw_upload_vs_samplers,
 };
@@ -571,7 +569,6 @@ const struct brw_tracked_state brw_gs_samplers = {
       .mesa = _NEW_TEXTURE,
       .brw = BRW_NEW_BATCH |
              BRW_NEW_GEOMETRY_PROGRAM,
-      .cache = 0
    },
    .emit = brw_upload_gs_samplers,
 };
index 3306fb5781a66cad4f618ebeee44928845ab3245..75d64514ea0b199fce06e09374921eb5f9a7a482 100644 (file)
@@ -118,7 +118,6 @@ const struct brw_tracked_state brw_sf_vp = {
                _NEW_SCISSOR |
                _NEW_VIEWPORT,
       .brw   = BRW_NEW_BATCH,
-      .cache = 0
    },
    .emit = upload_sf_vp
 };
index 94086a941b54691d8df91149ca4bc336a1c29a98..3b9d6cc4f98b993e54ae637cf8b8003d30e7a706 100644 (file)
@@ -401,7 +401,6 @@ brw_clear_cache(struct brw_context *brw, struct brw_cache *cache)
     */
    brw->state.dirty.mesa |= ~0;
    brw->state.dirty.brw |= ~0ull;
-   brw->state.dirty.cache |= ~0;
    intel_batchbuffer_flush(brw);
 }
 
index 875f434c14dcfee79a9c4e293fba9c2656526ced..b3f34647772f8da9fa38b547f348605004c9fbf0 100644 (file)
@@ -377,9 +377,7 @@ void brw_init_state( struct brw_context *brw )
    brw->num_atoms = num_atoms;
 
    while (num_atoms--) {
-      assert((*atoms)->dirty.mesa |
-            (*atoms)->dirty.brw |
-            (*atoms)->dirty.cache);
+      assert((*atoms)->dirty.mesa | (*atoms)->dirty.brw);
       assert((*atoms)->emit);
       atoms++;
    }
@@ -419,9 +417,7 @@ void brw_destroy_state( struct brw_context *brw )
 static bool
 check_state(const struct brw_state_flags *a, const struct brw_state_flags *b)
 {
-   return ((a->mesa & b->mesa) |
-          (a->brw & b->brw) |
-          (a->cache & b->cache)) != 0;
+   return ((a->mesa & b->mesa) | (a->brw & b->brw)) != 0;
 }
 
 static void accumulate_state( struct brw_state_flags *a,
@@ -429,7 +425,6 @@ static void accumulate_state( struct brw_state_flags *a,
 {
    a->mesa |= b->mesa;
    a->brw |= b->brw;
-   a->cache |= b->cache;
 }
 
 
@@ -439,7 +434,6 @@ static void xor_states( struct brw_state_flags *result,
 {
    result->mesa = a->mesa ^ b->mesa;
    result->brw = a->brw ^ b->brw;
-   result->cache = a->cache ^ b->cache;
 }
 
 struct dirty_bit_map {
@@ -534,11 +528,6 @@ static struct dirty_bit_map brw_bits[] = {
    {0, 0, 0}
 };
 
-static struct dirty_bit_map cache_bits[] = {
-   {0, 0, 0}
-};
-
-
 static void
 brw_update_dirty_count(struct dirty_bit_map *bit_map, uint64_t bits)
 {
@@ -577,7 +566,6 @@ void brw_upload_state(struct brw_context *brw)
       /* Always re-emit all state. */
       state->mesa |= ~0;
       state->brw |= ~0ull;
-      state->cache |= ~0;
    }
 
    if (brw->fragment_program != ctx->FragmentProgram._Current) {
@@ -605,7 +593,7 @@ void brw_upload_state(struct brw_context *brw)
       brw->state.dirty.brw |= BRW_NEW_NUM_SAMPLES;
    }
 
-   if ((state->mesa | state->cache | state->brw) == 0)
+   if ((state->mesa | state->brw) == 0)
       return;
 
    if (unlikely(INTEL_DEBUG)) {
@@ -651,11 +639,9 @@ void brw_upload_state(struct brw_context *brw)
 
       brw_update_dirty_count(mesa_bits, state->mesa);
       brw_update_dirty_count(brw_bits, state->brw);
-      brw_update_dirty_count(cache_bits, state->cache);
       if (dirty_count++ % 1000 == 0) {
         brw_print_dirty_count(mesa_bits);
         brw_print_dirty_count(brw_bits);
-        brw_print_dirty_count(cache_bits);
         fprintf(stderr, "\n");
       }
    }
index 7a3b4d26384d95c105309fb994fef8066d582aac..798d975b1e7269a1fc0a4e7a9ca773fa9196112e 100644 (file)
@@ -520,7 +520,6 @@ const struct brw_tracked_state brw_vs_prog = {
                _NEW_TRANSFORM,
       .brw   = BRW_NEW_VERTEX_PROGRAM |
                BRW_NEW_VERTICES,
-      .cache = 0
    },
    .emit = brw_upload_vs_prog
 };
index 8169ef8ef51729036af25d59f8cf25e6ef1af212..2b2f582eb3165ab1f09f4b934ef429e283b695e3 100644 (file)
@@ -738,7 +738,6 @@ const struct brw_tracked_state brw_renderbuffer_surfaces = {
       .mesa = _NEW_BUFFERS |
               _NEW_COLOR,
       .brw = BRW_NEW_BATCH,
-      .cache = 0
    },
    .emit = brw_update_renderbuffer_surfaces,
 };
@@ -747,7 +746,6 @@ const struct brw_tracked_state gen6_renderbuffer_surfaces = {
    .dirty = {
       .mesa = _NEW_BUFFERS,
       .brw = BRW_NEW_BATCH,
-      .cache = 0
    },
    .emit = brw_update_renderbuffer_surfaces,
 };
@@ -829,7 +827,6 @@ const struct brw_tracked_state brw_texture_surfaces = {
              BRW_NEW_GEOMETRY_PROGRAM |
              BRW_NEW_TEXTURE_BUFFER |
              BRW_NEW_VERTEX_PROGRAM,
-      .cache = 0
    },
    .emit = brw_update_texture_surfaces,
 };
index 5ab9fa344e37c255f9a34b07ddf41fd560651587..2bfa271b5271f1623a1767abea02300d613e6605 100644 (file)
@@ -246,7 +246,6 @@ const struct brw_tracked_state gen6_blend_state = {
               _NEW_MULTISAMPLE,
       .brw = BRW_NEW_BATCH |
              BRW_NEW_STATE_BASE_ADDRESS,
-      .cache = 0,
    },
    .emit = gen6_upload_blend_state,
 };
@@ -300,7 +299,6 @@ const struct brw_tracked_state gen6_color_calc_state = {
               _NEW_STENCIL,
       .brw = BRW_NEW_BATCH |
              BRW_NEW_STATE_BASE_ADDRESS,
-      .cache = 0,
    },
    .emit = gen6_upload_color_calc_state,
 };
index 4535feb65afe95e078e87299805c124371bb3011..2c625c98403defea2e440060e4079bd89172313a 100644 (file)
@@ -109,7 +109,6 @@ const struct brw_tracked_state gen6_depth_stencil_state = {
               _NEW_STENCIL,
       .brw  = BRW_NEW_BATCH |
               BRW_NEW_STATE_BASE_ADDRESS,
-      .cache = 0,
    },
    .emit = gen6_upload_depth_stencil_state,
 };
index 912da4d4a7ead3c3d516eaa5d3514103d7b83663..7c9cbfaea6396520951874649efbc3fca394e5a0 100644 (file)
@@ -205,7 +205,6 @@ const struct brw_tracked_state gen6_multisample_state = {
       .mesa = _NEW_MULTISAMPLE,
       .brw = BRW_NEW_CONTEXT |
              BRW_NEW_NUM_SAMPLES,
-      .cache = 0
    },
    .emit = upload_multisample_state
 };
index a7402cf64e42044dc4d582fa9ac8b440ec7bb15e..9e7da587696b53bf32cd86bf1c52586b6d680db3 100644 (file)
@@ -51,7 +51,6 @@ const struct brw_tracked_state gen6_sampler_state = {
       .brw = BRW_NEW_BATCH |
              BRW_NEW_SAMPLER_STATE_TABLE |
              BRW_NEW_STATE_BASE_ADDRESS,
-      .cache = 0,
    },
    .emit = upload_sampler_state_pointers,
 };
index 02244b374c0f99d0b4a8d5864ce9be568fb6257c..0111f152ef65817cfb1b5f98cd7aa847e4dc32ab 100644 (file)
@@ -96,7 +96,6 @@ const struct brw_tracked_state gen6_scissor_state = {
               _NEW_SCISSOR |
               _NEW_VIEWPORT,
       .brw = BRW_NEW_BATCH,
-      .cache = 0,
    },
    .emit = gen6_upload_scissor_state,
 };
index 3866a81f218d4bc3f22cc28a40cd5b5bc47072a2..0dafd0ff1b9e18443e2c908d52303eefeeceb4b6 100644 (file)
@@ -95,7 +95,6 @@ const struct brw_tracked_state gen6_sol_surface = {
              BRW_NEW_GEOMETRY_PROGRAM |
              BRW_NEW_VERTEX_PROGRAM |
              BRW_NEW_TRANSFORM_FEEDBACK,
-      .cache = 0
    },
    .emit = gen6_update_sol_surfaces,
 };
@@ -190,7 +189,6 @@ const struct brw_tracked_state gen6_gs_binding_table = {
              BRW_NEW_GEOMETRY_PROGRAM |
              BRW_NEW_VERTEX_PROGRAM |
              BRW_NEW_SURFACES,
-      .cache = 0
    },
    .emit = brw_gs_upload_binding_table,
 };
index 4c8fe4c322f317696a62eb6c64f3375ee71da225..81546e49632502e1e8df2a09c922f74b11ab8d8b 100644 (file)
@@ -70,7 +70,6 @@ const struct brw_tracked_state gen6_clip_vp = {
    .dirty = {
       .mesa = _NEW_VIEWPORT,
       .brw = BRW_NEW_BATCH,
-      .cache = 0,
    },
    .emit = gen6_upload_clip_vp,
 };
@@ -114,7 +113,6 @@ const struct brw_tracked_state gen6_sf_vp = {
       .mesa = _NEW_BUFFERS |
               _NEW_VIEWPORT,
       .brw = BRW_NEW_BATCH,
-      .cache = 0,
    },
    .emit = gen6_upload_sf_vp,
 };
@@ -140,7 +138,6 @@ const struct brw_tracked_state gen6_viewport_state = {
              BRW_NEW_CLIP_VP |
              BRW_NEW_SF_VP |
              BRW_NEW_STATE_BASE_ADDRESS,
-      .cache = 0,
    },
    .emit = upload_viewport_state_pointers,
 };
index 98d115b9e22427c14a6bb96285fe0af4497357fa..2c43cd77f07e13146947f60b28085dfabfb95ea2 100644 (file)
@@ -93,7 +93,6 @@ const struct brw_tracked_state gen7_disable_stages = {
    .dirty = {
       .mesa  = 0,
       .brw   = BRW_NEW_CONTEXT,
-      .cache = 0,
    },
    .emit = disable_stages,
 };
index be5abf2aabbe4555c7d7d2b85117514359d7ac94..33d4ade4fe516fc390f2d444c0a9a91df3a03652 100644 (file)
@@ -205,7 +205,6 @@ const struct brw_tracked_state gen7_depthbuffer = {
               _NEW_DEPTH |
               _NEW_STENCIL,
       .brw = BRW_NEW_BATCH,
-      .cache = 0,
    },
    .emit = brw_emit_depthbuffer,
 };
index c260bbab6b3094e82d6f6bbe2945bf5031b5957b..b9838470c64997fc74d9d1e6fb944b26de40c2a5 100644 (file)
@@ -257,7 +257,6 @@ const struct brw_tracked_state gen7_sf_state = {
                _NEW_PROGRAM |
                _NEW_SCISSOR,
       .brw   = BRW_NEW_CONTEXT,
-      .cache = 0,
    },
    .emit = upload_sf_state,
 };
index d90e48c802e2d19517dcea3cb75677dbf45419ee..201f42e7ad5d028307b3c2c5370c13949ee97933 100644 (file)
@@ -131,7 +131,6 @@ const struct brw_tracked_state gen7_push_constant_space = {
    .dirty = {
       .mesa = 0,
       .brw = BRW_NEW_CONTEXT | BRW_NEW_GEOMETRY_PROGRAM,
-      .cache = 0,
    },
    .emit = gen7_allocate_push_constants,
 };
index 01af0440098abc2921c52ea45314078b9c3a9ae0..bd11c3aa36c60ef671731b29fa4c772983c9cbce 100644 (file)
@@ -95,7 +95,6 @@ const struct brw_tracked_state gen7_sf_clip_viewport = {
       .mesa = _NEW_BUFFERS |
               _NEW_VIEWPORT,
       .brw = BRW_NEW_BATCH,
-      .cache = 0,
    },
    .emit = gen7_upload_sf_clip_viewport,
 };
index 2e3a33a67c271bfab2adf51b81e3a5bf53cc6300..786c79ad44d869baa88d9fa2651404b25d271c20 100644 (file)
@@ -204,7 +204,6 @@ const struct brw_tracked_state gen8_blend_state = {
               _NEW_MULTISAMPLE,
       .brw = BRW_NEW_BATCH |
              BRW_NEW_STATE_BASE_ADDRESS,
-      .cache = 0,
    },
    .emit = gen8_upload_blend_state,
 };
@@ -297,7 +296,6 @@ const struct brw_tracked_state gen8_ps_blend = {
               _NEW_MULTISAMPLE,
       .brw = BRW_NEW_CONTEXT |
              BRW_NEW_FRAGMENT_PROGRAM,
-      .cache = 0,
    },
    .emit = gen8_upload_ps_blend
 };
index 0839a4999a21a22da525d369be70e31e512a0b38..da0d4a5fe7afd593cf8548faa70a1951908570b7 100644 (file)
@@ -114,7 +114,6 @@ const struct brw_tracked_state gen8_disable_stages = {
    .dirty = {
       .mesa  = 0,
       .brw   = BRW_NEW_CONTEXT,
-      .cache = 0,
    },
    .emit = disable_stages,
 };
index 9e8e24b4630473e62389ba7c2bd3166c9b02e838..0d6feec8ab03e019bd6be1e5527d592ef2ea9345 100644 (file)
@@ -262,7 +262,6 @@ const struct brw_tracked_state gen8_index_buffer = {
       .mesa = 0,
       .brw = BRW_NEW_BATCH |
              BRW_NEW_INDEX_BUFFER,
-      .cache = 0,
    },
    .emit = gen8_emit_index_buffer,
 };
@@ -280,7 +279,6 @@ const struct brw_tracked_state gen8_vf_topology = {
    .dirty = {
       .mesa = 0,
       .brw = BRW_NEW_PRIMITIVE,
-      .cache = 0,
    },
    .emit = gen8_emit_vf_topology,
 };
index 5c54127c20d38bcb85c7bfccadbb3845a51b7127..f993650aeb9a2421a52375a837b7cedbb5da7d72 100644 (file)
@@ -80,7 +80,6 @@ const struct brw_tracked_state gen8_state_base_address = {
       .mesa = 0,
       .brw = BRW_NEW_BATCH |
              BRW_NEW_PROGRAM_CACHE,
-      .cache = 0,
    },
    .emit = upload_state_base_address
 };
index ff75df6e6edca9f5f9207fbffe7c0337313c3764..75cbe06c52232c20da358823d8e8840004b3f656 100644 (file)
@@ -85,7 +85,6 @@ const struct brw_tracked_state gen8_multisample_state = {
       .mesa = _NEW_MULTISAMPLE,
       .brw = BRW_NEW_CONTEXT |
              BRW_NEW_NUM_SAMPLES,
-      .cache = 0
    },
    .emit = upload_multisample_state
 };
index 91d580115995331f42a54658aae38e8307db5e82..f6cb3ddef275a065b65dd5f08df9cffef3265eed 100644 (file)
@@ -209,7 +209,6 @@ const struct brw_tracked_state gen8_sf_state = {
                _NEW_MULTISAMPLE |
                _NEW_POINT,
       .brw   = BRW_NEW_CONTEXT,
-      .cache = 0,
    },
    .emit = upload_sf,
 };
@@ -327,7 +326,6 @@ const struct brw_tracked_state gen8_raster_state = {
                _NEW_SCISSOR |
                _NEW_TRANSFORM,
       .brw   = BRW_NEW_CONTEXT,
-      .cache = 0,
    },
    .emit = upload_raster,
 };
index 555adcbb2570acc36921973548cbf4a43c87ca62..1f122ec69961d5fc9e3c793f3e49187ec5eedaee 100644 (file)
@@ -170,7 +170,6 @@ const struct brw_tracked_state gen8_sol_state = {
       .brw   = BRW_NEW_BATCH |
                BRW_NEW_TRANSFORM_FEEDBACK |
                BRW_NEW_VUE_MAP_GEOM_OUT,
-      .cache = 0,
    },
    .emit = upload_sol_state,
 };
index 56042d1eaf95c8fe3d2f650825bf8f1b54f86ca0..93198c48672c185a55d3ba72ee671950d87b3e73 100644 (file)
@@ -133,7 +133,6 @@ const struct brw_tracked_state gen8_sf_clip_viewport = {
       .mesa = _NEW_BUFFERS |
               _NEW_VIEWPORT,
       .brw = BRW_NEW_BATCH,
-      .cache = 0,
    },
    .emit = gen8_upload_sf_clip_viewport,
 };
index 83a08c5ebb824452218b751b7d40c060ef89ae49..2c843b202ea6c14d2ba5c1b4437eee4b548019e7 100644 (file)
@@ -112,7 +112,6 @@ const struct brw_tracked_state gen8_wm_depth_stencil = {
               _NEW_DEPTH |
               _NEW_STENCIL,
       .brw  = BRW_NEW_CONTEXT,
-      .cache = 0,
    },
    .emit = gen8_upload_wm_depth_stencil,
 };