diff options
author | Brian Paul <[email protected]> | 2017-04-10 15:02:05 -0600 |
---|---|---|
committer | Brian Paul <[email protected]> | 2017-04-26 11:37:59 -0600 |
commit | 1ee181b3548a93b19474de5a13cfade208056996 (patch) | |
tree | e057ea6963df2c2cfc145f2a1b1f8c491b162f60 /src/gallium/drivers/svga/svga_state_sampler.c | |
parent | 0f236ea785d4d7664c3170e5f575f7c25bcfc5a0 (diff) |
svga: add const qualifiers on svga_check_sampler_view_resource_collision()
We don't change any of the argument objects.
Reviewed-by: Charmaine Lee <[email protected]>
Diffstat (limited to 'src/gallium/drivers/svga/svga_state_sampler.c')
-rw-r--r-- | src/gallium/drivers/svga/svga_state_sampler.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gallium/drivers/svga/svga_state_sampler.c b/src/gallium/drivers/svga/svga_state_sampler.c index 445afcc8d28..482449ecc66 100644 --- a/src/gallium/drivers/svga/svga_state_sampler.c +++ b/src/gallium/drivers/svga/svga_state_sampler.c @@ -64,8 +64,8 @@ svga_resource_handle(struct pipe_resource *res) * any of the resources bound to any of the currently bound sampler views. */ boolean -svga_check_sampler_view_resource_collision(struct svga_context *svga, - struct svga_winsys_surface *res, +svga_check_sampler_view_resource_collision(const struct svga_context *svga, + const struct svga_winsys_surface *res, enum pipe_shader_type shader) { struct pipe_screen *screen = svga->pipe.screen; |