<table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Issue</th>
<td>
<a href=https://github.com/llvm/llvm-project/issues/148270>148270</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>
[HLSL][SPIRV] Guess at the image format for storage images
</td>
</tr>
<tr>
<th>Labels</th>
<td>
HLSL,
backend:SPIR-V
</td>
</tr>
<tr>
<th>Assignees</th>
<td>
s-perron
</td>
</tr>
<tr>
<th>Reporter</th>
<td>
s-perron
</td>
</tr>
</table>
<pre>
Even in VK1.3, not all driver have to support reading and writing to a storage image without a format. If we were to use the `unknown` format, users may see a regression when compared to DXC. To make things easier to port, we will implement https://github.com/microsoft/DirectXShaderCompiler/pull/7632. At some point we may decide to make it the default.
- [ ] Add the new option `-fspv-use-unknown-image-format` to clang-dxc.
- [ ] Update the wg-hlsl spir-v resource proposal to reflect this change.
</pre>
<img width="1" height="1" alt="" src="http://email.email.llvm.org/o/eJx8k0-PozgQxT-NuZRAYIf8OXBIJ5vd1vZhtb3b6qtjF-BpY1suE6a__cgko1Ff5oIRhl-993iWRGZwiB1rnxjnVAaM0TvGOWvPhZzT6GP382lx9fqz--OGDoyDt7-bSjB-AucTSGtBR3PDCKO8ISQPNIfgY4KIUhs3gHQalmhSvk8eJFDyUQ4IZsrXxaTRzwkk9D5OMlXw3MOCsGBccTMhpBGBbevZfTi_OLatH-9mFTNhJJjkJxAiSIg4RCQy3sEyogPlpyAj6sw6v58q-M_DJD8y1LiBACUZjHk3q87EPNxYC2YKFid0CcaUAjFxZPzC-GUwaZyvlfIT45fJqOjJ94nxy9lEVOn9dZQa48lPwViMjF_CbC3jl91W8AqOCchPCMEbl_KsLF2jMnq1u0ozabWssZezTRWrj6w-lsDaJ2DtGY5ar_sOF_AhZatsW5c9hVs5E5aPnMo14PIR1bbOeGWlG0r9XVVfiP8HLdM952UoR0sWKJhY3iAi-TkqhBB98CRtpkTsLaos0hCoUboBq0J3Qh_EQRbYNbuW83YnGlGMXd_wuj_0Qlw3eruXaq_aRrdCNkJgs292hel4zdt61zTNvt4LUam-RbVp5Vb0GynxwDY1TtLYytrbVPk4FIZoxq7Z7PmuLqy8oqVHk_96eX3JLeYnxvlVqg90monj6z_P_5Zvj3rHLoPK6zwQ29TWUKJf6GSSXY_FSmrPrH3KH7_lmP6ckQjk_e_c63tPNy9fe03FHG33m-LkgY-lDNF_Q5UrtBojxi8Pb7eO_wgAAP__1Mg2KQ">