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

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 <>
Part-of: <mesa/mesa!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 (!screen->info.feats.features.shaderStorageImageMultisample)
return false;
VkFormatProperties props;
Supports Markdown
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