Lines Matching refs:buffer_state
146 const BUFFER_STATE *buffer_state = GetBufferState(buffer); in PreCallValidateCmdDrawIndirect() local
147 …skip |= ValidateMemoryIsBoundToBuffer(buffer_state, "vkCmdDrawIndirect()", "VUID-vkCmdDrawIndirect… in PreCallValidateCmdDrawIndirect()
148 …skip |= ValidateBufferUsageFlags(buffer_state, VK_BUFFER_USAGE_INDIRECT_BUFFER_BIT, true, "VUID-vk… in PreCallValidateCmdDrawIndirect()
155 … "VkDrawIndirectCommand", sizeof(VkDrawIndirectCommand), count, offset, buffer_state); in PreCallValidateCmdDrawIndirect()
170 BUFFER_STATE *buffer_state = GetBufferState(buffer); in PostCallRecordCmdDrawIndirect() local
172 AddCommandBufferBindingBuffer(cb_state, buffer_state); in PostCallRecordCmdDrawIndirect()
181 const BUFFER_STATE *buffer_state = GetBufferState(buffer); in PreCallValidateCmdDrawIndexedIndirect() local
182 …skip |= ValidateMemoryIsBoundToBuffer(buffer_state, "vkCmdDrawIndexedIndirect()", "VUID-vkCmdDrawI… in PreCallValidateCmdDrawIndexedIndirect()
183 skip |= ValidateBufferUsageFlags(buffer_state, VK_BUFFER_USAGE_INDIRECT_BUFFER_BIT, true, in PreCallValidateCmdDrawIndexedIndirect()
191 buffer_state); in PreCallValidateCmdDrawIndexedIndirect()
207 BUFFER_STATE *buffer_state = GetBufferState(buffer); in PostCallRecordCmdDrawIndexedIndirect() local
209 AddCommandBufferBindingBuffer(cb_state, buffer_state); in PostCallRecordCmdDrawIndexedIndirect()
234 const BUFFER_STATE *buffer_state = GetBufferState(buffer); in PreCallValidateCmdDispatchIndirect() local
235 …skip |= ValidateMemoryIsBoundToBuffer(buffer_state, "vkCmdDispatchIndirect()", "VUID-vkCmdDispatch… in PreCallValidateCmdDispatchIndirect()
237 …ValidateBufferUsageFlags(buffer_state, VK_BUFFER_USAGE_INDIRECT_BUFFER_BIT, true, "VUID-vkCmdDispa… in PreCallValidateCmdDispatchIndirect()
250 BUFFER_STATE *buffer_state = GetBufferState(buffer); in PostCallRecordCmdDispatchIndirect() local
251 AddCommandBufferBindingBuffer(cb_state, buffer_state); in PostCallRecordCmdDispatchIndirect()
275 const BUFFER_STATE *buffer_state = GetBufferState(buffer); in PreCallValidateCmdDrawIndirectCountKHR() local
278 buffer_state); in PreCallValidateCmdDrawIndirectCountKHR()
285 const BUFFER_STATE *buffer_state = GetBufferState(buffer); in PreCallValidateCmdDrawIndirectCountKHR() local
288 …ValidateMemoryIsBoundToBuffer(buffer_state, "vkCmdDrawIndirectCountKHR()", "VUID-vkCmdDrawIndirect… in PreCallValidateCmdDrawIndirectCountKHR()
291 skip |= ValidateBufferUsageFlags(buffer_state, VK_BUFFER_USAGE_INDIRECT_BUFFER_BIT, true, in PreCallValidateCmdDrawIndirectCountKHR()
305 BUFFER_STATE *buffer_state = GetBufferState(buffer); in PreCallRecordCmdDrawIndirectCountKHR() local
308 AddCommandBufferBindingBuffer(cb_state, buffer_state); in PreCallRecordCmdDrawIndirectCountKHR()
335 const BUFFER_STATE *buffer_state = GetBufferState(buffer); in PreCallValidateCmdDrawIndexedIndirectCountKHR() local
338 buffer_state); in PreCallValidateCmdDrawIndexedIndirectCountKHR()
346 const BUFFER_STATE *buffer_state = GetBufferState(buffer); in PreCallValidateCmdDrawIndexedIndirectCountKHR() local
348 skip |= ValidateMemoryIsBoundToBuffer(buffer_state, "vkCmdDrawIndexedIndirectCountKHR()", in PreCallValidateCmdDrawIndexedIndirectCountKHR()
352 skip |= ValidateBufferUsageFlags(buffer_state, VK_BUFFER_USAGE_INDIRECT_BUFFER_BIT, true, in PreCallValidateCmdDrawIndexedIndirectCountKHR()
366 BUFFER_STATE *buffer_state = GetBufferState(buffer); in PreCallRecordCmdDrawIndexedIndirectCountKHR() local
369 AddCommandBufferBindingBuffer(cb_state, buffer_state); in PreCallRecordCmdDrawIndexedIndirectCountKHR()
416 const BUFFER_STATE *buffer_state = GetBufferState(buffer); in PreCallValidateCmdDrawMeshTasksIndirectNV() local
417 skip |= ValidateMemoryIsBoundToBuffer(buffer_state, "vkCmdDrawMeshTasksIndirectNV()", in PreCallValidateCmdDrawMeshTasksIndirectNV()
419 skip |= ValidateBufferUsageFlags(buffer_state, VK_BUFFER_USAGE_INDIRECT_BUFFER_BIT, true, in PreCallValidateCmdDrawMeshTasksIndirectNV()
425 drawCount, offset, buffer_state); in PreCallValidateCmdDrawMeshTasksIndirectNV()
434 BUFFER_STATE *buffer_state = GetBufferState(buffer); in PreCallRecordCmdDrawMeshTasksIndirectNV() local
435 if (buffer_state) { in PreCallRecordCmdDrawMeshTasksIndirectNV()
436 AddCommandBufferBindingBuffer(cb_state, buffer_state); in PreCallRecordCmdDrawMeshTasksIndirectNV()
448 const BUFFER_STATE *buffer_state = GetBufferState(buffer); in PreCallValidateCmdDrawMeshTasksIndirectCountNV() local
450 skip |= ValidateMemoryIsBoundToBuffer(buffer_state, "vkCmdDrawMeshTasksIndirectCountNV()", in PreCallValidateCmdDrawMeshTasksIndirectCountNV()
454 skip |= ValidateBufferUsageFlags(buffer_state, VK_BUFFER_USAGE_INDIRECT_BUFFER_BIT, true, in PreCallValidateCmdDrawMeshTasksIndirectCountNV()
465 maxDrawCount, offset, buffer_state); in PreCallValidateCmdDrawMeshTasksIndirectCountNV()
475 BUFFER_STATE *buffer_state = GetBufferState(buffer); in PreCallRecordCmdDrawMeshTasksIndirectCountNV() local
478 if (buffer_state) { in PreCallRecordCmdDrawMeshTasksIndirectCountNV()
479 AddCommandBufferBindingBuffer(cb_state, buffer_state); in PreCallRecordCmdDrawMeshTasksIndirectCountNV()