diff options
author | Brian Paul <[email protected]> | 2017-03-05 12:35:22 -0700 |
---|---|---|
committer | Brian Paul <[email protected]> | 2017-03-08 08:50:20 -0700 |
commit | 73bafb5ee38964019c3da2000095608a7fb4b554 (patch) | |
tree | 99e2127a15ba720b221d9be2332dad7fa77f6ec6 /src/gallium/drivers/vc4 | |
parent | 1564a768ae534c800f49b1cf9994f2f030381cec (diff) |
gallium: s/unsigned/enum pipe_shader_type/ for get_compiler_options()
Reviewed-by: Edward O'Callaghan <[email protected]>
Diffstat (limited to 'src/gallium/drivers/vc4')
-rw-r--r-- | src/gallium/drivers/vc4/vc4_program.c | 3 | ||||
-rw-r--r-- | src/gallium/drivers/vc4/vc4_screen.h | 3 |
2 files changed, 4 insertions, 2 deletions
diff --git a/src/gallium/drivers/vc4/vc4_program.c b/src/gallium/drivers/vc4/vc4_program.c index 21753439cf6..3d45723b62d 100644 --- a/src/gallium/drivers/vc4/vc4_program.c +++ b/src/gallium/drivers/vc4/vc4_program.c @@ -2197,7 +2197,8 @@ static const nir_shader_compiler_options nir_options = { const void * vc4_screen_get_compiler_options(struct pipe_screen *pscreen, - enum pipe_shader_ir ir, unsigned shader) + enum pipe_shader_ir ir, + enum pipe_shader_type shader) { return &nir_options; } diff --git a/src/gallium/drivers/vc4/vc4_screen.h b/src/gallium/drivers/vc4/vc4_screen.h index 54751ff0b0d..34d15381ae7 100644 --- a/src/gallium/drivers/vc4/vc4_screen.h +++ b/src/gallium/drivers/vc4/vc4_screen.h @@ -112,7 +112,8 @@ vc4_screen_bo_from_handle(struct pipe_screen *pscreen, const void * vc4_screen_get_compiler_options(struct pipe_screen *pscreen, - enum pipe_shader_ir ir, unsigned shader); + enum pipe_shader_ir ir, + enum pipe_shader_type shader); extern uint32_t vc4_debug; |