Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,8 @@

### Features:
- Add `profiles.py` python script, to pull dependent extensions into a source profiles file (ALPHA)
- Add capabilities dependences in JSON schema, version 0.9
- Add capabilities dependences in minimum requirements profiles
- Add the generated `VP_LUNARG_desktop_baseline_2026` profile

### Bugfixes:
Expand Down
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ if (BUILD_TESTS_EXTRA)
add_definitions(-DVKU_FORCE_EXTRA_TESTS)
endif()

set(PROFILES_SCHEMA_FILENAME "profiles-0.8-latest.json")
set(PROFILES_SCHEMA_FILENAME "profiles-0.9-latest.json")

# Generate profiles executable
function(add_pyinstaller_target TARGET_NAME)
Expand Down
4 changes: 2 additions & 2 deletions layer/profiles_json.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -54,11 +54,11 @@ JsonValidator::~JsonValidator() {

bool JsonValidator::Init() {
#ifdef __APPLE__
const std::string schema_path = "/usr/local/share/vulkan/registry/profiles-0.8-latest.json";
const std::string schema_path = "/usr/local/share/vulkan/registry/profiles-0.9-latest.json";
#else
const char *sdk_path = std::getenv("VULKAN_SDK");
if (sdk_path == nullptr) return false;
const std::string schema_path = std::string(sdk_path) + "/share/vulkan/registry/profiles-0.8-latest.json";
const std::string schema_path = std::string(sdk_path) + "/share/vulkan/registry/profiles-0.9-latest.json";
#endif

if (!schema) {
Expand Down
Loading
Loading