<html>
    <head>
      <base href="https://bugs.freedesktop.org/">
    </head>
    <body><table border="1" cellspacing="0" cellpadding="8">
        <tr>
          <th>Bug ID</th>
          <td><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - SPV_GOOGLE_hlsl_functionality1 / SPV_GOOGLE_decorate_string"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=107971">107971</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>SPV_GOOGLE_hlsl_functionality1 / SPV_GOOGLE_decorate_string
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>Mesa
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>git
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>Other
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>All
          </td>
        </tr>

        <tr>
          <th>Status</th>
          <td>NEW
          </td>
        </tr>

        <tr>
          <th>Severity</th>
          <td>enhancement
          </td>
        </tr>

        <tr>
          <th>Priority</th>
          <td>medium
          </td>
        </tr>

        <tr>
          <th>Component</th>
          <td>Drivers/Vulkan/Common
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>mesa-dev@lists.freedesktop.org
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>xavierb@gmail.com
          </td>
        </tr>

        <tr>
          <th>CC</th>
          <td>airlied@freedesktop.org, chadversary@chromium.org, daniel@fooishbar.org, jason@jlekstrand.net
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Created <span class=""><a href="attachment.cgi?id=141626" name="attach_141626" title="example spirv from dxc.exe">attachment 141626</a> <a href="attachment.cgi?id=141626&action=edit" title="example spirv from dxc.exe">[details]</a></span>
example spirv from dxc.exe

hi,

Trying to use the "dxc" compiler to compile hlsl -> spirv and enabling
additional reflection decorations produces a spirv binary that is rejected by
mesa.


Seems to me it's because decorations of type "OpDecorateStringGOOGLE"
"OpMemberDecorateStringGOOGLE" appear in the header and cause
vtn_handle_preamble_instruction() to move on to the next section prematurely.
(if I understand correctly they should just be skipped?)</pre>
        </div>
      </p>


      <hr>
      <span>You are receiving this mail because:</span>

      <ul>
          <li>You are the assignee for the bug.</li>
      </ul>
    </body>
</html>