Skip to content

Commit

Permalink
Update xgl from commit 3def0891
Browse files Browse the repository at this point in the history
Update Khronos Vulkan Headers to 1.3.292
[CMake] Use FindPython3
Add missing post-command debug barrier on PipelineBarrier
Reserve userdata nodes to raytracing for empty layout
Fix compiler warning in Graphics Pipeline code.
Eliminate BindNullPipeline
Fix failure in VKD3D tests - test_renderpass_rendering
Add app profile for SeriousSam4
NV_DGC: GPU Memory Allocation
[Graphics Pipeline] Fix a typo for vertex input interface library
Delete old settings codegen template
NV_DGC: Custom Index Type
Use const reference for getting Pal::DeviceProperties
Support RRA UserMarker
Fix the wrong trace ray addr
Added new setting option expandHiZRangeForResummarize.
Added new app profile, setting and detection for RainbowSixExtraction
Fix component format
VK_KHR_maintenance7 - Driver Implementation
Report present support only on compute capable queues
Correct indenting in OverrideProfiledSettings in Settings.cpp
Use 0 as not ready for TimestampQuery
Added support for SRV
Fix TimestampQuery initialize value
Change continuations mode heuristic
Handle repeated #if in app_profile.h
Fix GetImageFormatProperties for FORMAT_NOT_SUPPORTED
split Ray Tracing task
Make DisablePatchInterpMode exposed
Enable vertex offset mode for LLPC
Support dynamic primitive topology for LLPC
Remove option UseShaderLibraryForPipelineLibraryFastLink
Fix vkQueueSubmit2 does not respect VkCommandBufferSubmitInfo::deviceMask
Update LLPC version to 74
Adding options to wait for vkDeviceWaitIdle() infinitely
Remove calling convention workaround for Doom Eternal
Workaround for Starfield game hang
Fix 7 Days to Die corruption
Update PAL Version to 887
ImageTilingPreference3dGpuWritable: Add a check for sparse images
Clean up ray tracing mode settings
NV_DGC: Token Offset
Fix textures missing in Starfield
  • Loading branch information
qiaojbao committed Aug 8, 2024
1 parent 5dd432a commit 8bf20dd
Show file tree
Hide file tree
Showing 79 changed files with 3,283 additions and 2,967 deletions.
14 changes: 4 additions & 10 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -210,19 +210,13 @@ string(APPEND CMAKE_CXX_FLAGS "${ICD_GCOV_COMPILE_FLAGS}")

### Generator Dependencies ############################################################################################
# Python3
find_package(PythonInterp 3)
if(NOT PYTHONINTERP_FOUND)
find_package(Python3 3.6)
if(NOT Python3_FOUND)
if(UNIX)
message(FATAL_ERROR "Python 3 is needed to generate some source files.")
endif()
else()
if(UNIX)
if(${PYTHON_VERSION_MINOR} LESS "6")
message(FATAL_ERROR "Python 3.6(CPython) or higher is needed to generate some source files.")
endif()
message(FATAL_ERROR "Python 3.6 or higher is needed to generate some source files.")
endif()
endif()
set(PYTHON_CMD ${PYTHON_EXECUTABLE})
set(PYTHON_CMD ${Python3_EXECUTABLE})

# Perl
find_package(Perl 5)
Expand Down
1 change: 1 addition & 0 deletions cmake/XglHelper.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -66,3 +66,4 @@ macro(xgl_append_gcov_coverage_flags)
message(FATAL_ERROR "Unknown compiler ID: ${CMAKE_CXX_COMPILER_ID}")
endif()
endmacro()

4 changes: 2 additions & 2 deletions cmake/XglVersions.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ include_guard()
# This will become the value of PAL_CLIENT_INTERFACE_MAJOR_VERSION. It describes the version of the PAL interface
# that the ICD supports. PAL uses this value to enable backwards-compatibility for older interface versions.
# It must be updated on each PAL promotion after handling all of the interface changes described in palLib.h.
set(ICD_PAL_CLIENT_MAJOR_VERSION "880")
set(ICD_PAL_CLIENT_MAJOR_VERSION "887")

# This will become the value of GPUOPEN_CLIENT_INTERFACE_MAJOR_VERSION if ICD_GPUOPEN_DEVMODE_BUILD=1.
# It describes the interface version of the gpuopen shared module (part of PAL) that the ICD supports.
Expand All @@ -42,4 +42,4 @@ set(ICD_GPURT_CLIENT_MAJOR_VERSION "46")

# This will become the value of LLPC_CLIENT_INTERFACE_MAJOR_VERSION if ICD_BUILD_LLPC=1.
# It describes the version of the interface version of LLPC that the ICD supports.
set(ICD_LLPC_CLIENT_MAJOR_VERSION "71")
set(ICD_LLPC_CLIENT_MAJOR_VERSION "74")
1 change: 1 addition & 0 deletions icd/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -170,6 +170,7 @@ if (VKI_RAY_TRACING)
api/raytrace/ray_tracing_device.cpp
api/vk_deferred_operation.cpp
api/appopt/bvh_batch_layer.cpp
api/appopt/split_raytracing_layer.cpp
)
endif()
#endif
Expand Down
4 changes: 2 additions & 2 deletions icd/Loader/LunarG/Lnx/amd-icd.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,13 @@
"file_format_version": "1.0.0",
"ICD": {
"library_path": "@AMDVLK_INSTALL_PATH@/amdvlk@[email protected]",
"api_version": "1.3.287"
"api_version": "1.3.292"
},
"layer": {
"name": "VK_LAYER_AMD_switchable_graphics_@ISABITS@",
"type": "GLOBAL",
"library_path": "@AMDVLK_INSTALL_PATH@/amdvlk@[email protected]",
"api_version": "1.3.287",
"api_version": "1.3.292",
"implementation_version": "1",
"description": "AMD switchable graphics layer",
"functions": {
Expand Down
52 changes: 27 additions & 25 deletions icd/api/app_profile.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -462,10 +462,10 @@ constexpr AppProfilePatternEntry AppNameRainbowSixSiege =
"rainbow six siege"
};

constexpr AppProfilePatternEntry AppNameHyperscape =
constexpr AppProfilePatternEntry AppNameRainbowSixExtraction =
{
PatternAppNameLower,
"hyperscape"
"rainbow six extraction"
};

constexpr AppProfilePatternEntry AppEngineScimitar =
Expand Down Expand Up @@ -546,12 +546,6 @@ constexpr AppProfilePatternEntry AppEngineUnity =
"unity"
};

constexpr AppProfilePatternEntry AppEngineAngle =
{
PatternEngineNameLower,
"angle"
};

constexpr AppProfilePatternEntry AppNameValheim =
{
PatternExeNameLower,
Expand Down Expand Up @@ -612,6 +606,12 @@ constexpr AppProfilePatternEntry AppNameHaloInfiniteLauncher
"haloinfinite.exe"
};

constexpr AppProfilePatternEntry AppNameStarfield
{
PatternAppNameLower,
"starfield.exe"
};

constexpr AppProfilePatternEntry AppNameTf2Win64
{
PatternAppNameLower,
Expand Down Expand Up @@ -1204,6 +1204,16 @@ AppProfilePattern AppPatternTable[] =
PatternEnd
}
},

{
AppProfile::RainbowSixExtraction,
{
AppNameRainbowSixExtraction,
AppEngineScimitar,
PatternEnd
}
},

{
AppProfile::KnockoutCity,
{
Expand All @@ -1219,15 +1229,6 @@ AppProfilePattern AppPatternTable[] =
}
},

{
AppProfile::Hyperscape,
{
AppNameHyperscape,
AppEngineScimitar,
PatternEnd
}
},

{
AppProfile::ScimitarEngine,
{
Expand Down Expand Up @@ -1360,14 +1361,6 @@ AppProfilePattern AppPatternTable[] =
},
#endif

{
AppProfile::AngleEngine,
{
AppEngineAngle,
PatternEnd
}
},

{
AppProfile::CSGO,
{
Expand Down Expand Up @@ -1427,6 +1420,15 @@ AppProfilePattern AppPatternTable[] =
}
},

{
AppProfile::Starfield,
{
AppNameStarfield,
AppEngineVKD3D,
PatternEnd
}
},

{
AppProfile::DxvkTf2,
{
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
{
"entries": [
{
"pattern": {
"ps": {
"codeHash": "0xdf44ae88f263605d 6d21f3936125b78b"
}
},
"action": {
"ps": {
"waveSize": 32
}
}
},
{
"pattern": {
"ps": {
"codeHash": "0x0d4d93d110132347 fc0524f24ac8b128"
}
},
"action": {
"ps": {
"useSiScheduler": true,
"nsaThreshold": 2
}
}
}
]
}
Loading

0 comments on commit 8bf20dd

Please sign in to comment.