#include <cmath>
#include <fstream>
#if defined(__linux__) || defined(__FreeBSD__) || defined(__OpenBSD__) || defined(__GNU__)
#include <unistd.h>
#endif
#include "gpu/core/gpuav_constants.h"
#include "gpu/core/gpuav.h"
#include "gpu/resources/gpuav_subclasses.h"
#include "generated/layer_chassis_dispatch.h"
#include "gpu/shaders/gpu_error_header.h"
#include "gpu/shaders/gpu_shaders_constants.h"
#include "generated/chassis.h"
#include "gpu/core/gpu_shader_cache_hash.h"
namespace gpuav {
std::shared_ptr<vvl::Buffer> Validator::CreateBufferState(VkBuffer handle, const VkBufferCreateInfo *create_info) { … }
std::shared_ptr<vvl::BufferView> Validator::CreateBufferViewState(const std::shared_ptr<vvl::Buffer> &buffer, VkBufferView handle,
const VkBufferViewCreateInfo *create_info,
VkFormatFeatureFlags2 format_features) { … }
std::shared_ptr<vvl::ImageView> Validator::CreateImageViewState(const std::shared_ptr<vvl::Image> &image_state, VkImageView handle,
const VkImageViewCreateInfo *create_info,
VkFormatFeatureFlags2 format_features,
const VkFilterCubicImageViewImageFormatPropertiesEXT &cubic_props) { … }
std::shared_ptr<vvl::Sampler> Validator::CreateSamplerState(VkSampler handle, const VkSamplerCreateInfo *create_info) { … }
std::shared_ptr<vvl::DescriptorSet> Validator::CreateDescriptorSet(VkDescriptorSet handle, vvl::DescriptorPool *pool,
const std::shared_ptr<vvl::DescriptorSetLayout const> &layout,
uint32_t variable_count) { … }
std::shared_ptr<vvl::CommandBuffer> Validator::CreateCmdBufferState(VkCommandBuffer handle,
const VkCommandBufferAllocateInfo *allocate_info,
const vvl::CommandPool *pool) { … }
void Validator::PreCallRecordCreateDevice(VkPhysicalDevice physicalDevice, const VkDeviceCreateInfo *pCreateInfo,
const VkAllocationCallbacks *pAllocator, VkDevice *pDevice,
const RecordObject &record_obj, vku::safe_VkDeviceCreateInfo *modified_create_info) { … }
void Validator::PostCreateDevice(const VkDeviceCreateInfo *pCreateInfo, const Location &loc) { … }
void Validator::InitSettings(const Location &loc) { … }
}