summaryrefslogtreecommitdiffstats
path: root/build/visual-studio
diff options
context:
space:
mode:
authorjsmall-nvidia <jsmall@nvidia.com>2022-08-09 11:23:40 -0400
committerGitHub <noreply@github.com>2022-08-09 11:23:40 -0400
commit9df7fcb023bd5a22f35ecd609b7a50cc6634976c (patch)
tree69692c36e664eafa2a37b5fa13ca7142f62b1844 /build/visual-studio
parentc0733be56dc24ef0eb67b26fe0c49d3419e75773 (diff)
Artifact split interface and implementation (#2349)
* #include an absolute path didn't work - because paths were taken to always be relative. * WIP with hierarchical enums. * Some small fixes and improvements around artifact desc related types. * Improvements around hierarchical enum. * Fixes to get Artifact types refactor to be able to execute tests. * Attempt to better categorize PTX. * Work around for potentially unused function warning. * Typo fix. * Simplify Artifact header. * Small improvements around Artifact kind/payload/style. * Added IDestroyable/ICastable * Add IArtifactList. * First impl of IArtifactUtil. * Use the ICastable interface for IArtifactRepresentation. * Added IArtifactRepresentation & IArtifactAssociated. * Add SLANG_OVERRIDE to avoid gcc/clang warning. * Fix calling convention issue on win32. * Fix missing SLANG_OVERRIDE. * First attempt at file abstraction around Artifact. * Added creation of lock file. * Move functionality for determining file paths to the IArtifactUtil. Add casting to ICastable. * Added some casting/finding mechanisms. * Simplify IArtifact interface, and use Items for file reps. * Fix problem with libraries on DXIL. * Split out ArtifactRepresentation. * Move ArtifactDesc functionality to ArtifactDescUtil. ArtifactInfoUtil becomes ArtifactDescUtil. * Split implementations from the interfaces for Artifact. * Use TypeTextUtil for target name outputting. * Add artifact impls.
Diffstat (limited to 'build/visual-studio')
-rw-r--r--build/visual-studio/compiler-core/compiler-core.vcxproj10
-rw-r--r--build/visual-studio/compiler-core/compiler-core.vcxproj.filters20
2 files changed, 23 insertions, 7 deletions
diff --git a/build/visual-studio/compiler-core/compiler-core.vcxproj b/build/visual-studio/compiler-core/compiler-core.vcxproj
index 2789e4f8b..7e6d7540a 100644
--- a/build/visual-studio/compiler-core/compiler-core.vcxproj
+++ b/build/visual-studio/compiler-core/compiler-core.vcxproj
@@ -274,7 +274,10 @@
</Lib>
</ItemDefinitionGroup>
<ItemGroup>
- <ClInclude Include="..\..\..\source\compiler-core\slang-artifact-info.h" />
+ <ClInclude Include="..\..\..\source\compiler-core\slang-artifact-desc-util.h" />
+ <ClInclude Include="..\..\..\source\compiler-core\slang-artifact-impl.h" />
+ <ClInclude Include="..\..\..\source\compiler-core\slang-artifact-representation-impl.h" />
+ <ClInclude Include="..\..\..\source\compiler-core\slang-artifact-representation.h" />
<ClInclude Include="..\..\..\source\compiler-core\slang-artifact-util.h" />
<ClInclude Include="..\..\..\source\compiler-core\slang-artifact.h" />
<ClInclude Include="..\..\..\source\compiler-core\slang-command-line-args.h" />
@@ -311,9 +314,10 @@
<ClInclude Include="..\..\..\source\compiler-core\windows\slang-win-visual-studio-util.h" />
</ItemGroup>
<ItemGroup>
- <ClCompile Include="..\..\..\source\compiler-core\slang-artifact-info.cpp" />
+ <ClCompile Include="..\..\..\source\compiler-core\slang-artifact-desc-util.cpp" />
+ <ClCompile Include="..\..\..\source\compiler-core\slang-artifact-impl.cpp" />
+ <ClCompile Include="..\..\..\source\compiler-core\slang-artifact-representation-impl.cpp" />
<ClCompile Include="..\..\..\source\compiler-core\slang-artifact-util.cpp" />
- <ClCompile Include="..\..\..\source\compiler-core\slang-artifact.cpp" />
<ClCompile Include="..\..\..\source\compiler-core\slang-command-line-args.cpp" />
<ClCompile Include="..\..\..\source\compiler-core\slang-core-diagnostics.cpp" />
<ClCompile Include="..\..\..\source\compiler-core\slang-diagnostic-sink.cpp" />
diff --git a/build/visual-studio/compiler-core/compiler-core.vcxproj.filters b/build/visual-studio/compiler-core/compiler-core.vcxproj.filters
index 77d1a410b..bbaa0a423 100644
--- a/build/visual-studio/compiler-core/compiler-core.vcxproj.filters
+++ b/build/visual-studio/compiler-core/compiler-core.vcxproj.filters
@@ -9,7 +9,16 @@
</Filter>
</ItemGroup>
<ItemGroup>
- <ClInclude Include="..\..\..\source\compiler-core\slang-artifact-info.h">
+ <ClInclude Include="..\..\..\source\compiler-core\slang-artifact-desc-util.h">
+ <Filter>Header Files</Filter>
+ </ClInclude>
+ <ClInclude Include="..\..\..\source\compiler-core\slang-artifact-impl.h">
+ <Filter>Header Files</Filter>
+ </ClInclude>
+ <ClInclude Include="..\..\..\source\compiler-core\slang-artifact-representation-impl.h">
+ <Filter>Header Files</Filter>
+ </ClInclude>
+ <ClInclude Include="..\..\..\source\compiler-core\slang-artifact-representation.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="..\..\..\source\compiler-core\slang-artifact-util.h">
@@ -116,13 +125,16 @@
</ClInclude>
</ItemGroup>
<ItemGroup>
- <ClCompile Include="..\..\..\source\compiler-core\slang-artifact-info.cpp">
+ <ClCompile Include="..\..\..\source\compiler-core\slang-artifact-desc-util.cpp">
<Filter>Source Files</Filter>
</ClCompile>
- <ClCompile Include="..\..\..\source\compiler-core\slang-artifact-util.cpp">
+ <ClCompile Include="..\..\..\source\compiler-core\slang-artifact-impl.cpp">
<Filter>Source Files</Filter>
</ClCompile>
- <ClCompile Include="..\..\..\source\compiler-core\slang-artifact.cpp">
+ <ClCompile Include="..\..\..\source\compiler-core\slang-artifact-representation-impl.cpp">
+ <Filter>Source Files</Filter>
+ </ClCompile>
+ <ClCompile Include="..\..\..\source\compiler-core\slang-artifact-util.cpp">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="..\..\..\source\compiler-core\slang-command-line-args.cpp">