<table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Issue</th>
<td>
<a href=https://github.com/llvm/llvm-project/issues/93330>93330</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>
[HLSL] Rules for when a function cannot be exported
</td>
</tr>
<tr>
<th>Labels</th>
<td>
HLSL
</td>
</tr>
<tr>
<th>Assignees</th>
<td>
</td>
</tr>
<tr>
<th>Reporter</th>
<td>
hekota
</td>
</tr>
</table>
<pre>
Not all HLSL functions can be exported. For example it is not possible to export functions that have resource argument or semantic annotations.
This task is to determine:
- what the rules are
- make sure they are documented
- implement the diagnostic and add tests
Related task: [[HLSL] Implement export keyword #92812](https://github.com/llvm/llvm-project/issues/92812)
</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJykks-OozwQxJ_GXFoTgQ0TfOAwoyj6Pmm0h9l9gQZ3wBtjR3Yzf95-ZWcym_te4NBN9a-KwpTs7IkG0T2L7lDhxkuIw0LnwFiNwXwOPwIDOgf_vfx8gdPmJ7bBJ5jQw0hAH5cQmcwOjiECfeB6cQSWwSbwgeESUrKjI-DwtXunwQsyLPhGECmFLU4EGOdtJc8QIiRa0bOdAL0PjOWbHYj6IOqn6_PXYhMwpnM-xwEMMcXVehLqa-MB3vMRXgji5igBRrpNVjwTpC1SHn_mCZgwlfNkbks2GypEWcNYnH1IVygDaAwwJU73UK_kkMkULqGeoET7nOMT3QH-_9b7iuNMn-8hGhBSadk3UnQHIfuF-ZKyC3kU8jhbXrZxN4VVyKNzb7fXwyWG3zSxkEeb0kZJyONVROorTGUGZbTSWNHQ7JvHbq_2vaqWYZR67HRNSG0_IdW6V708dc2k99RILSs7yFq2dSfbpq9lp3e6PT32WLc1duqxkVq0Na1o3S6T7EKcq8IwaKVUXTkcyaXSKymLeZmtVXEo4OM2J9HWziZOfwXYsitdvKX1Wv7ZKUR4X8gDfpcn9y_3666C1Rbd8A-5Fey3Qf4JAAD___uK_3g">