Skip to content

Commit

Permalink
[opencl-on-dx12] fix D3D12TransitionLayer build failure
Browse files Browse the repository at this point in the history
  • Loading branch information
luncliff committed Nov 23, 2024
1 parent 4a7b913 commit 6fe9ab9
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 0 deletions.
12 changes: 12 additions & 0 deletions ports/opencl-on-dx12/fix-d3d12transitionlayer.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
diff --git a/src/d3d12translationlayer/ImmediateContext.cpp b/src/d3d12translationlayer/ImmediateContext.cpp
index 77351d0..38e6486 100644
--- a/src/d3d12translationlayer/ImmediateContext.cpp
+++ b/src/d3d12translationlayer/ImmediateContext.cpp
@@ -5,6 +5,7 @@
#include "ImmediateContext.inl"
#include "FormatDesc.hpp"
#include "View.inl"
+#include <algorithm>

namespace D3D12TranslationLayer
{
1 change: 1 addition & 0 deletions ports/opencl-on-dx12/portfile.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ vcpkg_from_github(
SHA512 7053cee9db381b55bab74729fa445b485e70f6c71f3358824ffae5aa4dfc6e869825196c029d94582a8b1d88029a508e7e38a24ffe9adafb242725a790f7f3e5
PATCHES
fix-cmake.patch
fix-d3d12transitionlayer.patch
HEAD_REF master
)

Expand Down
1 change: 1 addition & 0 deletions ports/opencl-on-dx12/vcpkg.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
{
"name": "opencl-on-dx12",
"version": "1.2404.1.0",
"port-version": 1,
"description": "The OpenCL-on-D3D12 mapping layer",
"homepage": "https://github.com/microsoft/OpenCLOn12",
"license": "MIT",
Expand Down

0 comments on commit 6fe9ab9

Please sign in to comment.