mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-24 19:40:10 +01:00
softpipe: s/unsigned/enum pipe_shader_type/
Reviewed-by: Edward O'Callaghan <funfunctor@folklore1984.net>
This commit is contained in:
parent
0fc5110a6e
commit
f676c700cc
4 changed files with 6 additions and 4 deletions
|
|
@ -282,7 +282,7 @@ compute_cliprect(struct softpipe_context *sp)
|
|||
|
||||
static void
|
||||
set_shader_sampler(struct softpipe_context *softpipe,
|
||||
unsigned shader,
|
||||
enum pipe_shader_type shader,
|
||||
int max_sampler)
|
||||
{
|
||||
int i;
|
||||
|
|
|
|||
|
|
@ -167,7 +167,7 @@ prepare_shader_sampling(
|
|||
struct softpipe_context *sp,
|
||||
unsigned num,
|
||||
struct pipe_sampler_view **views,
|
||||
unsigned shader_type,
|
||||
enum pipe_shader_type shader_type,
|
||||
struct pipe_resource *mapped_tex[PIPE_MAX_SHADER_SAMPLER_VIEWS])
|
||||
{
|
||||
|
||||
|
|
|
|||
|
|
@ -3443,7 +3443,8 @@ softpipe_create_sampler_state(struct pipe_context *pipe,
|
|||
|
||||
|
||||
compute_lambda_func
|
||||
softpipe_get_lambda_func(const struct pipe_sampler_view *view, unsigned shader)
|
||||
softpipe_get_lambda_func(const struct pipe_sampler_view *view,
|
||||
enum pipe_shader_type shader)
|
||||
{
|
||||
if (shader != PIPE_SHADER_FRAGMENT)
|
||||
return compute_lambda_vert;
|
||||
|
|
|
|||
|
|
@ -155,7 +155,8 @@ struct sp_tgsi_sampler
|
|||
};
|
||||
|
||||
compute_lambda_func
|
||||
softpipe_get_lambda_func(const struct pipe_sampler_view *view, unsigned shader);
|
||||
softpipe_get_lambda_func(const struct pipe_sampler_view *view,
|
||||
enum pipe_shader_type shader);
|
||||
|
||||
|
||||
void *
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue