Mesa (master): llvmpipe: s/unsigned/enum pipe_shader_type/

Brian Paul brianp at kemper.freedesktop.org
Wed Mar 8 16:18:32 UTC 2017


Module: Mesa
Branch: master
Commit: 0fc5110a6e1759c38af74f0b10acc56af6f0bfca
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=0fc5110a6e1759c38af74f0b10acc56af6f0bfca

Author: Brian Paul <brianp at vmware.com>
Date:   Sun Mar  5 12:29:22 2017 -0700

llvmpipe: s/unsigned/enum pipe_shader_type/

Reviewed-by: Edward O'Callaghan <funfunctor at folklore1984.net>

---

 src/gallium/drivers/llvmpipe/lp_state_sampler.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/gallium/drivers/llvmpipe/lp_state_sampler.c b/src/gallium/drivers/llvmpipe/lp_state_sampler.c
index 01af052..c9aba1a 100644
--- a/src/gallium/drivers/llvmpipe/lp_state_sampler.c
+++ b/src/gallium/drivers/llvmpipe/lp_state_sampler.c
@@ -241,7 +241,7 @@ prepare_shader_sampling(
    struct llvmpipe_context *lp,
    unsigned num,
    struct pipe_sampler_view **views,
-   unsigned shader_type)
+   enum pipe_shader_type shader_type)
 {
 
    unsigned i;




More information about the mesa-commit mailing list