mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-22 17:50:12 +01:00
gallium: s/unsigned/enum pipe_shader_type/ for get_compiler_options()
Reviewed-by: Edward O'Callaghan <funfunctor@folklore1984.net>
This commit is contained in:
parent
1564a768ae
commit
73bafb5ee3
3 changed files with 5 additions and 3 deletions
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue