zink: add SpvCapabilityStorageImageMultisample for multisampled storage images
cc: mesa-stable Reviewed-by: Dave Airlie <airlied@redhat.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/13631>
This commit is contained in:

committed by
Marge Bot

parent
a794bdf953
commit
aacdc6eb44
@@ -1224,6 +1224,8 @@ spirv_builder_type_image(struct spirv_builder *b, SpvId sampled_type,
|
||||
sampled_type, dim, depth ? 1 : 0, arrayed ? 1 : 0, ms ? 1 : 0, sampled,
|
||||
image_format
|
||||
};
|
||||
if (sampled == 2 && ms)
|
||||
spirv_builder_emit_cap(b, SpvCapabilityStorageImageMultisample);
|
||||
return get_type_def(b, SpvOpTypeImage, args, ARRAY_SIZE(args));
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user