projects
/
platform
/
upstream
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
edef53c
)
vulkan/meta: Fixes for clear
author
Faith Ekstrand
<faith.ekstrand@collabora.com>
Tue, 31 Jan 2023 02:11:59 +0000
(20:11 -0600)
committer
Marge Bot
<emma+marge@anholt.net>
Fri, 4 Aug 2023 21:32:00 +0000
(21:32 +0000)
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24326>
src/vulkan/runtime/vk_meta_clear.c
patch
|
blob
|
history
diff --git
a/src/vulkan/runtime/vk_meta_clear.c
b/src/vulkan/runtime/vk_meta_clear.c
index
0f8ffe8
..
950d9ff
100644
(file)
--- a/
src/vulkan/runtime/vk_meta_clear.c
+++ b/
src/vulkan/runtime/vk_meta_clear.c
@@
-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_
u
int(key->render.color_attachment_formats[a]))
out_type = glsl_uvec4_type();
else
out_type = glsl_vec4_type();