[Mesa-dev] [Bug 103579] Vertex shader causes compiler to crash in SPIRV-to-NIR

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Sun Dec 3 14:41:20 UTC 2017


Bas Nieuwenhuizen <bas at basnieuwenhuizen.nl> changed:

           What    |Removed                     |Added
                 CC|                            |airlied at freedesktop.org,
                   |                            |chadversary at chromium.org,
                   |                            |daniel at fooishbar.org,
                   |                            |jason at jlekstrand.net
          Component|Drivers/Vulkan/radeon       |Drivers/Vulkan/Common
         QA Contact|mesa-dev at lists.freedesktop. |
                   |org                         |

--- Comment #1 from Bas Nieuwenhuizen <bas at basnieuwenhuizen.nl> ---
I could not get it to crash at that place anymore (though I'm pretty sure it
did when looking at that bug earlier ...

It now crashes for me at

  %80 = OpLoad %_struct_65 %67

and this is because it is loading the entire UBO block struct without any
indexing. (By the way, SPIR-V is really messed up here, requiring the Block
decoration on the type instead of the variable ... After loading it is clearly
not usefully a block, what if you store the same thing as function local var)

Patch is on the way.

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

More information about the mesa-dev mailing list