From: Lucas Stach Date: Mon, 16 Sep 2019 13:01:10 +0000 (+0200) Subject: rbug: move flush_resource initialization X-Git-Url: https://git.libre-soc.org/?p=mesa.git;a=commitdiff_plain;h=5f76d3cce88c907075d4472f2dc3fbacd1c4a83d rbug: move flush_resource initialization All the other context method initialzation follow the order of the pipe_context structure definition making it easy to find unimplemented methods in rbug. Move the flush_resource init to follow the same order. Signed-off-by: Lucas Stach --- diff --git a/src/gallium/auxiliary/driver_rbug/rbug_context.c b/src/gallium/auxiliary/driver_rbug/rbug_context.c index 436fd8bd83e..f089765858d 100644 --- a/src/gallium/auxiliary/driver_rbug/rbug_context.c +++ b/src/gallium/auxiliary/driver_rbug/rbug_context.c @@ -1252,7 +1252,6 @@ rbug_context_create(struct pipe_screen *_screen, struct pipe_context *pipe) rb_pipe->base.set_stream_output_targets = rbug_set_stream_output_targets; rb_pipe->base.resource_copy_region = rbug_resource_copy_region; rb_pipe->base.blit = rbug_blit; - rb_pipe->base.flush_resource = rbug_flush_resource; rb_pipe->base.clear = rbug_clear; rb_pipe->base.clear_render_target = rbug_clear_render_target; rb_pipe->base.clear_depth_stencil = rbug_clear_depth_stencil; @@ -1266,6 +1265,7 @@ rbug_context_create(struct pipe_screen *_screen, struct pipe_context *pipe) rb_pipe->base.transfer_flush_region = rbug_context_transfer_flush_region; rb_pipe->base.buffer_subdata = rbug_context_buffer_subdata; rb_pipe->base.texture_subdata = rbug_context_texture_subdata; + rb_pipe->base.flush_resource = rbug_flush_resource; rb_pipe->pipe = pipe;