diff options
author | Rob Clark <[email protected]> | 2020-06-05 18:25:50 -0700 |
---|---|---|
committer | Marge Bot <[email protected]> | 2020-06-16 02:48:18 +0000 |
commit | 28a14787c07b0046d2789bb6bd483f8ff2e4317c (patch) | |
tree | 3abeb00cfc481b62373dff432b7508f137600a80 /src/hgl | |
parent | fce02f4020ae1a48ce02201df2895b9477ea22d2 (diff) |
freedreno/ir3: don't rely on intr->num_components
It is better to use `nir_intrinsic_dest_components()` which also handles
the case of intrinsics with a fixed number of dest components.
Somehow this starts showing up with a nir_serialize round-trip with
shader-cache. But we really shouldn't have been relying on
`intr->num_components` directly.
Signed-off-by: Rob Clark <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5371>
Diffstat (limited to 'src/hgl')
0 files changed, 0 insertions, 0 deletions