libretro / libretro/RetroArch

[feature request] allow building using system spirv-cross

Open
#17,079 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
C
Stars
14.1k
Forks
2.2k
Avg merge
7h 35m
Merged PRs (30d)
51

Description

Description

Currently, vulkan supports depend on using the 22 MiB bundled spirv-cross source under deps/.

Expected behavior

I'd like a switch to --enable-systemspirv_cross (or should it be --disable-builtinspirv_cross? I wanted to implement it but was confused about that).

Actual behavior

Only bundled source can be selected. If disabled, vulkan backend is no longer available.

  • RetroArch: latest from master
Environment information
  • OS: Guix System (GNU/Linux)
  • Compiler: GCC 11

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by tracing the Vulkan backend's dependency handling and the bundled spirv-cross source under deps/. Identify where the build option is defined and how disabling the bundled dependency currently removes Vulkan support. Done means a system spirv-cross can be selected while the bundled source remains the default and the Vulkan backend stays available.

Written by the indexing model from the issue text.

Assessment

Tech stack
c
Domain
build-system
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.