panfrost: Fix border colour
The border colour was being set to the red colour for all channels.
Fixes tex-border-1 from piglit.
Fixes: f74186baa5 ("panfrost: XMLify Midgard samplers")
Reviewed-by: Tomeu Vizoso <tomeu.vizoso@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6298>
This commit is contained in:
@@ -420,9 +420,9 @@ void panfrost_sampler_desc_init(const struct pipe_sampler_state *cso,
|
||||
cfg.seamless_cube_map = cso->seamless_cube_map;
|
||||
|
||||
cfg.border_color_r = cso->border_color.f[0];
|
||||
cfg.border_color_g = cso->border_color.f[0];
|
||||
cfg.border_color_b = cso->border_color.f[0];
|
||||
cfg.border_color_a = cso->border_color.f[0];
|
||||
cfg.border_color_g = cso->border_color.f[1];
|
||||
cfg.border_color_b = cso->border_color.f[2];
|
||||
cfg.border_color_a = cso->border_color.f[3];
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user