gallium: s/unsigned/enum pipe_shader_type/ for get_compiler_options()

Reviewed-by: Edward O'Callaghan <funfunctor@folklore1984.net>
This commit is contained in:
Brian Paul 2017-03-05 12:35:22 -07:00
parent 1564a768ae
commit 73bafb5ee3
3 changed files with 5 additions and 3 deletions

View file

@ -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;
}

View file

@ -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;

View file

@ -319,7 +319,7 @@ struct pipe_screen {
*/
const void *(*get_compiler_options)(struct pipe_screen *screen,
enum pipe_shader_ir ir,
unsigned shader);
enum pipe_shader_type shader);
/**
* Returns a pointer to a driver-specific on-disk shader cache. If the