Skip to content

lavapipe: more accurately check for caps

Erik Faye-Lund requested to merge kusma/mesa:lavapipe-int16 into master

This MR fixes a few details, some benign (but useful because it introduce a utility we can reuse), and two that actually matters:

  1. We accidentally subtract 8 from the enum-value we're checking. That makes us check an unrelated cap, and we're exposing a way too large value.

  2. Lavapipe doesn't yet actually correctly support int16, because the NIR-path of Gallivm is missing an important detail.

This affects Zink when trying to add int16 support, because we can't really trust this feature from Lavapipe. So let's fix that.

Edited by Erik Faye-Lund

Merge request reports

Loading