i965: Remove the invalidate_state() vtable hook.

The hook was a noop.

Signed-off-by: Kenneth Graunke <kenneth@whitecape.org>
Reviewed-by: Chad Versace <chad.versace@linux.intel.com>
This commit is contained in:
Kenneth Graunke
2013-06-28 19:18:10 -07:00
parent 251cdcf059
commit 607338f1cb
3 changed files with 0 additions and 12 deletions
-6
View File
@@ -154,11 +154,6 @@ static void brw_new_batch( struct intel_context *intel )
brw_collect_and_report_shader_time(brw);
}
static void brw_invalidate_state( struct intel_context *intel, GLuint new_state )
{
/* nothing */
}
/**
* \see intel_context.vtbl.is_hiz_depth_format
*/
@@ -182,7 +177,6 @@ static bool brw_is_hiz_depth_format(struct intel_context *intel,
void brwInitVtbl( struct brw_context *brw )
{
brw->intel.vtbl.invalidate_state = brw_invalidate_state;
brw->intel.vtbl.new_batch = brw_new_batch;
brw->intel.vtbl.finish_batch = brw_finish_batch;
brw->intel.vtbl.destroy = brw_destroy_context;
@@ -333,9 +333,6 @@ intelInvalidateState(struct gl_context * ctx, GLuint new_state)
_vbo_InvalidateState(ctx, new_state);
intel->NewGLState |= new_state;
if (intel->vtbl.invalidate_state)
intel->vtbl.invalidate_state( intel, new_state );
}
void
@@ -119,9 +119,6 @@ struct intel_context
void (*finish_batch) (struct intel_context * intel);
void (*new_batch) (struct intel_context * intel);
void (*invalidate_state) (struct intel_context *intel,
GLuint new_state);
void (*debug_batch)(struct intel_context *intel);
void (*annotate_aub)(struct intel_context *intel);
bool (*render_target_supported)(struct intel_context *intel,