Furthermore, if the ImageInfo and TexelBufferView members are removed from the initialization, then the DescriptorCount and BufferInfo members are not overwritten with empty values.
Note: I stumbled across this bug after adding ImageInfo and TexelBufferView members to the initialization as empty arrays to work around issue #81 on my end. I don't think the issues are directly related, although I would like to bring attention to the fact that there are multiple structures which attempt to dispose of null objects and a fix for that would be greatly appreciated.
When creating a new WriteDescriptorSet with the following F# initialization, the created object does not have the expected members.
The object constructed by this code has the following members. Note that most have been set to default values, but not all:
Furthermore, if the
ImageInfo
andTexelBufferView
members are removed from the initialization, then theDescriptorCount
andBufferInfo
members are not overwritten with empty values.Note: I stumbled across this bug after adding
ImageInfo
andTexelBufferView
members to the initialization as empty arrays to work around issue #81 on my end. I don't think the issues are directly related, although I would like to bring attention to the fact that there are multiple structures which attempt to dispose of null objects and a fix for that would be greatly appreciated.