Lines Matching refs:buffer_node
391 auto buffer_node = getBufferNode(device_data_, buffer); in ValidateDrawState() local
392 if (!buffer_node) { in ValidateDrawState()
399 auto mem_entry = getMemObjInfo(device_data_, buffer_node->binding.mem); in ValidateDrawState()
404 << buffer_node->binding.mem << "."; in ValidateDrawState()
411 auto buffer_size = buffer_node->createInfo.size; in ValidateDrawState()
996 auto buffer_node = getBufferNode(dev_data, buffer_); in BindCommandBuffer() local
997 if (buffer_node) in BindCommandBuffer()
998 core_validation::AddCommandBufferBindingBuffer(dev_data, cb_node, buffer_node); in BindCommandBuffer()
1182 bool cvdescriptorset::DescriptorSet::ValidateBufferUsage(BUFFER_NODE const *buffer_node, VkDescript… in ValidateBufferUsage() argument
1185 auto usage = buffer_node->createInfo.usage; in ValidateBufferUsage()
1219 error_str << "Buffer (" << buffer_node->buffer << ") with usage mask 0x" << usage in ValidateBufferUsage()
1238 auto buffer_node = getBufferNode(device_data_, buffer_info->buffer); in ValidateBufferUpdate() local
1239 if (!buffer_node) { in ValidateBufferUpdate()
1245 if (ValidateMemoryIsBoundToBuffer(device_data_, buffer_node, "vkUpdateDescriptorSets()")) { in ValidateBufferUpdate()
1251 if (!ValidateBufferUsage(buffer_node, type, error_code, error_msg)) { in ValidateBufferUpdate()
1257 if (buffer_info->offset > buffer_node->createInfo.size) { in ValidateBufferUpdate()
1260 …rBufferInfo offset of " << buffer_info->offset << " is greater than buffer " << buffer_node->buffer in ValidateBufferUpdate()
1261 << " size of " << buffer_node->createInfo.size; in ValidateBufferUpdate()
1276 if (buffer_info->range > (buffer_node->createInfo.size - buffer_info->offset)) { in ValidateBufferUpdate()
1280 … << buffer_node->createInfo.size << ") minus requested offset of " << buffer_info->offset; in ValidateBufferUpdate()