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

    <tr>
        <th>Summary</th>
        <td>
            [DirectX] Implement Shader Flags Analysis for WriteableMSAATextures
        </td>
    </tr>

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

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

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

<pre>
    Set function-level flag `WriteableMSAATextures`.

For version 1.7 and below - set if `RWTexture2DMS` Array resources are present in the module. 
Else, set if either of `DXIL::ResourceKind::Texture2DMSArray` or `DXIL::Opcode::TextureStoreSample` is used

AC:

Add tests to verify correctness of analysis.

</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJxsUkFvnDwU_DXm8rTIGFjCgQNf-JCiNqoUKiVXgx_gyOCVn9l0_31lQtWN1AtIz56ZN-ORRHpaESuW_8fyJpKbn62r-lk6qT7k-y3qrbpVHXoYt3Xw2q4ng1c0MBo5ATvzV6c9yt7gc1fXP_GX3xwSO_OY8Ybx-vPbWgdXdKTtCklcgFwV9GjsB5yA0IMeA9XL64EXzXPHzhxq5-QNHJLd3IAE0iFcHBKuHvQKfkZYrNoMxvCp878hZOLxDydqP6MDu7M3b0_fWVqztH45CL_pVX1O7nR3zSBu3VfUj8tgFX6533nrsJPLxWBAaIKNUN0brx8D4H6gFHgkT-BtiESPNxisczj4FYnCrnKV5kaajgQjVaWqTEsZYZUUaZI_cJGl0VxliheJKsciP-epUA-ZKMshGbOylOMoijLSleAiS5IkS3jKszQuZFGokef5IOT5AXOWcVykNrEx1yW2boo00YZVkpwFTyMjezS0V0OIFT9gP2VChKa4KoBO_TYRy7jR5Okvjdfe7J1qdHD2xvIGnkJMS3i6bpYKHbRGTgT14RZG6-CfZYo2Z6rZ-wuFLEXLRDtpP299PNiFiTaoHr_Txdl3HDwT7b4rMdEeZq6V-B0AAP__PpPurg">