Lines Matching refs:cb_state

54     const CMD_BUFFER_STATE *cb_state = GetCBState(cmd_buffer);  in ValidateCmdDrawType()  local
55 if (cb_state) { in ValidateCmdDrawType()
56 skip |= ValidateCmdQueueFlags(cb_state, caller, queue_flags, queue_flag_code); in ValidateCmdDrawType()
57 skip |= ValidateCmd(cb_state, cmd_type, caller); in ValidateCmdDrawType()
59 …ValidateCmdBufDrawState(cb_state, cmd_type, indexed, bind_point, caller, pipebound_msg_code, dynam… in ValidateCmdDrawType()
60 …skip |= (VK_PIPELINE_BIND_POINT_GRAPHICS == bind_point) ? OutsideRenderPass(cb_state, caller, rend… in ValidateCmdDrawType()
61 … : InsideRenderPass(cb_state, caller, renderpass_msg_code); in ValidateCmdDrawType()
67 void ValidationStateTracker::UpdateStateCmdDrawDispatchType(CMD_BUFFER_STATE *cb_state, VkPipelineB… in UpdateStateCmdDrawDispatchType() argument
68 UpdateDrawState(cb_state, bind_point); in UpdateStateCmdDrawDispatchType()
69 cb_state->hasDispatchCmd = true; in UpdateStateCmdDrawDispatchType()
73 void ValidationStateTracker::UpdateStateCmdDrawType(CMD_BUFFER_STATE *cb_state, VkPipelineBindPoint… in UpdateStateCmdDrawType() argument
74 UpdateStateCmdDrawDispatchType(cb_state, bind_point); in UpdateStateCmdDrawType()
75 UpdateResourceTrackingOnDraw(cb_state); in UpdateStateCmdDrawType()
76 cb_state->hasDrawCmd = true; in UpdateStateCmdDrawType()
93 CMD_BUFFER_STATE *cb_state = GetCBState(commandBuffer); in PostCallRecordCmdDraw() local
94 UpdateStateCmdDrawType(cb_state, VK_PIPELINE_BIND_POINT_GRAPHICS); in PostCallRecordCmdDraw()
103 CMD_BUFFER_STATE *cb_state = GetCBState(commandBuffer); in PreCallValidateCmdDrawIndexed() local
104 if (!skip && (cb_state->status & CBSTATUS_INDEX_BUFFER_BOUND)) { in PreCallValidateCmdDrawIndexed()
106 const auto &index_buffer_binding = cb_state->index_buffer_binding; in PreCallValidateCmdDrawIndexed()
136 CMD_BUFFER_STATE *cb_state = GetCBState(commandBuffer); in PostCallRecordCmdDrawIndexed() local
137 UpdateStateCmdDrawType(cb_state, VK_PIPELINE_BIND_POINT_GRAPHICS); in PostCallRecordCmdDrawIndexed()
169 CMD_BUFFER_STATE *cb_state = GetCBState(commandBuffer); in PostCallRecordCmdDrawIndirect() local
171 UpdateStateCmdDrawType(cb_state, VK_PIPELINE_BIND_POINT_GRAPHICS); in PostCallRecordCmdDrawIndirect()
172 AddCommandBufferBindingBuffer(cb_state, buffer_state); in PostCallRecordCmdDrawIndirect()
206 CMD_BUFFER_STATE *cb_state = GetCBState(commandBuffer); in PostCallRecordCmdDrawIndexedIndirect() local
208 UpdateStateCmdDrawType(cb_state, VK_PIPELINE_BIND_POINT_GRAPHICS); in PostCallRecordCmdDrawIndexedIndirect()
209 AddCommandBufferBindingBuffer(cb_state, buffer_state); in PostCallRecordCmdDrawIndexedIndirect()
225 CMD_BUFFER_STATE *cb_state = GetCBState(commandBuffer); in PostCallRecordCmdDispatch() local
226 UpdateStateCmdDrawDispatchType(cb_state, VK_PIPELINE_BIND_POINT_COMPUTE); in PostCallRecordCmdDispatch()
248 CMD_BUFFER_STATE *cb_state = GetCBState(commandBuffer); in PostCallRecordCmdDispatchIndirect() local
249 UpdateStateCmdDrawDispatchType(cb_state, VK_PIPELINE_BIND_POINT_COMPUTE); in PostCallRecordCmdDispatchIndirect()
251 AddCommandBufferBindingBuffer(cb_state, buffer_state); in PostCallRecordCmdDispatchIndirect()
304 CMD_BUFFER_STATE *cb_state = GetCBState(commandBuffer); in PreCallRecordCmdDrawIndirectCountKHR() local
307 UpdateStateCmdDrawType(cb_state, VK_PIPELINE_BIND_POINT_GRAPHICS); in PreCallRecordCmdDrawIndirectCountKHR()
308 AddCommandBufferBindingBuffer(cb_state, buffer_state); in PreCallRecordCmdDrawIndirectCountKHR()
309 AddCommandBufferBindingBuffer(cb_state, count_buffer_state); in PreCallRecordCmdDrawIndirectCountKHR()
365 CMD_BUFFER_STATE *cb_state = GetCBState(commandBuffer); in PreCallRecordCmdDrawIndexedIndirectCountKHR() local
368 UpdateStateCmdDrawType(cb_state, VK_PIPELINE_BIND_POINT_GRAPHICS); in PreCallRecordCmdDrawIndexedIndirectCountKHR()
369 AddCommandBufferBindingBuffer(cb_state, buffer_state); in PreCallRecordCmdDrawIndexedIndirectCountKHR()
370 AddCommandBufferBindingBuffer(cb_state, count_buffer_state); in PreCallRecordCmdDrawIndexedIndirectCountKHR()
390 CMD_BUFFER_STATE *cb_state = GetCBState(commandBuffer); in PostCallRecordCmdTraceRaysNV() local
391 UpdateStateCmdDrawDispatchType(cb_state, VK_PIPELINE_BIND_POINT_RAY_TRACING_NV); in PostCallRecordCmdTraceRaysNV()
392 cb_state->hasTraceRaysCmd = true; in PostCallRecordCmdTraceRaysNV()
405 CMD_BUFFER_STATE *cb_state = GetCBState(commandBuffer); in PreCallRecordCmdDrawMeshTasksNV() local
406 UpdateStateCmdDrawType(cb_state, VK_PIPELINE_BIND_POINT_GRAPHICS); in PreCallRecordCmdDrawMeshTasksNV()
432 CMD_BUFFER_STATE *cb_state = GetCBState(commandBuffer); in PreCallRecordCmdDrawMeshTasksIndirectNV() local
433 UpdateStateCmdDrawType(cb_state, VK_PIPELINE_BIND_POINT_GRAPHICS); in PreCallRecordCmdDrawMeshTasksIndirectNV()
436 AddCommandBufferBindingBuffer(cb_state, buffer_state); in PreCallRecordCmdDrawMeshTasksIndirectNV()
474 CMD_BUFFER_STATE *cb_state = GetCBState(commandBuffer); in PreCallRecordCmdDrawMeshTasksIndirectCountNV() local
477 UpdateStateCmdDrawType(cb_state, VK_PIPELINE_BIND_POINT_GRAPHICS); in PreCallRecordCmdDrawMeshTasksIndirectCountNV()
479 AddCommandBufferBindingBuffer(cb_state, buffer_state); in PreCallRecordCmdDrawMeshTasksIndirectCountNV()
482 AddCommandBufferBindingBuffer(cb_state, count_buffer_state); in PreCallRecordCmdDrawMeshTasksIndirectCountNV()