Skip to content
This repository was archived by the owner on Aug 10, 2026. It is now read-only.
This repository was archived by the owner on Aug 10, 2026. It is now read-only.

Compiling issues #1

Open
Open

Description

@boberfly

Hello,

I tried compiling and found that SDL3 didn't build (I replaced the extern/sdl directory to https://github.com/libsdl-org/SDL/releases/tag/release-3.2.26 and this fixed things).

I then needed to add compile_shader("${SHADER_DIR}/final.slang") to https://github.com/mxcop/src-dgi/blob/main/assets/CMakeLists.txt so the example executable can find final.slang.spv.

At this point I get the issue:

-------------------------------- session --------------------------------
(23-11-2025|14:08:35): info: [graphics] selected physical device: AMD Radeon RX 6800M (v1.4.315)
(23-11-2025|14:08:35): info: [graphics] loaded primary compute shader module.
(23-11-2025|14:08:35): info: [graphics] initialized primary pipeline.
(23-11-2025|14:08:35): info: [graphics] loaded surfel counting compute shader module.
(23-11-2025|14:08:35): info: [graphics] initialized surfel counting pipeline.
(23-11-2025|14:08:35): info: [graphics] loaded surfel prefix sum compute shader modules.
(23-11-2025|14:08:35): info: [graphics] initialized surfel prefix sum pipeline.
(23-11-2025|14:08:35): info: [graphics] loaded surfel acceleration compute shader module.
(23-11-2025|14:08:35): info: [graphics] initialized surfel acceleration pipeline.
(23-11-2025|14:08:35): info: [graphics] loaded surfel spawn compute shader module.
(23-11-2025|14:08:35): info: [graphics] initialized surfel spawn pipeline.
(23-11-2025|14:08:35): info: [graphics] loaded surfel gather compute shader module.
(23-11-2025|14:08:35): info: [graphics] initialized surfel gather pipeline.
(23-11-2025|14:08:35): info: [graphics] loaded surfel merge compute shader module.
(23-11-2025|14:08:35): info: [graphics] initialized surfel merge pipeline.
(23-11-2025|14:08:35): info: [graphics] loaded surfel composite compute shader module.
(23-11-2025|14:08:35): info: [graphics] initialized surfel composite pipeline.
(23-11-2025|14:08:35): info: [graphics] loaded surfel recycle compute shader module.
(23-11-2025|14:08:35): info: [graphics] initialized surfel recycle pipeline.
(23-11-2025|14:08:35): info: [graphics] loaded surfel draw compute shader module.
(23-11-2025|14:08:35): info: [graphics] initialized surfel draw pipeline.
(23-11-2025|14:08:35): info: [graphics] loaded surfel heatmap compute shader module.
(23-11-2025|14:08:35): info: [graphics] initialized surfel heatmap pipeline.
(23-11-2025|14:08:35): info: [graphics] loaded ground truth compute shader module.
(23-11-2025|14:08:35): info: [graphics] initialized ground truth pipeline.
(23-11-2025|14:08:35): info: [graphics] loaded final shader modules.
(23-11-2025|14:08:35): critical: [graphics] failed to create final graphics pipeline.
(23-11-2025|14:08:35): info: [graphics] initialized overlay pipeline.
(23-11-2025|14:08:35): info: [graphics] initialized device & renderer.

And currently stuck here.

Kind regards

Activity

  1. yhyu13 commented on Mar 15, 2026

    @yhyu13

    Thanks for mentioning these issues, i ran into same issue and same fixs like yours.
    The final.slang does not "main". seems the author was hidding the final step or the project is not finished

  2. mxcop commented on Aug 10, 2026

    @mxcop
    Owner

    Hey, sorry for the very late reaction, I've been very busy working on other projects recently.
    I must've changed the shader in the past without recompiling it, it still worked for me locally because I had the SPIR-V file around. I just pushed a fix that should make it work again.

    I just had to make it compile final.slang again, and change the entry point names inside the final.cpp pipeline.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions