Skip to content

Commit ae6a33f

Browse files
authored
add missing descriptorType serialization
1 parent f2c94c4 commit ae6a33f

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

src/vsg/state/Descriptor.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,7 @@ void Descriptor::read(Input& input)
4949

5050
input.read("dstBinding", dstBinding);
5151
input.read("dstArrayElement", dstArrayElement);
52+
input.read("descriptorType", descriptorType);
5253
}
5354

5455
void Descriptor::write(Output& output) const
@@ -57,6 +58,7 @@ void Descriptor::write(Output& output) const
5758

5859
output.write("dstBinding", dstBinding);
5960
output.write("dstArrayElement", dstArrayElement);
61+
output.write("descriptorType", descriptorType);
6062
}
6163

6264
void Descriptor::assignTo(Context& /*context*/, VkWriteDescriptorSet& wds) const

0 commit comments

Comments
 (0)