vulkan/meta: Fixes for clear
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24326>
This commit is contained in:
committed by
Marge Bot
parent
edef53c337
commit
98867ad976
@@ -73,7 +73,7 @@ build_clear_shader(const struct vk_meta_clear_key *key)
|
||||
const struct glsl_type *out_type;
|
||||
if (vk_format_is_int(key->render.color_attachment_formats[a]))
|
||||
out_type = glsl_ivec4_type();
|
||||
else if (vk_format_is_int(key->render.color_attachment_formats[a]))
|
||||
else if (vk_format_is_uint(key->render.color_attachment_formats[a]))
|
||||
out_type = glsl_uvec4_type();
|
||||
else
|
||||
out_type = glsl_vec4_type();
|
||||
|
||||
Reference in New Issue
Block a user