#include "gpu/instrumentation/gpuav_instrumentation.h"
#include "chassis/chassis_modification_state.h"
#include "gpu/core/gpuav.h"
#include "gpu/error_message/gpuav_vuids.h"
#include "gpu/resources/gpu_shader_resources.h"
#include "gpu/shaders/gpu_error_header.h"
namespace gpuav {
void SetupShaderInstrumentationResources(Validator &gpuav, CommandBuffer &cb_state, VkPipelineBindPoint bind_point,
const Location &loc) { … }
bool LogMessageInstBindlessDescriptor(Validator &gpuav, const uint32_t *error_record, std::string &out_error_msg,
std::string &out_vuid_msg, const std::vector<DescSetState> &descriptor_sets,
const Location &loc, bool uses_shader_object, bool &out_oob_access) { … }
bool LogMessageInstNonBindlessOOB(Validator &gpuav, const uint32_t *error_record, std::string &out_error_msg,
std::string &out_vuid_msg, const std::vector<DescSetState> &descriptor_sets, const Location &loc,
bool uses_shader_object, bool &out_oob_access) { … }
bool LogMessageInstBufferDeviceAddress(const uint32_t *error_record, std::string &out_error_msg, std::string &out_vuid_msg,
bool &out_oob_access) { … }
bool LogMessageInstRayQuery(const uint32_t *error_record, std::string &out_error_msg, std::string &out_vuid_msg) { … }
bool LogInstrumentationError(Validator &gpuav, VkCommandBuffer cmd_buffer, const LogObjectList &objlist, uint32_t operation_index,
const uint32_t *error_record, const std::vector<DescSetState> &descriptor_sets,
VkPipelineBindPoint pipeline_bind_point, bool uses_shader_object, bool uses_robustness,
const Location &loc) { … }
}