<table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Issue</th>
<td>
<a href=https://github.com/llvm/llvm-project/issues/140097>140097</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>
[SPIRV][Vulkan] Do we need to generate StorageImageReadWithoutFormat?
</td>
</tr>
<tr>
<th>Labels</th>
<td>
backend:SPIR-V
</td>
</tr>
<tr>
<th>Assignees</th>
<td>
</td>
</tr>
<tr>
<th>Reporter</th>
<td>
llvm-beanz
</td>
</tr>
</table>
<pre>
LLVM is currently generating OpCapabilities for `StorageImageReadWithoutFormat` and `StorageImageWriteWithoutFormat`, which DXC did not generate. This causes shaders to require Vulkan 1.3 (where the capability is default), or an extension. In either case it seems like neither is needed.
Reproduction case: https://godbolt.org/z/Y5d58YE8o
</pre>
<img width="1" height="1" alt="" src="http://email.email.llvm.org/o/eJx8kk9v2zwMxj8NfSFqOJL_JAcf0uY1UKAvNrRDuh5pi7G1KlIm0e3aTz84azCgh510EMmHD58fpWRHz9xCdQ3VLqNZphBb516OVz2Tf8_6YN7au7v9_2gTDnOM7MW94cieI4n1I3453dCJeuusWE54CBGhLh4kRBr59kgj3zOZRytTmKUL8UgCdYHkzee6x2iFPxeCusHXyQ4T7r7foLEGfZCLPuf4bVoWozlxwjSR4ZhQAkb-OdvIuJ_dM3lc5RpBrV8njowyMQ6Xnd8WY4YPNDsBtVnkQkTyyL-EfbLB53jrka1MHHGgxGgFE_MxobPPjP7jyyb0zIZNDsUWiu09n2Iw8yA2-HMf6C1OIqcEeguqA9WNwfTBSR7iCKp7B9U9VaZaP_23DplptdnoDWXcrpqy0apWjcqmdr0u1yujm3rQxpi6GepyVXFVaDJlX-s-s60qVFVUq2pVq1KrnDQfWB-GTV9siBoDZcFHsi5fYl60M5vSzO2qLIpNkznq2aUzEUr1NDyzN6C3D19v76_2oNTCyQWReUxQFs4mSX-niRV3Jmpp2UO1g-r6TwxQ7XAX8JXPl1piuuSI_-ZFd9kcXfvpelamuc-HcATVLeofz9Uphh88CKjubCyB6j68vbTqdwAAAP__Tj_6dw">