-
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.
lgc: Add ShaderDbg support for ElfLinker lgc: Cooperative rowacc code clean up lgc: finish builder-ification of PatchInOutImportExport lgc: Fix cooperative matrix enum build error lgc: Move cooperative matrix enum into lgcDialect lgc: SamplePosOffset should be v2f32 instead of i32 lgc: Shrink down include list. lgc: Support waveMatrix rowacc expand lgc: Support waveMatrix rowacc scalar lgc: Support waveMatrix rowacc splat (fill) lgc: Support waveMatrix rowacc sum accumulate lgc: Treat patch + GS w/o tess to be point mode lgc: Undo moving code into LowerSubgroupOps lgc: Use llvm-dialects with new name mangling llpc: fix a corner case with LDS in task/mesh pipelines [Continuations] Add _AmdContStackLoadLastUse builtin support. [Continuations] Add _cont_-prefixed contants. [Continuations] Do not change function name during linking [Continuations] Do not remove types metadata [Continuations] Fix continuations-units test warning. [Continuations] Fix undef / poison test changes. [Continuations] Fix use-after-free [Continuations] Handle InstanceInclusionMaskOp [Continuations] Handle mangled _AmdComplete calls. [Continuations] Implement lgc.cps lowering in DXILContPostProcess. [Continuations] Lower GetResumePoint [Continuations] Pass GPURT library to LowerRaytracingPipelinePass [Continuations] Process lgc.cps function with no await call correctly [Continuations] Refactor DXILContIntrinsicPrepare [Continuations] Refactor pipeline-scope payload size handling [Continuations] Remove continuation.complete intrinsic. [Continuations] Remove more deprecated 'startswith' calls. [Continuations] Remove types metadata sometimes [Continuations] Replace payload spill allocation with alloca. [Continuations] Terminate shader after inlining _cont_SetupRayGen. [RT] Bad code on calculating hash for RT pipeline which contains library [RT] Fix tracedata for function return [RT] Remove all unnecessary functions for Traversal [RT] Replace deprecated startswith call. [RT] Swap InstanceIndexOp and InstanceIdOp [RT] Use more GpuRt Funcs instead of hardcoded ir. [RT] use the getinstance index/id from gpurt directly. Abort for -emit-llvm and color export shader Add new field 'numComponents' to 'InOutInfo' Add td file in cmake source files Add the alignment for cooperativeMatrixLoad and cooperativeMatrixStore Changes for non-intrisic debug info mode Cleanup-gfx9: Remove check for major >= 9 Correct the condition for executing color export operation Move shared/continuations/ to llvmraytracing/ Port the optimization for the pattern: ((b==0.0 ? 0.0 : a) * (a==0.0 ? 0.0 : b)) Preserve necessary _Amd function calls rayquery: Add first version of lgc.rtq dialect Refactor handleColorExportInstructions Refine VKGC pipeline dump and vk sections in vfx ShaderStages test check lines more flexible Support PipelineShaderOptions::clientHash in pipeline hash calculation Update llpc tests to allow for upstream llvm changes Update to handle changes in PassModel parameters Use VKI_ macros in llpc_version Wrap PipelineContext and RaytracingContext in SPIRVReader. Bump Gpurt Version to 45 Update llvm-dialects. Fix Attributes for Cooperative Matrices Fix fp and packed formats' norm emulation issue. Fix RT demo perf-drop due to handling global access for null desc Fix some CTS failures for dynamicDualSource on NAVI10
- Loading branch information
Showing
301 changed files
with
17,556 additions
and
11,650 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,45 @@ | ||
## | ||
####################################################################################################################### | ||
# | ||
# Copyright (c) 2023-2024 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}/..") | ||
|
||
include("${LLPC_SOURCE_DIR}/cmake/llpc_version.cmake") | ||
include("${LLPC_SOURCE_DIR}/cmake/compilerutils.cmake") | ||
|
||
# Macro to add raytracing 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. | ||
macro(add_llvmraytracing_projects) | ||
add_llpc_version_projects() | ||
add_compilerutils_projects() | ||
if (NOT raytracing IN_LIST LLVM_EXTERNAL_PROJECTS) | ||
if (NOT llvm_dialects IN_LIST LLVM_EXTERNAL_PROJECTS) | ||
list(APPEND LLVM_EXTERNAL_PROJECTS llvm_dialects) | ||
set(LLVM_EXTERNAL_LLVM_DIALECTS_SOURCE_DIR "${LLPC_SOURCE_DIR}/imported/llvm-dialects") | ||
endif() | ||
list(APPEND LLVM_EXTERNAL_PROJECTS raytracing) | ||
set(LLVM_EXTERNAL_RAYTRACING_SOURCE_DIR "${LLPC_SOURCE_DIR}/llvmraytracing") | ||
endif() | ||
endmacro() |
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
18 files
+2 −0 | README.md | |
+1 −4 | docker/dialects.Dockerfile | |
+33 −0 | example/ExampleDialect.td | |
+23 −0 | example/ExampleMain.cpp | |
+106 −27 | include/llvm-dialects/Dialect/Visitor.h | |
+1 −0 | include/llvm-dialects/TableGen/Operations.h | |
+2 −1 | lib/Dialect/Dialect.cpp | |
+1 −1 | lib/Dialect/Utils.cpp | |
+9 −6 | lib/Dialect/Visitor.cpp | |
+9 −4 | lib/TableGen/Operations.cpp | |
+7 −2 | test/CMakeLists.txt | |
+308 −34 | test/example/generated/ExampleDialect.cpp.inc | |
+87 −18 | test/example/generated/ExampleDialect.h.inc | |
+26 −17 | test/example/test-builder.test | |
+2 −2 | test/example/test-generated.test | |
+11 −11 | test/example/verifier-basic.ll | |
+15 −10 | test/example/visitor-basic.ll | |
+24 −0 | test/unit/dialect/TestDialect.td |
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
Oops, something went wrong.