summaryrefslogtreecommitdiffstats
path: root/install-gallium-links.mk
diff options
context:
space:
mode:
authorJason Ekstrand <[email protected]>2018-12-12 16:07:07 -0600
committerJason Ekstrand <[email protected]>2019-01-08 00:38:30 +0000
commitbf1a1eed882980a1cd08482386e3a001ce64a5a4 (patch)
treead641a504f2b72ed480f7a01d7d933f791ad1504 /install-gallium-links.mk
parent6cebeb4f71918aded1ddade5727f79fae83780fd (diff)
spirv: Propagate layout decorations to created glsl_types
Instead of just storing the decorations in the vtn_type, propagate them all the way through to the glsl_type. For array strides, this means we need to handle them earlier so we break array stride handling into it's own function and explicitly call it for both pointer and array types. Due to type deduplication in the SPIR-V, we may have explicit layout decorations on all sorts of types that don't actually want them. In order to prevent these leaking into unfortunate places in NIR, we explicitly strip them off before creating NIR variables and when casting pointers to non-external memory. Reviewed-by: Alejandro PiƱeiro <[email protected]>
Diffstat (limited to 'install-gallium-links.mk')
0 files changed, 0 insertions, 0 deletions