Skip to content

Commit

Permalink
Update xgl from commit 980233f5
Browse files Browse the repository at this point in the history
Update Khronos Vulkan Headers to 1.3.295
Remove fastBuildThreshold setting
Fix missing SQTT calls in dynamic render pass functions
Correct the pNewMode->palScreenMode.refreshRate
Fix PAL_ASSERT in GetGraphicsPipelineSize
Define vkCmdDrawIndirectCount and vkCmdDrawIndexedIndirectCount in SQTT layer
Cleanup XGL warnings
Add tuning profile for Rainbowsix Extraction on Navi33
Set the default value of rtEnableTopDownBuild to False
Export GetSettingsBlobsAll function from XGL dynamic lib
Fix an assert when patchControlPoints is set mistakenly
Fix for case that tracker's SRD size may be larger than the device's native one
Fix failure in dEQP-VK.pipeline.*.extended_dynamic_state.*.color_blend_att_count_0
Enable top-down build for RayTracingInVulkan
Query typed/untyped buffer SRD sizes separately
Replace time-date timestamp with a build id
Enable AC01 fastclear for Talos of principle
Add missing WriteBufferDescriptors Templates
Support VK_KHR_pipeline_binary
Remove NV31 PWS workarounds
[RT] Refine split raytracing layer
Enable workaroundStorageImageFormats for Houdini
[RT] Fix TrivialBuilder UserNode SRV crash
Bump up GPURT version to 48
Fix AcquireRelease for events
Set EnableMortonCode30 to false
Use PAL's gfxipProperties to indicate mixed signdot product
Improve the refresh rate precision with PAL_CLIENT_INTERFACE_MAJOR_VERSION 894
[Talos principle] Force vgprLimit:48 to let 16 wave slots can be ran together
Fix Pal assertion errors observed while running mesh shader cts testcases
Clean up some macros
Update PAL Version in XGL 892
Batch LoadOp Clears for Dynamic Rendering
Add support for the VRS Experiment
Enable AC01 fastclear for Serious Sam
Add additional formats for acceleration structures to fix RT settings grayed out in some games
Fix issue caused by barrier translation
Remove AppProfile based LLPC compiler init options
Cleanup shader module flags
Add check for dynamic rasterization samples in quad sample setting
Remove legacy pipeline hash functions
Enabled InfiniteDeviceWaitIdle by default
Add Disable Acceleration Structure Compaction and Check Buffer Overlaps
Fix cache masks in renderpass barriers
  • Loading branch information
qiaojbao committed Sep 30, 2024
1 parent de33163 commit c4ca1f6
Show file tree
Hide file tree
Showing 90 changed files with 3,182 additions and 1,387 deletions.
112 changes: 0 additions & 112 deletions cmake/Modules/FindAMDBoost.cmake

This file was deleted.

48 changes: 0 additions & 48 deletions cmake/Modules/FindAMDNinja.cmake

This file was deleted.

12 changes: 0 additions & 12 deletions cmake/Modules/XglSetupAmdGlobalRoots.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -23,18 +23,6 @@
#
#######################################################################################################################

# find_dk_root must be available
if(NOT DEFINED GLOBAL_ROOT_DK_DIR)
execute_process(
COMMAND find_dk_root
OUTPUT_VARIABLE GLOBAL_ROOT_DK_DIR
OUTPUT_STRIP_TRAILING_WHITESPACE
)
if(NOT ("${GLOBAL_ROOT_DK_DIR}" STREQUAL ""))
set(GLOBAL_ROOT_DK_DIR ${GLOBAL_ROOT_DK_DIR} CACHE PATH "Global root dk directory..")
endif()
endif()

if(NOT DEFINED GLOBAL_ROOT_SRC_DIR)
if(EXISTS ${PROJECT_SOURCE_DIR}/../../drivers)
get_filename_component(GLOBAL_ROOT_SRC_DIR ${PROJECT_SOURCE_DIR}/../.. ABSOLUTE)
Expand Down
58 changes: 10 additions & 48 deletions cmake/XglCompileDefinitions.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -49,43 +49,23 @@ macro(xgl_set_compile_definitions)
target_compile_definitions(xgl PRIVATE ICD_BUILD_LLPC)
endif()

target_compile_definitions(xgl PRIVATE PAL_BUILD_GFX9=1)

if(XGL_BUILD_NAVI12)
target_compile_definitions(xgl PRIVATE VKI_BUILD_NAVI12=1)
endif()

#if VKI_BUILD_GFX11
if(XGL_BUILD_GFX11)
target_compile_definitions(xgl PRIVATE VKI_BUILD_GFX11=1)
#if VKI_ENABLE_DEBUG_BARRIERS
if(VKI_ENABLE_DEBUG_BARRIERS)
target_compile_definitions(xgl PRIVATE VKI_ENABLE_DEBUG_BARRIERS)
endif()
#endif

#if VKI_BUILD_NAVI31
if(XGL_BUILD_NAVI31)
target_compile_definitions(xgl PRIVATE VKI_BUILD_NAVI31=1)
#if VKI_RUNTIME_APP_PROFILE
if(VKI_RUNTIME_APP_PROFILE)
target_compile_definitions(xgl PRIVATE VKI_RUNTIME_APP_PROFILE)
endif()
#endif

#if VKI_BUILD_NAVI32
if(XGL_BUILD_NAVI32)
target_compile_definitions(xgl PRIVATE VKI_BUILD_NAVI32=1)
#if VKI_DEVMODE_COMPILER_SETTINGS
if(VKI_DEVMODE_COMPILER_SETTINGS)
target_compile_definitions(xgl PRIVATE VKI_DEVMODE_COMPILER_SETTINGS)
endif()
#endif

#if VKI_BUILD_NAVI33
if(XGL_BUILD_NAVI33)
target_compile_definitions(xgl PRIVATE VKI_BUILD_NAVI33=1)
endif()
#endif

if(XGL_BUILD_PHOENIX1)
target_compile_definitions(xgl PRIVATE VKI_BUILD_PHOENIX1=1)
endif()

if(XGL_BUILD_PHOENIX2)
target_compile_definitions(xgl PRIVATE VKI_BUILD_PHOENIX2=1)
endif()
target_compile_definitions(xgl PRIVATE PAL_BUILD_GFX9=1)

#if VKI_BUILD_GFX115
if(XGL_BUILD_GFX115)
Expand All @@ -99,18 +79,6 @@ macro(xgl_set_compile_definitions)
endif()
#endif

if(XGL_BUILD_REMBRANDT)
target_compile_definitions(xgl PRIVATE VKI_BUILD_REMBRANDT=1)
endif()

if(XGL_BUILD_RAPHAEL)
target_compile_definitions(xgl PRIVATE VKI_BUILD_RAPHAEL=1)
endif()

if(XGL_BUILD_MENDOCINO)
target_compile_definitions(xgl PRIVATE VKI_BUILD_MENDOCINO=1)
endif()

#if VKI_RAY_TRACING
if (VKI_RAY_TRACING)
target_compile_definitions(xgl PRIVATE VKI_RAY_TRACING=1)
Expand All @@ -119,12 +87,6 @@ macro(xgl_set_compile_definitions)
endif()
#endif

#if VKI_KHR_DISPLAY
if(VKI_KHR_DISPLAY)
target_compile_definitions(xgl PRIVATE VKI_KHR_DISPLAY)
endif()
#endif

#if VKI_NORMALIZED_TRIG_FUNCTIONS
if(VKI_NORMALIZED_TRIG_FUNCTIONS)
target_compile_definitions(xgl PRIVATE VKI_NORMALIZED_TRIG_FUNCTIONS)
Expand Down
41 changes: 10 additions & 31 deletions cmake/XglOptions.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -29,46 +29,25 @@ macro(xgl_options)

### Cached Project Options #############################################################################################

option(XGL_ENABLE_PRINTS_ASSERTS "Build with debug print enabled?" OFF)

option(XGL_ENABLE_LTO "Build with LTO enabled?" ON)

option(XGL_ENABLE_GCOV "Build with gcov source code coverage?" OFF)

option(XGL_BUILD_GFX103 "Build vulkan for GFX103" ON)

option(XGL_BUILD_NAVI12 "Build vulkan for Navi12" ON)

option(XGL_BUILD_REMBRANDT "Build vulkan for REMBRANDT" ON)

option(XGL_BUILD_RAPHAEL "Build vulkan for RAPHAEL" ON)

option(XGL_BUILD_MENDOCINO "Build vulkan for MENDOCINO" ON)

#if VKI_BUILD_GFX11
option(XGL_BUILD_GFX11 "Build vulkan for GFX11" ON)
#if VKI_ENABLE_DEBUG_BARRIERS
option(VKI_ENABLE_DEBUG_BARRIERS "Build with debug barriers enabled?" OFF)
#endif

#if VKI_BUILD_NAVI31
option(XGL_BUILD_NAVI31 "Build vulkan for Navi31" ON)
#if VKI_RUNTIME_APP_PROFILE
option(VKI_RUNTIME_APP_PROFILE "Build with runtime app profile?" OFF)
#endif

#if VKI_BUILD_NAVI32
option(XGL_BUILD_NAVI32 "Build vulkan for Navi32" ON)
#if VKI_DEVMODE_COMPILER_SETTINGS
option(VKI_DEVMODE_COMPILER_SETTINGS "Build with devmode compiler settings?" OFF)
#endif

#if VKI_BUILD_NAVI33
option(XGL_BUILD_NAVI33 "Build vulkan for Navi33" ON)
#endif
option(XGL_ENABLE_PRINTS_ASSERTS "Build with debug print enabled?" OFF)

option(XGL_BUILD_PHOENIX1 "Build vulkan for PHOENIX1" ON)
option(XGL_ENABLE_LTO "Build with LTO enabled?" ON)

option(XGL_BUILD_PHOENIX2 "Build vulkan for PHOENIX2" ON)
option(XGL_ENABLE_GCOV "Build with gcov source code coverage?" OFF)

#if VKI_BUILD_GFX115
option(XGL_BUILD_GFX115 "Build vulkan for GFX115" ON)
#endif

#if VKI_BUILD_STRIX1
option(XGL_BUILD_STRIX1 "Build vulkan for STRIX1" ON)
#endif
Expand All @@ -85,7 +64,7 @@ macro(xgl_options)
option(VKI_GPU_DECOMPRESS "Build vulkan with GPU_DECOMPRESS" ON)
#endif

option(ICD_BUILD_LLPC "Build LLPC?" ON)
option(ICD_BUILD_LLPC "Build LLPC?" ON)

option(XGL_LLVM_UPSTREAM "Build with upstreamed LLVM?" OFF)

Expand Down
Loading

0 comments on commit c4ca1f6

Please sign in to comment.