Commit 0daa6155 authored by Mike Blumenkrantz's avatar Mike Blumenkrantz 🏋 Committed by Marge Bot

zink: check if multisample support exists for shader image formats

avoid issues later by checking this now while we're here
Reviewed-by: Erik Faye-Lund 's avatarErik Faye-Lund <erik.faye-lund@collabora.com>
Part-of: <!8504>
parent b9b812ed
......@@ -627,6 +627,10 @@ zink_is_format_supported(struct pipe_screen *pscreen,
!(screen->info.props.limits.sampledImageColorSampleCounts & sample_mask))
return false;
}
if (bind & PIPE_BIND_SHADER_IMAGE) {
if (!screen->info.feats.features.shaderStorageImageMultisample)
return false;
}
}
VkFormatProperties props;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment