|
226 | 226 | "settings": [ |
227 | 227 | { |
228 | 228 | "key": "profile_dirs", |
229 | | - "label": "Profiles Directories", |
230 | | - "description": "Select the location all the profiles.", |
| 229 | + "label": "Profiles Directory", |
| 230 | + "description": "Select the location of all the profiles.", |
231 | 231 | "type": "LOAD_FOLDER", |
232 | 232 | "format": "PROFILE", |
233 | 233 | "default": "", |
|
1273 | 1273 | "DEBUG_REPORT_WARNING_BIT", |
1274 | 1274 | "DEBUG_REPORT_ERROR_BIT" |
1275 | 1275 | ] |
| 1276 | + }, |
| 1277 | + { |
| 1278 | + "key": "generate_profile", |
| 1279 | + "label": "Generate Profile File", |
| 1280 | + "description": "Force the Physical Device identified by the device UUID.", |
| 1281 | + "status": "STATUS", |
| 1282 | + "type": "COMMAND", |
| 1283 | + "command": "${PYTHON} ${gen_profile_file} --registry ${registry} --input ${gen_profile_input_dir} --output-path ${gen_profile_output_dir} --output-profile ${gen_profile_output_name} --profile-label ${gen_profile_label} --profile-desc ${gen_profile_desc} --profile-date ${gen_profile_date} --profile-stage ${gen_profile_stage} --profile-api-version ${gen_profile_api_version}", |
| 1284 | + "platforms": [ "WINDOWS", "LINUX", "MACOS" ], |
| 1285 | + "settings": [ |
| 1286 | + { |
| 1287 | + "key": "gen_profile_file", |
| 1288 | + "label": "Vulkan Profile Merge Script", |
| 1289 | + "description": "Select the location of the Vulkan profiles merge script.", |
| 1290 | + "type": "LOAD_FILE", |
| 1291 | + "default": "${VULKAN_SDK}/share/vulkan/registry/gen_profiles_file.py" |
| 1292 | + }, |
| 1293 | + { |
| 1294 | + "key": "registry", |
| 1295 | + "label": "Vulkan Profile Merge Script", |
| 1296 | + "description": "Select the location of the Vulkan profiles merge script.", |
| 1297 | + "type": "LOAD_FILE", |
| 1298 | + "default": "${VULKAN_SDK}/share/vulkan/registry/vk.xml" |
| 1299 | + }, |
| 1300 | + { |
| 1301 | + "key": "gen_profile_input_dir", |
| 1302 | + "label": "Profiles Input Directory", |
| 1303 | + "description": "Select the location of the source profiles.", |
| 1304 | + "type": "LOAD_FOLDER", |
| 1305 | + "default": "" |
| 1306 | + }, |
| 1307 | + { |
| 1308 | + "key": "gen_profile_output_dir", |
| 1309 | + "label": "Profiles Output Directory", |
| 1310 | + "description": "Select the location of the source profiles.", |
| 1311 | + "type": "SAVE_FOLDER", |
| 1312 | + "default": "" |
| 1313 | + }, |
| 1314 | + { |
| 1315 | + "key": "gen_profile_output_name", |
| 1316 | + "label": "Label", |
| 1317 | + "description": "Select the location of the source profiles.", |
| 1318 | + "type": "STRING", |
| 1319 | + "default": "VP_LUNARG_my_generated_profile" |
| 1320 | + }, |
| 1321 | + { |
| 1322 | + "key": "gen_profile_label", |
| 1323 | + "label": "Label", |
| 1324 | + "description": "Select the location of the source profiles.", |
| 1325 | + "type": "STRING", |
| 1326 | + "default": "" |
| 1327 | + }, |
| 1328 | + { |
| 1329 | + "key": "gen_profile_desc", |
| 1330 | + "label": "Description", |
| 1331 | + "description": "Select the location of the source profiles.", |
| 1332 | + "type": "STRING", |
| 1333 | + "default": "" |
| 1334 | + }, |
| 1335 | + { |
| 1336 | + "key": "gen_profile_date", |
| 1337 | + "label": "Release Date", |
| 1338 | + "description": "Select the location of the source profiles.", |
| 1339 | + "type": "DATE", |
| 1340 | + "default": "" |
| 1341 | + }, |
| 1342 | + { |
| 1343 | + "key": "gen_profile_stage", |
| 1344 | + "label": "Development Stage", |
| 1345 | + "description": "Select the location of the source profiles.", |
| 1346 | + "type": "ENUM", |
| 1347 | + "default": "STABLE", |
| 1348 | + "flags": [ |
| 1349 | + { |
| 1350 | + "key": "PROFILE_STABLE", |
| 1351 | + "label": "STABLE", |
| 1352 | + "description": "Stable Development Stage." |
| 1353 | + }, |
| 1354 | + { |
| 1355 | + "key": "PROFILE_BETA", |
| 1356 | + "label": "BETA", |
| 1357 | + "description": "Beta Development Stage." |
| 1358 | + }, |
| 1359 | + { |
| 1360 | + "key": "PROFILE_ALPHA", |
| 1361 | + "label": "ALPHA", |
| 1362 | + "description": "Alpha Development Stage." |
| 1363 | + }, |
| 1364 | + { |
| 1365 | + "key": "PROFILE_DEPRECATED", |
| 1366 | + "label": "DEPRECATED", |
| 1367 | + "description": "Deprecated Development Stage." |
| 1368 | + } |
| 1369 | + ] |
| 1370 | + }, |
| 1371 | + { |
| 1372 | + "key": "gen_profile_api_version", |
| 1373 | + "label": "API version", |
| 1374 | + "description": "Select the location of the source profiles.", |
| 1375 | + "type": "STRING", |
| 1376 | + "default": "" |
| 1377 | + } |
| 1378 | + ] |
| 1379 | + }, |
| 1380 | + { |
| 1381 | + "key": "generate_library", |
| 1382 | + "label": "Generate Profile API Library", |
| 1383 | + "description": "Force the Physical Device identified by the device UUID.", |
| 1384 | + "status": "STATUS", |
| 1385 | + "type": "COMMAND", |
| 1386 | + "command": "${PYTHON} ${gen_profile_solution} --registry ${registry} --input ${gen_profile_input_dir} --output-library-inc ${gen_profile_library_output} --config ${gen_profile_config}", |
| 1387 | + "platforms": [ "WINDOWS", "LINUX", "MACOS" ], |
| 1388 | + "settings": [ |
| 1389 | + { |
| 1390 | + "key": "gen_profile_solution", |
| 1391 | + "label": "Vulkan Profile API library script", |
| 1392 | + "description": "Select the location of the Vulkan profiles merge script.", |
| 1393 | + "type": "LOAD_FILE", |
| 1394 | + "default": "${VULKAN_SDK}/share/vulkan/registry/gen_profiles_solution.py" |
| 1395 | + }, |
| 1396 | + { |
| 1397 | + "key": "registry", |
| 1398 | + "label": "Vulkan Profile Merge Script", |
| 1399 | + "description": "Select the location of the Vulkan profiles merge script.", |
| 1400 | + "type": "LOAD_FILE", |
| 1401 | + "default": "${VULKAN_SDK}/share/vulkan/registry/vk.xml" |
| 1402 | + }, |
| 1403 | + { |
| 1404 | + "key": "gen_profile_input_dir", |
| 1405 | + "label": "Profiles Input Directory", |
| 1406 | + "description": "Select the location of the source profiles.", |
| 1407 | + "type": "LOAD_FOLDER", |
| 1408 | + "default": "" |
| 1409 | + }, |
| 1410 | + { |
| 1411 | + "key": "gen_profile_library_output", |
| 1412 | + "label": "Profiles Output Directory", |
| 1413 | + "description": "Select the location of the source profiles.", |
| 1414 | + "type": "SAVE_FOLDER", |
| 1415 | + "default": "" |
| 1416 | + }, |
| 1417 | + { |
| 1418 | + "key": "gen_profile_config", |
| 1419 | + "label": "Generation Configuration", |
| 1420 | + "description": "Select the location of the source profiles.", |
| 1421 | + "type": "ENUM", |
| 1422 | + "default": "RELEASE", |
| 1423 | + "flags": [ |
| 1424 | + { |
| 1425 | + "key": "PROFILE_CONFIG_RELEASE", |
| 1426 | + "label": "RELEASE", |
| 1427 | + "description": "Release Build." |
| 1428 | + }, |
| 1429 | + { |
| 1430 | + "key": "PROFILE_CONFIG_DEBUG", |
| 1431 | + "label": "DEBUG", |
| 1432 | + "description": "Debug Build." |
| 1433 | + } |
| 1434 | + ] |
| 1435 | + }, |
| 1436 | + { |
| 1437 | + "key": "gen_profile_api_version", |
| 1438 | + "label": "API version", |
| 1439 | + "description": "Select the location of the source profiles.", |
| 1440 | + "type": "STRING", |
| 1441 | + "default": "" |
| 1442 | + } |
| 1443 | + ] |
1276 | 1444 | } |
1277 | 1445 | ] |
1278 | 1446 | } |
|
0 commit comments