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

Make vulkan SDK dependency to be optional #9

Merged
merged 2 commits into from
Mar 21, 2019

Conversation

yl-msft
Copy link
Contributor

@yl-msft yl-msft commented Mar 19, 2019

No description provided.

Also allow the linux version of hello_xr to build without Vulkan libraries present.
Copy link
Contributor

@daveh-lunarg daveh-lunarg left a comment

Choose a reason for hiding this comment

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

This looks like a good change - not sure why Vulkan was an unconditional requirement.

I added the same conditional Vulkan lib for helloxr on Linux, and built it successfully on a Vulkan-less box.

@daveh-lunarg
Copy link
Contributor

Added a commit to do the same conditional Vulkan link on linux systems. HelloXR builds fine on a linux system without Vulkan, and I think it'll run on a system with just OpenGL - but not 100% certain. If anyone knows that Vulkan linkage should be required unconditionally on linux, chime in and I'll remove my commit from this PR.

I'll let this simmer a couple days to see if anyone weighs in, then push it. @yl-msft, I assume there's no time pressure to merge this right away?

@rpavlik
Copy link
Contributor

rpavlik commented Mar 20, 2019

Fwiw, I don't know about building, but it definitely runs fine in a vulkan only mode (no opengl) on Linux, that was most of our demos 😁

@yl-msft
Copy link
Contributor Author

yl-msft commented Mar 21, 2019

@daveh-lunarg should this change be merged?

@daveh-lunarg daveh-lunarg merged commit 511b1e1 into KhronosGroup:master Mar 21, 2019
rpavlik added a commit that referenced this pull request May 9, 2019
No API changes, and only minimal consistency changes to the spec/registry.
Mostly an update for tooling, layers, loader, and sample code.
Header version has been bumped to 43, but no symbols that should have actually been in use have changed.

### GitHub Pull Requests

These had been integrated into the public repo incrementally.

- General, Build, Other
  - #8, #11, #12 - Improve BUILDING and README
  - #9 - Make Vulkan SDK dependency optional
  - #17 - Add install target to CMake files
  - #17 - API dump layer, build: timespec extension fixes
  - #19 - build: fix CMAKE_PRESENTATION_BACKEND default on linux
  - #34 - list: Fix list test output
- validation layer
  - #18, #22, #23 - Fix build and execution
  - #24 - Fix crash and refactor
- hello_xr
  - #13 - Do not query GL context API version before creating context
  - #26 - Fix a warning
- Loader
  - #3 - Don't cross 32/64 registry silos
  - #14 - Initialize XrExtensionProperties array parameter for rt_xrEnumerateInstanceExtensionProperties
  - #20 - Fix Linux manifest file search
  - #30 - Add default implementations of API functions to dispatch chains
  - #32 - Avoid crash when evaluating layer disable environment vars
  - #35 - Add 'unknown' strings to loader's *ToString fallback functions
  - #36 - Allow null instance in xrGetInstanceProcAddr() for certain entry points
  - #39 - Default to static loader only on Windows

### Internal Issues

- General, Build, Other
  - Unify (for the most part) the OpenXR and Vulkan generator scripts. (internal MR 1166)
  - List instance extensions in the "list" test. (internal MR 1169)
  - Avoid dllexport for all apps compiled with `openxr_platform_defines.h` (internal MR 1187)
  - Don't offer `BUILD_SPECIFICATION` unless the spec makefile is there. (internal MR 1179)
  - Add simple input example to hello_xr. (internal MR 1178)
  - Add a clang-format script for ease of development.
- API Registry and Headers
  - Remove impossible and undocumented error codes. (internal MR 1185 and 1189)
  - Mark layers in `XrFrameEndInfo` as optional. (internal MR 1151, internal issue 899)
  - Remove unused windows types from `openxr_platform.h` (internal MR 1197)
  - Make `openxr_platform.h` include `openxr.h` on which it depends. (internal MR 1140, internal issue 918)
  - Remove unused, undocumented defines. (internal MR 1238, internal issue 1012)
- Loader
  - Fix loader regkey search logic so 64bit application loads 64bit regkey value. (internal MR 1180)
  - Modify loader to be friendly to UWP (Universal Windows Platform) build target. (internal MR 1198)
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.

None yet

3 participants