Skip to content

Commit

Permalink
gpuav: Use PostCallRecordCmdDispatchBase alias
Browse files Browse the repository at this point in the history
  • Loading branch information
spencer-lunarg committed Sep 27, 2024
1 parent 6032c1a commit 534d47e
Showing 1 changed file with 2 additions and 9 deletions.
11 changes: 2 additions & 9 deletions layers/gpu/core/gpuav_record.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -833,15 +833,8 @@ void Validator::PreCallRecordCmdDispatchBaseKHR(VkCommandBuffer commandBuffer, u
void Validator::PostCallRecordCmdDispatchBaseKHR(VkCommandBuffer commandBuffer, uint32_t baseGroupX, uint32_t baseGroupY,
uint32_t baseGroupZ, uint32_t groupCountX, uint32_t groupCountY,
uint32_t groupCountZ, const RecordObject &record_obj) {
BaseClass::PostCallRecordCmdDispatchBaseKHR(commandBuffer, baseGroupX, baseGroupY, baseGroupZ, groupCountX, groupCountY,
groupCountZ, record_obj);

auto cb_state = GetWrite<CommandBuffer>(commandBuffer);
if (!cb_state) {
InternalError(commandBuffer, record_obj.location, "Unrecognized command buffer.");
return;
}
PostCallSetupShaderInstrumentationResources(*this, *cb_state, VK_PIPELINE_BIND_POINT_COMPUTE, record_obj.location);
PostCallRecordCmdDispatchBase(commandBuffer, baseGroupX, baseGroupY, baseGroupZ, groupCountX, groupCountY, groupCountZ,
record_obj);
}

void Validator::PreCallRecordCmdTraceRaysNV(VkCommandBuffer commandBuffer, VkBuffer raygenShaderBindingTableBuffer,
Expand Down

0 comments on commit 534d47e

Please sign in to comment.