Inheritance is all public (except for FRAMEBUFFER_NODE, which ought to
have been), and there's no template inheritance involved, so these
didn't do anything interesting.
Fix FRAMEBUFFER_NODE to publicly inherit BASE_NODE, and drop the noise
everywhere.
Signed-off-by: Chris Forbes <chrisforbes@google.com>
class SEMAPHORE_NODE : public BASE_NODE {
public:
- using BASE_NODE::in_use;
std::pair<VkQueue, uint64_t> signaler;
bool signaled;
};
class EVENT_NODE : public BASE_NODE {
public:
- using BASE_NODE::in_use;
int write_in_use;
bool needsSignaled;
VkPipelineStageFlags stageMask;
class FRAMEBUFFER_NODE : public BASE_NODE {
public:
- using BASE_NODE::in_use;
- using BASE_NODE::cb_bindings;
VkFramebuffer framebuffer;
safe_VkFramebufferCreateInfo createInfo;
safe_VkRenderPassCreateInfo renderPassCreateInfo;
class BUFFER_NODE : public BASE_NODE {
public:
- using BASE_NODE::in_use;
VkBuffer buffer;
VkDeviceMemory mem;
VkDeviceSize memOffset;
class IMAGE_NODE : public BASE_NODE {
public:
- using BASE_NODE::in_use;
VkImage image;
VkImageCreateInfo createInfo;
VkDeviceMemory mem;
*/
class DescriptorSet : public BASE_NODE {
public:
- using BASE_NODE::in_use;
- using BASE_NODE::cb_bindings;
DescriptorSet(const VkDescriptorSet, const DescriptorSetLayout *, const core_validation::layer_data *);
~DescriptorSet();
// A number of common Get* functions that return data based on layout from which this set was created