Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 729396

Summary: 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’?
Product: Gentoo Linux Reporter: Cihan Özakça <cozakca>
Component: Current packagesAssignee: Wine Maintainers <wine>
Status: RESOLVED DUPLICATE    
Severity: normal Keywords: PATCH
Priority: Normal    
Version: unspecified   
Hardware: AMD64   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: build.log
patch from upstream
working patch

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 ***