<table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Issue</th>
<td>
<a href=https://github.com/llvm/llvm-project/issues/138268>138268</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>
[HLSL][SPIRV] Don't emit the Alignment decoration for shaders
</td>
</tr>
<tr>
<th>Labels</th>
<td>
backend:SPIR-V
</td>
</tr>
<tr>
<th>Assignees</th>
<td>
</td>
</tr>
<tr>
<th>Reporter</th>
<td>
s-perron
</td>
</tr>
</table>
<pre>
The Alignment decoration in SPIR-V requires the Kernel capability. It should not be used creating a shader.
</pre>
<img width="1" height="1" alt="" src="http://email.email.llvm.org/o/eJxs0M-O2yAQx_Gngcsolj0Y2zlwyCqyuuoeqm61d_5MbFoMKeCV8vZV0ki99MTpx-j70aX4JRIpJl-YPHO91zVlVQ5XyjlFbpK7qR8rwSn4JW4UKziyKevqUwQf4f3b6_fDB2T6vftMBepK8JVypABWX7XxwddbA68Vypr24CCmCoZgL-TAZtLVxwU0lFU7yg13SrijOGpOqhv7oTt22E18VaOl6SJ60ZPD0VnZTpPRE9JoyInuaLhX2KJsZYudaAc5NQMRjtpe3IhDL_qW9S1t2ocmhM-tSXnhvpSdVCcmHCYetKFQHg6IRttfFB0Tp799DPGuk9V9ezD7UljfBl9q-fdb9TU8HL-8vb8xeWby5T7-YPIM5xQZjhVo8_VB9F_OS8pPh8L3HNRa67UwcWI4M5wXX9fdNDZtDOf71edzuOb0k2xlOD-CCsP52fSp8E8AAAD__-5lm2E">