mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-22 15:18:09 +02:00
This is a small command line utility to generate NIR bindings for a SPIR-V library, using vtn's infrastructure for this. This is split out from asahi_clc in an effort to make clc more modular. Notably, this tool does not depend on: * LLVM, SPIRV-LLVM, CLC, etc (important for Android, and gets us closer to the clang spir-v future) * Driver details other than addressing modes (which are already largely hardcoded, setting them to anything else doesn't make a ton of sense for CL C) * The driver itself, or its backend compiler. That means that the backend compiler can depend on the generated bindings header, even if the compiler is also used for internal shader precompiling. This breaks the dep loop. So in short term, this solves the dependency problem for asahi, and in the long term helps more drivers use clc infrastructure without re-rolling things themselves. Signed-off-by: Alyssa Rosenzweig <alyssa@rosenzweig.io> Reviewed-by: Konstantin Seurer <konstantin.seurer@gmail.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/32226> |
||
|---|---|---|
| .. | ||
| clc | ||
| glsl | ||
| isaspec | ||
| nir | ||
| rust | ||
| spirv | ||
| builtin_types.py | ||
| builtin_types_c.py | ||
| builtin_types_h.py | ||
| glsl_types.c | ||
| glsl_types.h | ||
| meson.build | ||
| shader_enums.c | ||
| shader_enums.h | ||
| shader_info.h | ||