Skip to content
Commit 4b372644 authored by Faith Ekstrand's avatar Faith Ekstrand Committed by Emil Velikov
Browse files

spirv: Pull offset/stride from the pointer for OpArrayLength



We can't pull it from the variable type because it might be an array of
blocks and not just the one block.  While we're here, throw in some
error checking.

Reviewed-by: default avatarLionel Landwerlin <lionel.g.landwerlin@intel.com>
Cc: mesa-stable@lists.freedesktop.org
(cherry picked from commit f1dbc7e9)
parent 079c124b
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment