diff options
author | Brian Paul <[email protected]> | 2017-03-05 12:30:17 -0700 |
---|---|---|
committer | Brian Paul <[email protected]> | 2017-03-08 08:50:20 -0700 |
commit | 1564a768ae534c800f49b1cf9994f2f030381cec (patch) | |
tree | 9cf68b91bf7d2583e6e5364ec12f10cf5166f873 /src/gallium/drivers/virgl/virgl_context.c | |
parent | 6614b060fb133de858a1c8291e776a9a1e7a1eab (diff) |
virgl: s/unsigned/enum pipe_shader_type/
Reviewed-by: Edward O'Callaghan <[email protected]>
Diffstat (limited to 'src/gallium/drivers/virgl/virgl_context.c')
-rw-r--r-- | src/gallium/drivers/virgl/virgl_context.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/gallium/drivers/virgl/virgl_context.c b/src/gallium/drivers/virgl/virgl_context.c index 2ee89d7ff4b..65ca9b32437 100644 --- a/src/gallium/drivers/virgl/virgl_context.c +++ b/src/gallium/drivers/virgl/virgl_context.c @@ -99,7 +99,7 @@ static void virgl_attach_res_framebuffer(struct virgl_context *vctx) } static void virgl_attach_res_sampler_views(struct virgl_context *vctx, - unsigned shader_type) + enum pipe_shader_type shader_type) { struct virgl_winsys *vws = virgl_screen(vctx->base.screen)->vws; struct virgl_textures_info *tinfo = &vctx->samplers[shader_type]; @@ -153,7 +153,7 @@ static void virgl_attach_res_so_targets(struct virgl_context *vctx) } static void virgl_attach_res_uniform_buffers(struct virgl_context *vctx, - unsigned shader_type) + enum pipe_shader_type shader_type) { struct virgl_winsys *vws = virgl_screen(vctx->base.screen)->vws; struct virgl_resource *res; @@ -172,7 +172,7 @@ static void virgl_attach_res_uniform_buffers(struct virgl_context *vctx, */ static void virgl_reemit_res(struct virgl_context *vctx) { - unsigned shader_type; + enum pipe_shader_type shader_type; /* reattach any flushed resources */ /* framebuffer, sampler views, vertex/index/uniform/stream buffers */ |