diff options
author | Brian Paul <[email protected]> | 2016-08-29 10:15:36 -0600 |
---|---|---|
committer | Brian Paul <[email protected]> | 2016-08-29 12:40:45 -0600 |
commit | f5602c27ec681f1f66cdb8d79378991b79ce45e7 (patch) | |
tree | 272fec66f32b44e110c7aec7113785d7de368eb0 /src/gallium/drivers/svga/svga_state_sampler.c | |
parent | 5e76baa2ad261c72f96a3df42ace4773a1c7daa9 (diff) |
svga: s/unsigned/enum pipe_shader_type/
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 | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/gallium/drivers/svga/svga_state_sampler.c b/src/gallium/drivers/svga/svga_state_sampler.c index 55bed027b57..53bb80f0e5b 100644 --- a/src/gallium/drivers/svga/svga_state_sampler.c +++ b/src/gallium/drivers/svga/svga_state_sampler.c @@ -66,7 +66,7 @@ svga_resource_handle(struct pipe_resource *res) boolean svga_check_sampler_view_resource_collision(struct svga_context *svga, struct svga_winsys_surface *res, - unsigned shader) + enum pipe_shader_type shader) { struct pipe_screen *screen = svga->pipe.screen; unsigned i; @@ -228,7 +228,7 @@ static enum pipe_error update_sampler_resources(struct svga_context *svga, unsigned dirty) { enum pipe_error ret = PIPE_OK; - unsigned shader; + enum pipe_shader_type shader; if (!svga_have_vgpu10(svga)) return PIPE_OK; @@ -339,7 +339,7 @@ static enum pipe_error update_samplers(struct svga_context *svga, unsigned dirty ) { enum pipe_error ret = PIPE_OK; - unsigned shader; + enum pipe_shader_type shader; if (!svga_have_vgpu10(svga)) return PIPE_OK; |