summaryrefslogtreecommitdiff
path: root/app-emulation/vkd3d/files
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2020-08-25 10:45:55 +0100
committerV3n3RiX <venerix@redcorelinux.org>2020-08-25 10:45:55 +0100
commit3cf7c3ef441822c889356fd1812ebf2944a59851 (patch)
treec513fe68548b40365c1c2ebfe35c58ad431cdd77 /app-emulation/vkd3d/files
parent05b8b0e0af1d72e51a3ee61522941bf7605cd01c (diff)
gentoo resync : 25.08.2020
Diffstat (limited to 'app-emulation/vkd3d/files')
-rw-r--r--app-emulation/vkd3d/files/vkd3d-1.1-Fix-build.patch22
1 files changed, 22 insertions, 0 deletions
diff --git a/app-emulation/vkd3d/files/vkd3d-1.1-Fix-build.patch b/app-emulation/vkd3d/files/vkd3d-1.1-Fix-build.patch
new file mode 100644
index 000000000000..048c6c843f55
--- /dev/null
+++ b/app-emulation/vkd3d/files/vkd3d-1.1-Fix-build.patch
@@ -0,0 +1,22 @@
+diff --git a/libs/vkd3d/vkd3d_private.h b/libs/vkd3d/vkd3d_private.h
+index df44447..53a081a 100644
+--- a/libs/vkd3d/vkd3d_private.h
++++ b/libs/vkd3d/vkd3d_private.h
+@@ -47,6 +47,8 @@
+
+ #define VKD3D_MAX_SHADER_STAGES 5u
+
++#define VKD3D_PIPELINE_BIND_POINT_COUNT 2u
++
+ struct d3d12_command_list;
+ struct d3d12_device;
+
+@@ -625,7 +627,7 @@ struct d3d12_command_list
+ VkFramebuffer current_framebuffer;
+ VkPipeline current_pipeline;
+ VkRenderPass current_render_pass;
+- struct vkd3d_pipeline_bindings pipeline_bindings[VK_PIPELINE_BIND_POINT_RANGE_SIZE];
++ struct vkd3d_pipeline_bindings pipeline_bindings[VKD3D_PIPELINE_BIND_POINT_COUNT];
+
+ struct d3d12_pipeline_state *state;
+