Converted all samples to use AgilitySDK 1.618.3 - #932
alecardoso-tech merged 33 commits into
Conversation
There was a problem hiding this comment.
Pull Request Overview
This PR converts multiple D3D12 samples to use AgilitySDK version 1.618.3, replacing the previous approach of including d3dx12.h locally. The changes add NuGet package references for Microsoft.Direct3D.D3D12 (version 1.618.3), export SDK version symbols, and include various code quality fixes.
Key Changes:
- Addition of Microsoft.Direct3D.D3D12 NuGet package (version 1.618.3) to all samples
- Removal of local d3dx12.h header file references
- Export of D3D12SDKVersion (618) and D3D12SDKPath symbols for Agility SDK
- Update of WinPixEventRuntime package version
- Code quality improvements (type conversions, function calls)
Reviewed Changes
Copilot reviewed 177 out of 203 changed files in this pull request and generated 1 comment.
Show a summary per file
| File | Description |
|---|---|
| packages.config files | Added Microsoft.Direct3D.D3D12 v1.618.3 package reference |
| .vcxproj files | Added NuGet import statements and validation targets |
| .vcxproj.filters files | Removed d3dx12.h from project filters |
| Source .cpp files | Added SDK version exports and code fixes |
| D3D12RaytracingSakuraForestSER | Updated DirectXTK/DirectXTex dependencies, fixed type conversions |
| D3D12RaytracingOpacityMicromaps | Updated package versions, fixed XMVectorSet calls |
| D3D12Multithreading | Fixed pow/powf function call |
| D3D12nBodyGravity | Fixed sqrt/sqrtf function call |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
| </PropertyGroup> | ||
| <Error Condition="!Exists('..\packages\Microsoft.Direct3D.D3D12.1.715.0-preview\build\native\Microsoft.Direct3D.D3D12.props')" Text="$([System.String]::Format('$(ErrorText)', '..\packages\Microsoft.Direct3D.D3D12.1.715.0-preview\build\native\Microsoft.Direct3D.D3D12.props'))" /> | ||
| <Error Condition="!Exists('..\packages\Microsoft.Direct3D.D3D12.1.715.0-preview\build\native\Microsoft.Direct3D.D3D12.targets')" Text="$([System.String]::Format('$(ErrorText)', '..\packages\Microsoft.Direct3D.D3D12.1.715.0-preview\build\native\Microsoft.Direct3D.D3D12.targets'))" /> | ||
| <Error Condition="!Exists('..\packages\Microsoft.Direct3D.DXC.1.8.2404.55-mesh-nodes-preview\build\native\Microsoft.Direct3D.DXC.props')" Text="$([System.String]::Format('$(ErrorText)', '..\packages\Microsoft.Direct3D.DXC.1.8.2404.55-mesh-nodes-preview\build\native\Microsoft.Direct3D.DXC.props'))" /> |
There was a problem hiding this comment.
samples that use preview sdks should not be changed.
There was a problem hiding this comment.
there are probably other examples, this is just one that I noticed.
There was a problem hiding this comment.
Reverted changes from all the samples that use preview nuget packages
Converted all samples to use AgilitySDK 1.618.3
List of samples converted: