Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 729396 - app-emulation/vkd3d-1.1 - .../work/vkd3d-1.1/libs/vkd3d/vkd3d_private.h:680:54: error: ‘VK_PIPELINE_BIND_POINT_RANGE_SIZE’ undeclared here (not in a function); did you mean ‘VK_PIPELINE_BIND_POINT_MAX_ENUM’?
Summary: app-emulation/vkd3d-1.1 - .../work/vkd3d-1.1/libs/vkd3d/vkd3d_private.h:680:5...
Status: RESOLVED DUPLICATE of bug 728094
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: Normal normal (vote)
Assignee: Wine Maintainers
URL:
Whiteboard:
Keywords: PATCH
Depends on:
Blocks:
 
Reported: 2020-06-24 10:48 UTC by Cihan Özakça
Modified: 2020-06-26 08:46 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
build.log (build.log,38.43 KB, text/plain)
2020-06-24 10:48 UTC, Cihan Özakça
Details
patch from upstream (vkd3d.patch,821 bytes, patch)
2020-06-24 10:51 UTC, Cihan Özakça
Details | Diff
working patch (01.patch,986 bytes, patch)
2020-06-24 11:59 UTC, Cihan Özakça
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Cihan Özakça 2020-06-24 10:48:35 UTC
Created attachment 646000 [details]
build.log

Trying to get wine-staging-5.11 to build but it refuses with the vkd3d use flag
Comment 1 Cihan Özakça 2020-06-24 10:51:30 UTC
Created attachment 646002 [details, diff]
patch from upstream

Havent tried if this is working
Comment 2 Cihan Özakça 2020-06-24 11:08:56 UTC
Comment on attachment 646002 [details, diff]
patch from upstream

Sorry for the missing part im new to this commit fixes it

https://github.com/d3d12/vkd3d/commit/8e7bf8a5c3e004763a62822ff2d79cf76907b712
Comment 3 Cihan Özakça 2020-06-24 11:57:53 UTC
Comment on attachment 646002 [details, diff]
patch from upstream

--- a/libs/vkd3d/vkd3d_private.h
+++ b/libs/vkd3d/vkd3d_private.h
@@ -912,6 +912,7 @@ struct vkd3d_pipeline_bindings
 {
     const struct d3d12_root_signature *root_signature;
 
+    VkPipelineBindPoint vk_bind_point;
     VkDescriptorSet descriptor_set;
     bool in_use;
 
@@ -928,6 +929,13 @@ struct vkd3d_pipeline_bindings
     uint32_t push_descriptor_active_mask;
 };
 
+enum vkd3d_pipeline_bind_point
+{
+    VKD3D_PIPELINE_BIND_POINT_GRAPHICS = 0x0,
+    VKD3D_PIPELINE_BIND_POINT_COMPUTE = 0x1,
+    VKD3D_PIPELINE_BIND_POINT_COUNT = 0x2,
+};
+
 /* ID3D12CommandList */
 struct d3d12_command_list
 {
@@ -961,7 +969,7 @@ struct d3d12_command_list
     VkPipeline current_pipeline;
     VkRenderPass pso_render_pass;
     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;
Comment 4 Cihan Özakça 2020-06-24 11:59:34 UTC
Created attachment 646050 [details, diff]
working patch

Sorry for the mess
Comment 5 Jeroen Roovers (RETIRED) gentoo-dev 2020-06-26 08:46:59 UTC

*** This bug has been marked as a duplicate of bug 728094 ***