Skip to content

panfrost: Add driver OpenCL C infrastructure

Mary Guillemard requested to merge marysaka/mesa:panfrost-clc into main

This adds driver OpenCL C support in Panfrost and is heavily based on @alyssa's CLC infra that exists in Asahi.

This MR implements the ability to compile OpenCL C down to a "NIR library" (NIR functions that can be called anywhere in the driver) and precompiled shader binaries (for each entrypoints and that can be dispatch directly)

Depends on !32962 (merged)

/cc @alyssa @karolherbst @bbrezillon @kusma @ericsmith

Edited by Mary Guillemard

Merge request reports

Loading