Lines Matching refs:buffer_node
709 auto buffer_node = GetBufferState(buffer); in ValidateDrawState() local
710 if (!buffer_node) { in ValidateDrawState()
716 } else if (!buffer_node->sparse) { in ValidateDrawState()
717 for (auto mem_binding : buffer_node->GetBoundMemory()) { in ValidateDrawState()
729 auto buffer_size = buffer_node->createInfo.size; in ValidateDrawState()
1658 auto buffer_node = dev_data->GetBufferState(buffer_); in UpdateDrawState() local
1659 if (buffer_node) dev_data->AddCommandBufferBindingBuffer(cb_node, buffer_node); in UpdateDrawState()
1892 bool cvdescriptorset::ValidateBufferUsage(BUFFER_STATE const *buffer_node, VkDescriptorType type, s… in ValidateBufferUsage() argument
1895 auto usage = buffer_node->createInfo.usage; in ValidateBufferUsage()
1929 …error_str << "Buffer (" << buffer_node->buffer << ") with usage mask " << std::hex << std::showbas… in ValidateBufferUsage()
1947 auto buffer_node = GetBufferState(buffer_info->buffer); in ValidateBufferUpdate() local
1949 assert(buffer_node); in ValidateBufferUpdate()
1950 …if (ValidateMemoryIsBoundToBuffer(buffer_node, func_name, "VUID-VkWriteDescriptorSet-descriptorTyp… in ValidateBufferUpdate()
1956 if (!cvdescriptorset::ValidateBufferUsage(buffer_node, type, error_code, error_msg)) { in ValidateBufferUpdate()
1961 if (buffer_info->offset >= buffer_node->createInfo.size) { in ValidateBufferUpdate()
1965 << buffer_node->buffer << " size of " << buffer_node->createInfo.size; in ValidateBufferUpdate()
1979 if (buffer_info->range > (buffer_node->createInfo.size - buffer_info->offset)) { in ValidateBufferUpdate()
1983 … << buffer_node->createInfo.size << ") minus requested offset of " << buffer_info->offset; in ValidateBufferUpdate()
1999 …} else if (buffer_info->range == VK_WHOLE_SIZE && (buffer_node->createInfo.size - buffer_info->off… in ValidateBufferUpdate()
2003 …<< "(" << (buffer_node->createInfo.size - buffer_info->offset) << ") is greater than this device's… in ValidateBufferUpdate()
2017 …} else if (buffer_info->range == VK_WHOLE_SIZE && (buffer_node->createInfo.size - buffer_info->off… in ValidateBufferUpdate()
2021 …<< "(" << (buffer_node->createInfo.size - buffer_info->offset) << ") is greater than this device's… in ValidateBufferUpdate()