Jakub Kuderski ca7c058701
[mlir][spirv] Rework type capability queries (#160113)
* Fix infinite recursion with nested structs.
* Drop `::getCapbilities` function from derived types, so that there's
only one entry point that queries type extensions.
* Move all capability logic to a new helper class -- this way the
`::getCapabilities` functions can't diverge across concrete types and
'convenience types' like CompositeType.

Fixes: #159963
2025-09-22 15:28:41 +00:00
..