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

    <tr>
        <th>Summary</th>
        <td>
            [SPIR-V] Specify Vulkan target environment in triple
        </td>
    </tr>

    <tr>
      <th>Labels</th>
      <td>
            HLSL,
            backend:SPIR-V
      </td>
    </tr>

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

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

<pre>
    Currently, we assume any physical addressing SPIR-V in the ArchType implies an OpenCL environment, and logical addressing SPIR-V implies a Vulkan environment, however this isn't strictly correct, and we will eventually need a way to specify the specific Vulkan target environment version. We may need to repurpose the SYS/OS part of the triple for this, dropping the Shader Model version when HLSL is targeting Vulkan.
</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJx0Uk9v2yAU_zT48tQIYztxDj50qaJN6tRpmTrtSODFZsWAeDiWv_1kx9mqST2BgN8_3k8SmdYhNqz6xISgQXsnk7QGmRCsesrkkDofm3cX2dnrqTkMMaJLdmLiACOCJBp6BOkmCN1ERkkLUuuIRMa1cPr25fvDKxgHqUN4jKr7MQUE0wdrkEA6eAnoDs-A7mqidz26NDNLp8H69iO6OxxeB_sm3f_ozo94xQipMwSGHBO7BJSiUclOoHyMqP7KjAijsRbwii4N0toJHKIGCaOcIHmggMpcpiXBbW_UXTjJ2GJ6rw9XjGS828BPhF6uZMlDxDDE4AkXotOvExPHlxMEGRP4y3KYogkW4eJv1meHOvoQ5ugLqJMaI3z1Gu1dB8YOHXx-Pj2DodXP_P5mcJPpptD7Yi8zbPLtvs6ruixF1jUVL_W-2tZaCcErxXdnveN7JfJdrbZbxTPTCC6KnIsyL0te7DZC19uqqit-qVV1yQtWcuylsRtrr_3GxzYzRAM2O86rPLPyjJbWfs325mKJAxPiLNUbOs2Kx9s418bFZuZ5OA8tsZJbQ4n-MSeT7FLWFVI9wWkdy8eTmFu3_Gg2RNt0KQVixSMTRyaOrUndcN4o3zNxnGXW5SFE_3tpx3FJQ0wcl0B_AgAA___AERUf">