Skip to content
This repository was archived by the owner on Sep 15, 2025. It is now read-only.

Commit f140933

Browse files
committed
Update xgl from commit 6d0175e6
Update Khronos Vulkan Headers to 1.4.304 Update backend stack size from libraries Fix the supported cooperative matrix types Change the format of Mall policy Fix the transition for color planar attachments (YUV) Avoid an assert if a backup cmd buffer is used Avoid an assert in render pass sync Fully initialize stack-allocated PAL structs Performance tuning for yquake2 Hook up forceNonUniformDescriptorIndex VK_EXT_device_generated_commands - Driver implementation Update PAL Version 911 Remove redundant logic in GraphicsPipelineCommon::GetActiveShaderStages Update XGL to API instrumentation version 5 Enable descriptorBufferCaptureReplay Fix ReportLargeLocalHeapForApu setting not applied correctly
1 parent 62710fd commit f140933

37 files changed

Lines changed: 419 additions & 314 deletions

cmake/Modules/FindDRM.cmake

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
##
22
#######################################################################################################################
33
#
4-
# Copyright (c) 2024 Advanced Micro Devices, Inc. All Rights Reserved.
4+
# Copyright (c) 2025 Advanced Micro Devices, Inc. All Rights Reserved.
55
#
66
# Permission is hereby granted, free of charge, to any person obtaining a copy
77
# of this software and associated documentation files (the "Software"), to deal

cmake/Modules/FindKernelHeaders.cmake

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
##
22
#######################################################################################################################
33
#
4-
# Copyright (c) 2024 Advanced Micro Devices, Inc. All Rights Reserved.
4+
# Copyright (c) 2025 Advanced Micro Devices, Inc. All Rights Reserved.
55
#
66
# Permission is hereby granted, free of charge, to any person obtaining a copy
77
# of this software and associated documentation files (the "Software"), to deal

cmake/Modules/FindXCB.cmake

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
##
22
#######################################################################################################################
33
#
4-
# Copyright (c) 2024 Advanced Micro Devices, Inc. All Rights Reserved.
4+
# Copyright (c) 2025 Advanced Micro Devices, Inc. All Rights Reserved.
55
#
66
# Permission is hereby granted, free of charge, to any person obtaining a copy
77
# of this software and associated documentation files (the "Software"), to deal

cmake/Modules/XglSetupAmdGlobalRoots.cmake

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
##
22
#######################################################################################################################
33
#
4-
# Copyright (c) 2024 Advanced Micro Devices, Inc. All Rights Reserved.
4+
# Copyright (c) 2025 Advanced Micro Devices, Inc. All Rights Reserved.
55
#
66
# Permission is hereby granted, free of charge, to any person obtaining a copy
77
# of this software and associated documentation files (the "Software"), to deal

cmake/XglCompileDefinitions.cmake

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
##
22
#######################################################################################################################
33
#
4-
# Copyright (c) 2017-2024 Advanced Micro Devices, Inc. All Rights Reserved.
4+
# Copyright (c) 2017-2025 Advanced Micro Devices, Inc. All Rights Reserved.
55
#
66
# Permission is hereby granted, free of charge, to any person obtaining a copy
77
# of this software and associated documentation files (the "Software"), to deal
@@ -58,6 +58,10 @@ macro(xgl_set_compile_definitions)
5858
endif()
5959
#endif
6060

61+
if(VKI_SDK_NEXT)
62+
target_compile_definitions(xgl PRIVATE VKI_SDK_NEXT)
63+
endif()
64+
6165
target_compile_definitions(xgl PRIVATE PAL_BUILD_GFX9=1)
6266

6367
#if VKI_BUILD_GFX115

cmake/XglOptions.cmake

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
##
22
#######################################################################################################################
33
#
4-
# Copyright (c) 2017-2024 Advanced Micro Devices, Inc. All Rights Reserved.
4+
# Copyright (c) 2017-2025 Advanced Micro Devices, Inc. All Rights Reserved.
55
#
66
# Permission is hereby granted, free of charge, to any person obtaining a copy
77
# of this software and associated documentation files (the "Software"), to deal
@@ -39,6 +39,8 @@ macro(xgl_options)
3939
option(VKI_DEVMODE_COMPILER_SETTINGS "Build with devmode compiler settings?" OFF)
4040
#endif
4141

42+
option(VKI_SDK_NEXT "Build with Vulkan 1.4 support" ON)
43+
4244
option(VKI_ENABLE_PRINTS_ASSERTS "Build with debug print enabled?" OFF)
4345

4446
option(VKI_ENABLE_LTO "Build with LTO enabled?" ON)

cmake/XglVersions.cmake

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
##
22
#######################################################################################################################
33
#
4-
# Copyright (c) 2022-2024 Advanced Micro Devices, Inc. All Rights Reserved.
4+
# Copyright (c) 2022-2025 Advanced Micro Devices, Inc. All Rights Reserved.
55
#
66
# Permission is hereby granted, free of charge, to any person obtaining a copy
77
# of this software and associated documentation files (the "Software"), to deal
@@ -30,7 +30,7 @@ include_guard()
3030
# This will become the value of PAL_CLIENT_INTERFACE_MAJOR_VERSION. It describes the version of the PAL interface
3131
# that the ICD supports. PAL uses this value to enable backwards-compatibility for older interface versions.
3232
# It must be updated on each PAL promotion after handling all of the interface changes described in palLib.h.
33-
set(VKI_PAL_CLIENT_MAJOR_VERSION "910")
33+
set(VKI_PAL_CLIENT_MAJOR_VERSION "911")
3434

3535
# This will become the value of GPUOPEN_CLIENT_INTERFACE_MAJOR_VERSION.
3636
# It describes the interface version of the gpuopen shared module (part of PAL) that the ICD supports.

icd/Loader/LunarG/Lnx/amd-icd.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,13 @@
22
"file_format_version": "1.0.0",
33
"ICD": {
44
"library_path": "@AMDVLK_INSTALL_PATH@/amdvlk@ISABITS@.so",
5-
"api_version": "1.4.303"
5+
"api_version": "1.4.304"
66
},
77
"layer": {
88
"name": "VK_LAYER_AMD_switchable_graphics_@ISABITS@",
99
"type": "GLOBAL",
1010
"library_path": "@AMDVLK_INSTALL_PATH@/amdvlk@ISABITS@.so",
11-
"api_version": "1.4.303",
11+
"api_version": "1.4.304",
1212
"implementation_version": "1",
1313
"description": "AMD switchable graphics layer",
1414
"functions": {

icd/api/app_profile.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/*
22
***********************************************************************************************************************
33
*
4-
* Copyright (c) 2014-2024 Advanced Micro Devices, Inc. All Rights Reserved.
4+
* Copyright (c) 2014-2025 Advanced Micro Devices, Inc. All Rights Reserved.
55
*
66
* Permission is hereby granted, free of charge, to any person obtaining a copy
77
* of this software and associated documentation files (the "Software"), to deal
@@ -79,7 +79,7 @@ struct AppProfilePatternEntry
7979
text("") { }
8080

8181
AppProfilePatternType type; // Type of pattern to match against
82-
// Text to compare against.
82+
8383
union
8484
{
8585
const char* text;

icd/api/graphics_pipeline_common.cpp

Lines changed: 1 addition & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/*
22
***********************************************************************************************************************
33
*
4-
* Copyright (c) 2021-2024 Advanced Micro Devices, Inc. All Rights Reserved.
4+
* Copyright (c) 2021-2025 Advanced Micro Devices, Inc. All Rights Reserved.
55
*
66
* Permission is hereby granted, free of charge, to any person obtaining a copy
77
* of this software and associated documentation files (the "Software"), to deal
@@ -444,25 +444,6 @@ VkShaderStageFlagBits GraphicsPipelineCommon::GetActiveShaderStages(
444444
}
445445
}
446446

447-
activeStageMask = static_cast<VkShaderStageFlagBits>(0);
448-
449-
if (pLibInfo->libFlags & VK_GRAPHICS_PIPELINE_LIBRARY_PRE_RASTERIZATION_SHADERS_BIT_EXT)
450-
{
451-
activeStageMask = static_cast<VkShaderStageFlagBits>(activeStageMask |
452-
VK_SHADER_STAGE_TASK_BIT_EXT |
453-
VK_SHADER_STAGE_MESH_BIT_EXT |
454-
VK_SHADER_STAGE_VERTEX_BIT |
455-
VK_SHADER_STAGE_TESSELLATION_CONTROL_BIT |
456-
VK_SHADER_STAGE_TESSELLATION_EVALUATION_BIT |
457-
VK_SHADER_STAGE_GEOMETRY_BIT);
458-
}
459-
if (pLibInfo->libFlags & VK_GRAPHICS_PIPELINE_LIBRARY_FRAGMENT_SHADER_BIT_EXT)
460-
{
461-
activeStageMask = static_cast<VkShaderStageFlagBits>(activeStageMask | VK_SHADER_STAGE_FRAGMENT_BIT);
462-
}
463-
464-
activeStages = static_cast<VkShaderStageFlagBits>(activeStages & activeStageMask);
465-
466447
return activeStages;
467448
}
468449

0 commit comments

Comments
 (0)