mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-27 12:40:09 +01:00
svga: add const qualifiers on svga_check_sampler_view_resource_collision()
We don't change any of the argument objects. Reviewed-by: Charmaine Lee <charmainel@vmware.com>
This commit is contained in:
parent
0f236ea785
commit
1ee181b354
2 changed files with 4 additions and 4 deletions
|
|
@ -100,8 +100,8 @@ svga_sampler_view_reference(struct svga_sampler_view **ptr, struct svga_sampler_
|
|||
}
|
||||
|
||||
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);
|
||||
|
||||
boolean
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue