[Mesa-dev] [Bug 107971] SPV_GOOGLE_hlsl_functionality1 / SPV_GOOGLE_decorate_string

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Tue Sep 18 08:46:02 UTC 2018


            Bug ID: 107971
           Summary: SPV_GOOGLE_hlsl_functionality1 /
           Product: Mesa
           Version: git
          Hardware: Other
                OS: All
            Status: NEW
          Severity: enhancement
          Priority: medium
         Component: Drivers/Vulkan/Common
          Assignee: mesa-dev at lists.freedesktop.org
          Reporter: xavierb at gmail.com
                CC: airlied at freedesktop.org, chadversary at chromium.org,
                    daniel at fooishbar.org, jason at jlekstrand.net

Created attachment 141626
  --> https://bugs.freedesktop.org/attachment.cgi?id=141626&action=edit
example spirv from dxc.exe


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

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?)

You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/mesa-dev/attachments/20180918/3696ab37/attachment.html>

More information about the mesa-dev mailing list