https://bugs.freedesktop.org/show_bug.cgi?id=107971

            Bug ID: 107971
           Summary: SPV_GOOGLE_hlsl_functionality1 /
                    SPV_GOOGLE_decorate_string
           Product: Mesa
           Version: git
          Hardware: Other
                OS: All
            Status: NEW
          Severity: enhancement
          Priority: medium
         Component: Drivers/Vulkan/Common
          Assignee: mesa-dev@lists.freedesktop.org
          Reporter: xavi...@gmail.com
                CC: airl...@freedesktop.org, chadvers...@chromium.org,
                    dan...@fooishbar.org, ja...@jlekstrand.net

Created attachment 141626
  --> https://bugs.freedesktop.org/attachment.cgi?id=141626&action=edit
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?)

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/mesa-dev

Reply via email to