Reviewed-by: Edward O'Callaghan <funfunctor@folklore1984.net>
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;
}
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;
*/
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