-
Notifications
You must be signed in to change notification settings - Fork 116
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Include dev changes inclusive to 9129dcf with 80970a1 reverted * Add navi32 support * [Continuations] Improve payload field copy mechanism * Handle multiple token types in legacy cleanup * [Continuations] Update lit tests to UTC version 3 * Refine relocatable shader * Remove IShaderCache in LLPC * Remove an outdated workaround * Add location mask for uber fetch shader * Remove i64 support in post-process * Remove getAliasedFunction * Match the lgccps function prototype * Update CreateImageQuerySamples for new image resource layout * Contain alpha channel For VK_FORMAT_A8_UNORM_KHR * Update ALPHA_TO_MASK_DISABLE in color export shader * lgc now depends on lgcrt * Add lgccps support to continuations * Add continuations into build * Fix the failure for VK.pipeline.*.extended_dynamic_state.*.color_blend_dual_index_1 cases * [Continuations]Fix case of small max hit attribute size * Fix the user data argument. * [Continuations] Remove some typed pointer code * [Continuations] Add stack size metadata helpers * Support origin_lower_left in LLPC * [Continuations] Rename CleanupContinuation pass * [Continuations] Run lit tests in opaque pointer mode * RegisterMetadataBuilder: remove the wrong check for updating SPI_PS_INPUT_CNTL_.offset * Support spv extended vertex varying attribute formats emulation. * [Continuations]Move existing tests to dx subdirectory * Fix tablegen incantations for multi-config builds * Fix clang lgc test failure 'cps-unify-exits.lgc' * Change shader interface of shaderIdentifier * ColorExportShader: Fix "s_waitcnt"
- Loading branch information
Showing
291 changed files
with
21,846 additions
and
20,025 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
## | ||
####################################################################################################################### | ||
# | ||
# Copyright (c) 2023 Advanced Micro Devices, Inc. All Rights Reserved. | ||
# | ||
# Permission is hereby granted, free of charge, to any person obtaining a copy | ||
# of this software and associated documentation files (the "Software"), to deal | ||
# in the Software without restriction, including without limitation the rights | ||
# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | ||
# copies of the Software, and to permit persons to whom the Software is | ||
# furnished to do so, subject to the following conditions: | ||
# | ||
# The above copyright notice and this permission notice shall be included in all | ||
# copies or substantial portions of the Software. | ||
# | ||
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR | ||
# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, | ||
# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE | ||
# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER | ||
# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, | ||
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE | ||
# SOFTWARE. | ||
# | ||
####################################################################################################################### | ||
|
||
set(LLPC_SOURCE_DIR "${CMAKE_CURRENT_LIST_DIR}/..") | ||
|
||
# Function to add continuations and its dependencies as LLVM external projects. | ||
# This appends the project names to LLVM_EXTERNAL_PROJECTS and sets each LLVM_EXTERNAL_*_SOURCE_DIR, | ||
# all in the caller's scope. | ||
function(add_continuations_projects) | ||
if (NOT "${LLVM_EXTERNAL_CONTINUATIONS_SOURCE_DIR}") | ||
if (NOT "${LLVM_EXTERNAL_LLVM_DIALECTS_SOURCE_DIR}") | ||
list(APPEND LLVM_EXTERNAL_PROJECTS llvm_dialects) | ||
set(LLVM_EXTERNAL_LLVM_DIALECTS_SOURCE_DIR "${LLPC_SOURCE_DIR}/imported/llvm-dialects" PARENT_SCOPE) | ||
endif() | ||
list(APPEND LLVM_EXTERNAL_PROJECTS lgccps lgcrt continuations) | ||
set(LLVM_EXTERNAL_CONTINUATIONS_SOURCE_DIR "${LLPC_SOURCE_DIR}/shared/continuations" PARENT_SCOPE) | ||
set(LLVM_EXTERNAL_LGCRT_SOURCE_DIR "${LLPC_SOURCE_DIR}/shared/lgcrt" PARENT_SCOPE) | ||
set(LLVM_EXTERNAL_LGCCPS_SOURCE_DIR "${LLPC_SOURCE_DIR}/shared/lgccps" PARENT_SCOPE) | ||
set(LLVM_EXTERNAL_PROJECTS "${LLVM_EXTERNAL_PROJECTS}" PARENT_SCOPE) | ||
endif() | ||
endfunction() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Submodule llvm-dialects
updated
10 files
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.