<table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Issue</th>
<td>
<a href=https://github.com/llvm/llvm-project/issues/87389>87389</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>
[HLSL] Rich availability diagnostics
</td>
</tr>
<tr>
<th>Labels</th>
<td>
HLSL
</td>
</tr>
<tr>
<th>Assignees</th>
<td>
</td>
</tr>
<tr>
<th>Reporter</th>
<td>
llvm-beanz
</td>
</tr>
</table>
<pre>
## Description
Each new shader model introduces new APIs that expose new hardware and runtime functionality. We should provide diagnostics to users about API availability notifying them when they use APIs that are not available.
A detailed design proposal for the Clang implementation is available here: https://github.com/microsoft/hlsl-specs/pull/153
## Acceptance Criteria
Implementation and test coverage for the feature as designed in the design document.
</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJx8ks9unTwQxZ_GbEZBYCBwFyz4ku-qkbKo2kXXgz1gV8ZG_nPT26evTHKbZNMViNEcfnPOwRD0aolG1v3HuscCU1TOj8ZctruZ0P4uZievI-MN4w08UhBe71E7y6qJVdP_KBRYeoGgUJKHzUkyoG30TiZB4ZhNX58CRIUR6NfuAh0fFXr5gp4ArQSfbNQbwZKsyOJodLyW8IMgKJeMhN27i5YEUuNqXYhaBIgOUiAfAGeXYv4L4AW1wVnndbAu6uWq7QpR0QYvimx-u-atD0yZwbp42zVUvp42gaSI2pAESdmkDLG7gAYW57MSPBi0K-htN7SRjZjRQYd3KVDkiTUTqBj3wJqJ8TPj51VHleZSuI3x86aFd8EtkfGzMsHchZ1EYPy8J2MYP9dd8wr0lsEkBO0RrSB48DqS1_g6f_rMkX2NFCIIdyGPK_3FXghjys6Ht8tIgj68uV0qnUhZqSzk2MhTc8KCxrqveTXU901fqLGZ-WlpW9mdhr6vlo44b2pOJ3GPXGI9FHrkFW-rtuL1UDddXwoUtPB24JKLgeaetRVtqE2Zu1Y6vxY6hETj0DfDqTA4kwlHKzn_8vz9mXGe-3mrZloDayujQwzvAlFHczT5WOge4ZsW6nMpPhSoSN6M_wgmy7497nbvfpLIER2QOZ6D808AAAD__xMcGY0">