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 packages | Assignee: | 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 |
Created attachment 646002 [details, diff]
patch from upstream
Havent tried if this is working
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 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;
Created attachment 646050 [details, diff]
working patch
Sorry for the mess
*** This bug has been marked as a duplicate of bug 728094 *** |
Created attachment 646000 [details] build.log Trying to get wine-staging-5.11 to build but it refuses with the vkd3d use flag