Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cube: Check in SPIRV code #859

Merged
merged 1 commit into from
Sep 19, 2023

Conversation

charles-lunarg
Copy link
Contributor

The shader code used by vkcube & vkcubepp is now checked into the source. This prevents users from needing a version of glslang on the system in order to build the project. While the existing mechanism of fetching a glslang binary from github was adequate, the version used linked to VS 2013 which caused build failures with rather cryptic linker errors. Since changing the shaders happens very infrequently, the decision has been made to check in the spir-v code.

The CMake logic to compile the shaders remainds, but is put behind a new build flag COMPILE_CUBE_SHADERS.

The shader code used by vkcube & vkcubepp is now checked into the source.
This prevents users from needing a version of glslang on the system in
order to build the project. While the existing mechanism of fetching a
glslang binary from github was adequate, the version used linked to
VS 2013 which caused build failures with rather cryptic linker errors.
Since changing the shaders happens very infrequently, the decision has
been made to check in the spir-v code.

The CMake logic to compile the shaders remainds, but is put behind a
new build flag COMPILE_CUBE_SHADERS.
@ci-tester-lunarg
Copy link

CI Vulkan-Tools build queued with queue ID 45131.

@ci-tester-lunarg
Copy link

CI Vulkan-Tools build # 1131 running.

@ci-tester-lunarg
Copy link

CI Vulkan-Tools build # 1131 passed.

Copy link
Contributor

@TonyBarbour TonyBarbour left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@charles-lunarg charles-lunarg merged commit 1ecbed6 into KhronosGroup:main Sep 19, 2023
15 checks passed
@charles-lunarg charles-lunarg deleted the checkin_cube_spirv branch September 19, 2023 16:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants