panfrost: Expose serialized NIR support

Graphics / Mesa 3D Graphics Library / Mesa - Alyssa Rosenzweig [collabora.com] - 26 October 2019 13:17 EDT

Serialized NIR is required for clover with the SPIR-V pipeline. With this change and PAN_MESA_DEBUG=deqp, clinfo is able to successfully probe panfrost.

Code from Nouveau (commit 7955fabcf89c7265f7f4244e46c5bcb83b9687fa by Karol Herbst).

728a9757006 panfrost: Expose serialized NIR support
src/gallium/drivers/panfrost/pan_compute.c | 15 ++++++++++++---
src/gallium/drivers/panfrost/pan_screen.c | 2 +-
2 files changed, 13 insertions(+), 4 deletions(-)

Upstream: cgit.freedesktop.org


  • Share