#include "gpu/resources/gpuav_subclasses.h"
#include "gpu/resources/gpu_shader_resources.h"
#include "gpu/core/gpuav.h"
#include "gpu/core/gpuav_constants.h"
#include "gpu/descriptor_validation/gpuav_image_layout.h"
#include "gpu/descriptor_validation/gpuav_descriptor_validation.h"
#include "gpu/shaders/gpu_error_header.h"
namespace gpuav {
Buffer::Buffer(ValidationStateTracker &dev_data, VkBuffer buff, const VkBufferCreateInfo *pCreateInfo, DescriptorHeap &desc_heap_)
: … { … }
void Buffer::Destroy() { … }
void Buffer::NotifyInvalidate(const NodeList &invalid_nodes, bool unlink) { … }
BufferView::BufferView(const std::shared_ptr<vvl::Buffer> &bf, VkBufferView bv, const VkBufferViewCreateInfo *ci,
VkFormatFeatureFlags2KHR buf_ff, DescriptorHeap &desc_heap_)
: … { … }
void BufferView::Destroy() { … }
void BufferView::NotifyInvalidate(const NodeList &invalid_nodes, bool unlink) { … }
ImageView::ImageView(const std::shared_ptr<vvl::Image> &image_state, VkImageView iv, const VkImageViewCreateInfo *ci,
VkFormatFeatureFlags2KHR ff, const VkFilterCubicImageViewImageFormatPropertiesEXT &cubic_props,
DescriptorHeap &desc_heap_)
: … { … }
void ImageView::Destroy() { … }
void ImageView::NotifyInvalidate(const NodeList &invalid_nodes, bool unlink) { … }
Sampler::Sampler(const VkSampler s, const VkSamplerCreateInfo *pci, DescriptorHeap &desc_heap_)
: … { … }
void Sampler::Destroy() { … }
void Sampler::NotifyInvalidate(const NodeList &invalid_nodes, bool unlink) { … }
AccelerationStructureKHR::AccelerationStructureKHR(VkAccelerationStructureKHR as, const VkAccelerationStructureCreateInfoKHR *ci,
std::shared_ptr<vvl::Buffer> &&buf_state, DescriptorHeap &desc_heap_)
: … { … }
void AccelerationStructureKHR::Destroy() { … }
void AccelerationStructureKHR::NotifyInvalidate(const NodeList &invalid_nodes, bool unlink) { … }
AccelerationStructureNV::AccelerationStructureNV(VkDevice device, VkAccelerationStructureNV as,
const VkAccelerationStructureCreateInfoNV *ci, DescriptorHeap &desc_heap_)
: … { … }
void AccelerationStructureNV::Destroy() { … }
void AccelerationStructureNV::NotifyInvalidate(const NodeList &invalid_nodes, bool unlink) { … }
CommandBuffer::CommandBuffer(Validator &gpuav, VkCommandBuffer handle, const VkCommandBufferAllocateInfo *pCreateInfo,
const vvl::CommandPool *pool)
: … { … }
static bool AllocateErrorLogsBuffer(Validator &gpuav, gpu::DeviceMemoryBlock &error_logs_mem, const Location &loc) { … }
void CommandBuffer::AllocateResources(const Location &loc) { … }
bool CommandBuffer::UpdateBdaRangesBuffer(const Location &loc) { … }
VkDeviceSize CommandBuffer::GetBdaRangesBufferByteSize() const { … }
CommandBuffer::~CommandBuffer() { … }
void CommandBuffer::Destroy() { … }
void CommandBuffer::Reset(const Location &loc) { … }
void CommandBuffer::ResetCBState() { … }
void CommandBuffer::ClearCmdErrorsCountsBuffer(const Location &loc) const { … }
bool CommandBuffer::PreProcess(const Location &loc) { … }
bool CommandBuffer::NeedsPostProcess() { … }
void CommandBuffer::PostProcess(VkQueue queue, const Location &loc) { … }
}