Skip to content
Open
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: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ profiles/VP_LUNARG_desktop_baseline_2024.json
PROFILES.md
PROFILES_ALL.md
PROFILES_ANDROID.md
schema/profiles-0.8-latest.json
schema/profiles-0.9-latest.json
library/include/
library/source/
library/include/vulkan/vulkan_profiles.h
Expand Down
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,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

### Bugfixes:
- Fix profiles schema of generated profiles file with `gen_profiles_file.py` and using `--config`
Expand Down
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,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")

find_package(Python3 REQUIRED)

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
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"$schema": "https://schema.khronos.org/vulkan/profiles-0.8-latest.json#",
"$schema": "https://schema.khronos.org/vulkan/profiles-0.9-latest.json#",
"profiles": {
"VP_GPUINFO_AMD_Radeon_Pro_560_0_2_2010_osx_12_6": {
"version": 1,
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"$schema": "https://schema.khronos.org/vulkan/profiles-0.8-latest.json#",
"$schema": "https://schema.khronos.org/vulkan/profiles-0.9-latest.json#",
"profiles": {
"VP_GPUINFO_AMD_Radeon_RX_7800_XT_2_0_294_windows_11": {
"version": 1,
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"$schema": "https://schema.khronos.org/vulkan/profiles-0.8-latest.json#",
"$schema": "https://schema.khronos.org/vulkan/profiles-0.9-latest.json#",
"profiles": {
"VP_GPUINFO_Apple_M1_0_2_2015_osx_14_3": {
"version": 1,
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"$schema": "https://schema.khronos.org/vulkan/profiles-0.8-latest.json#",
"$schema": "https://schema.khronos.org/vulkan/profiles-0.9-latest.json#",
"profiles": {
"VP_GPUINFO_Apple_M3_Max_0_2_2015_osx_14_1": {
"version": 1,
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"$schema": "https://schema.khronos.org/vulkan/profiles-0.8-latest.json#",
"$schema": "https://schema.khronos.org/vulkan/profiles-0.9-latest.json#",
"profiles": {
"VP_GPUINFO_Intel_R__Arc_tm__A380_Graphics__DG2__24_0_99_opensuse_tumbleweed_20240213": {
"version": 1,
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"$schema": "https://schema.khronos.org/vulkan/profiles-0.8-latest.json#",
"$schema": "https://schema.khronos.org/vulkan/profiles-0.9-latest.json#",
"profiles": {
"VP_GPUINFO_Intel_R__Arc_TM__A770_Graphics_0_405_1234_windows_11": {
"version": 1,
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"$schema": "https://schema.khronos.org/vulkan/profiles-0.8-latest.json#",
"$schema": "https://schema.khronos.org/vulkan/profiles-0.9-latest.json#",
"profiles": {
"VP_GPUINFO_NVIDIA_GeForce_RTX_4070_551_61_0_0_windows_11": {
"version": 1,
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"$schema": "https://schema.khronos.org/vulkan/profiles-0.8-latest.json#",
"$schema": "https://schema.khronos.org/vulkan/profiles-0.9-latest.json#",
"profiles": {
"VP_GPUINFO_AMD_Radeon_RX_7800_XT_2_0_294_windows_11": {
"version": 1,
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"$schema": "https://schema.khronos.org/vulkan/profiles-0.8-latest.json#",
"$schema": "https://schema.khronos.org/vulkan/profiles-0.9-latest.json#",
"profiles": {
"VP_GPUINFO_AMD_Radeon_RX_7800_XT__RADV_NAVI32__24_0_99_arch_unknown": {
"version": 1,
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"$schema": "https://schema.khronos.org/vulkan/profiles-0.8-latest.json#",
"$schema": "https://schema.khronos.org/vulkan/profiles-0.9-latest.json#",
"profiles": {
"VP_GPUINFO_Apple_M1_0_2_2015_osx_14_3": {
"version": 1,
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"$schema": "https://schema.khronos.org/vulkan/profiles-0.8-latest.json#",
"$schema": "https://schema.khronos.org/vulkan/profiles-0.9-latest.json#",
"profiles": {
"VP_GPUINFO_Apple_M3_Max_0_2_2015_osx_14_1": {
"version": 1,
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"$schema": "https://schema.khronos.org/vulkan/profiles-0.8-latest.json#",
"$schema": "https://schema.khronos.org/vulkan/profiles-0.9-latest.json#",
"profiles": {
"VP_GPUINFO_Intel_R__Arc_tm__A380_Graphics__DG2__24_0_99_opensuse_tumbleweed_20240213": {
"version": 1,
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"$schema": "https://schema.khronos.org/vulkan/profiles-0.8-latest.json#",
"$schema": "https://schema.khronos.org/vulkan/profiles-0.9-latest.json#",
"profiles": {
"VP_GPUINFO_Intel_R__Arc_TM__A770_Graphics_0_405_1234_windows_11": {
"version": 1,
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"$schema": "https://schema.khronos.org/vulkan/profiles-0.8-latest.json#",
"$schema": "https://schema.khronos.org/vulkan/profiles-0.9-latest.json#",
"profiles": {
"VP_GPUINFO_NVIDIA_GeForce_RTX_4070_551_61_0_0_windows_11": {
"version": 1,
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"$schema": "https://schema.khronos.org/vulkan/profiles-0.8-latest.json#",
"$schema": "https://schema.khronos.org/vulkan/profiles-0.9-latest.json#",
"profiles": {
"VP_GPUINFO_AMD_Radeon_RX_6800_XT_2_0_283_windows_11": {
"version": 1,
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"$schema": "https://schema.khronos.org/vulkan/profiles-0.8-latest.json#",
"$schema": "https://schema.khronos.org/vulkan/profiles-0.9-latest.json#",
"profiles": {
"VP_GPUINFO_Intel_R__Arc_tm__A750_Graphics__DG2__23_2_99_arch_unknown": {
"version": 1,
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"$schema": "https://schema.khronos.org/vulkan/profiles-0.8-latest.json#",
"$schema": "https://schema.khronos.org/vulkan/profiles-0.9-latest.json#",
"profiles": {
"VP_GPUINFO_NVIDIA_GeForce_RTX_2060_537_59_0_0_windows_11": {
"version": 1,
Expand Down
Loading
Loading