Vulkan: Fix Compilation Issues on Windows #107874

Merged
Jeroen Bakker merged 1 commits from Jeroen-Bakker/blender:vulkan-windows-compilation into main 2023-05-12 12:38:48 +02:00
2 changed files with 2 additions and 3 deletions

View File

@ -96,8 +96,6 @@ void VKVertexAttributeObject::update_bindings(const VKContext &context, VKBatch
}
is_valid = true;
BLI_assert(interface.enabled_attr_mask_ == occupied_attributes);
}
void VKVertexAttributeObject::update_bindings(VKImmediate &immediate)

View File

@ -22,7 +22,8 @@ class VKImmediate;
using AttributeMask = uint16_t;
struct VKVertexAttributeObject {
class VKVertexAttributeObject {
public:
bool is_valid = false;
VkPipelineVertexInputStateCreateInfo info = {
VK_STRUCTURE_TYPE_PIPELINE_VERTEX_INPUT_STATE_CREATE_INFO, NULL};