<table border="1" cellspacing="0" cellpadding="8">
    <tr>
        <th>Issue</th>
        <td>
            <a href=https://github.com/llvm/llvm-project/issues/56420>56420</a>
        </td>
    </tr>

    <tr>
        <th>Summary</th>
        <td>
            [hlsl] in source hlsl code compilation with clang
        </td>
    </tr>

    <tr>
      <th>Labels</th>
      <td>
      </td>
    </tr>

    <tr>
      <th>Assignees</th>
      <td>
      </td>
    </tr>

    <tr>
      <th>Reporter</th>
      <td>
          fknfilewalker
      </td>
    </tr>
</table>

<pre>
    Are there plans to include functionality that, when c++ source code includes hlsl code and gets compiled with clang, it also gets compiled to dxil/spirv and auto included in the host code/bin for execution on the device? Similar to what the cuda compiler does?

If there are no plans, would it be hard to do such thing?
</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJxdkd2OozAMhZ8GbqytaChlesFFZ1dIcz1PYBIHsuMSlJ925u3X0FaVVgRI4hP788ngzU93DgRpIvkujHOE5MHNmrMhsHnWyfkZ2aUfEWEq1G-4TTSDLtS7DIg-B02gvcgfxyJMHPm-hbOBkVKU1WVxTAZuLk2gpdK45nIJkKP_TyMI5ttxofq4uHDdsmB-gRmZrMww-Zi2QiIdZM_6APRNOq_U4O8iQ1enqah7-HQXxxjW_DdpZovqbPBZOYDxFEVZVGcZH_ZhDMo7-7s_mwM-s1nZB0HAcAf2ELOe5IST1uq-NF1tTvUJy-QSU1c076stRfNnhX_Y9jLqToAb98uiMgfuppQWgTpLjzJGCeZhJ3pZMF-fv19L8H9Jyw31LsYsbai-OR5UVU7dqRqwPlB7NLYZFNnGHtAeq1btW232J1MyDsRxZRS-0nWqUqpq5XlrRLPb27Z9w0NFezPUqG0h0ws63q2Fdz6MZeg2hiGPUYLsYoqvIMboxpnomV-ucvKhs1-zFdNvyF8Uyg2624j_AdFF4d0">