aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLucas Stach <[email protected]>2019-09-16 15:01:10 +0200
committerLucas Stach <[email protected]>2019-10-18 10:12:07 +0000
commit5f76d3cce88c907075d4472f2dc3fbacd1c4a83d (patch)
treebaaaa66861f7d25e370606e06afe520a0c657166
parenta75eb888e0ceeaa61b3583668c05cc1f5f5786ce (diff)
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 <[email protected]>
-rw-r--r--src/gallium/auxiliary/driver_rbug/rbug_context.c2
1 files changed, 1 insertions, 1 deletions
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;