mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-08 11:18:08 +02:00
panfrost: Don't select the blit shader fragout type twice
The type has already been selected when forging the key, no need to do it again pan_blitter_emit_bifrost_blend(). Signed-off-by: Boris Brezillon <boris.brezillon@collabora.com> Reviewed-by: Alyssa Rosenzweig <alyssa@collabora.com>
This commit is contained in:
parent
66505c931e
commit
00be58e8bc
1 changed files with 1 additions and 4 deletions
|
|
@ -224,10 +224,7 @@ pan_blitter_emit_bifrost_blend(const struct panfrost_device *dev,
|
|||
return;
|
||||
}
|
||||
|
||||
nir_alu_type type =
|
||||
(util_format_is_pure_uint(iview->format)) ? nir_type_uint32 :
|
||||
(util_format_is_pure_sint(iview->format)) ? nir_type_int32 :
|
||||
nir_type_float32;
|
||||
nir_alu_type type = blit_shader->key.surfaces[rt].type;
|
||||
|
||||
cfg.round_to_fb_precision = true;
|
||||
cfg.srgb = util_format_is_srgb(iview->format);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue