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

    <tr>
        <th>Summary</th>
        <td>
            [HLSL] Fix failing SPIR-V backend tests that specify --target-env vulkan1.3
        </td>
    </tr>

    <tr>
      <th>Labels</th>
      <td>
            new issue
      </td>
    </tr>

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

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

<pre>
    ## Problem
When SPIRV-Tools is enabled, tests that specify the target environment `vulkan1.3` in the validation step fail.

## Temporary fix
This PR is a stop gap to get the pipeline green again:
https://github.com/llvm/llvm-project/pull/136343

## Long term fix
The current suggestion from @s-perron is to change the tests to not have external functions or variables, e.g. making the functions shader entry points. More discussion is likely needed.
</pre>
<img width="1" height="1" alt="" src="http://email.email.llvm.org/o/eJyUklFrpDoUxz9NfDkoGuNM58GH3luGe6ELpS3d56jHmJ2YSM7R7Xz7JQ7t7sK-LAgKhn9-539-msgaj9iK5h_RPGR65SnE9jIv6E3WheHaClkLWcNTDJ3DWZT3Xyf08PL0__Nb_hqCI7AE6HXncBDyX2AkJuBJM9CCvR2vwBMC62iQAf1mY_AzegZxKLfVXbSvilocSrB-P7lpZwfNNnggxgVGbV0hyvv03FhecV5C1PEKo30X5f3rZAmenhOIBuKwgNELcIB0Y4pc7ILOegQTET1oo60XdUqcmBdKn_Is5NlYntau6MMs5Nm57eOVLzF8w56FPC-rc0Keq_pQq_o3qsfgDTDG-ZMKoV9jTKPSagzSPtMYwwxClZQvGGPwiZoD9JP2Bm9V3RoM4APDpDcEfGeMXjsYV9-nFIIQYdPRptop1Y6FKWDWF5sgJvzlJE16wAjoOV5hCdYzFfAlRITBUr8S2RuEsxd0V_CIAw5FNrT1cKpPOsO2OqqmLOWhbrKpbaQ61qdjMyiUh3E8qnrUvWqaru9KXfUys60sZVOq6q66a45VU1RaqlMz9tXpNKpeSaFKnNNSU7VFiCazRCu2e6cqc7pDR7uRUnr8DvtfIWUSNLb7PrrVkFCls8T0M4Ytu13l_x5fHkXzAGf7vuuTSknG5m_Q6f6CfviTpnl-kzRHv8GnmdkaXfvXmuzM9CGKyrZW_ggAAP__zHoh4g">