Lines Matching refs:descriptors_
290 descriptors_.emplace_back(new SamplerDescriptor(immut_sampler + di)); in DescriptorSet()
292 descriptors_.emplace_back(new SamplerDescriptor()); in DescriptorSet()
300 descriptors_.emplace_back(new ImageSamplerDescriptor(immut + di)); in DescriptorSet()
302 descriptors_.emplace_back(new ImageSamplerDescriptor()); in DescriptorSet()
311 descriptors_.emplace_back(new ImageDescriptor(type)); in DescriptorSet()
316 descriptors_.emplace_back(new TexelDescriptor(type)); in DescriptorSet()
323 descriptors_.emplace_back(new BufferDescriptor(type)); in DescriptorSet()
375 if (descriptors_[start_idx]->IsImmutableSampler()) { in ValidateDrawState()
380 if (!descriptors_[i]->updated) { in ValidateDrawState()
387 auto descriptor_class = descriptors_[i]->GetClass(); in ValidateDrawState()
390 … auto buffer = static_cast<BufferDescriptor *>(descriptors_[i].get())->GetBuffer(); in ValidateDrawState()
409 if (descriptors_[i]->IsDynamic()) { in ValidateDrawState()
412 … auto range = static_cast<BufferDescriptor *>(descriptors_[i].get())->GetRange(); in ValidateDrawState()
413 … auto desc_offset = static_cast<BufferDescriptor *>(descriptors_[i].get())->GetOffset(); in ValidateDrawState()
441 … ? static_cast<ImageSamplerDescriptor *>(descriptors_[i].get())->GetImageView() in ValidateDrawState()
442 … : static_cast<ImageDescriptor *>(descriptors_[i].get())->GetImageView(); in ValidateDrawState()
500 if (descriptors_[start_idx]->IsStorage()) { in GetStorageUpdates()
501 if (Image == descriptors_[start_idx]->descriptor_class) { in GetStorageUpdates()
503 if (descriptors_[start_idx + i]->updated) { in GetStorageUpdates()
504 …image_set->insert(static_cast<ImageDescriptor *>(descriptors_[start_idx + i].get())->GetImageView(… in GetStorageUpdates()
508 } else if (TexelBuffer == descriptors_[start_idx]->descriptor_class) { in GetStorageUpdates()
510 if (descriptors_[start_idx + i]->updated) { in GetStorageUpdates()
511 …auto bufferview = static_cast<TexelDescriptor *>(descriptors_[start_idx + i].get())->GetBufferView… in GetStorageUpdates()
519 } else if (GeneralBuffer == descriptors_[start_idx]->descriptor_class) { in GetStorageUpdates()
521 if (descriptors_[start_idx + i]->updated) { in GetStorageUpdates()
522 …buffer_set->insert(static_cast<BufferDescriptor *>(descriptors_[start_idx + i].get())->GetBuffer()… in GetStorageUpdates()
541 descriptors_[start_idx + di]->WriteUpdate(update, di); in PerformWriteUpdate()
625 if (!src_set->descriptors_[src_start_idx + i]) { in ValidateCopyUpdate()
646 … descriptors_[dst_start_idx + di]->CopyUpdate(src_set->descriptors_[src_start_idx + di].get()); in PerformCopyUpdate()
671 descriptors_[i]->BindCommandBuffer(device_data_, cb_node); in BindCommandBuffer()
1309 if (!descriptors_[index + di].get()->IsImmutableSampler()) { in VerifyWriteUpdateContents()
1389 switch (src_set->descriptors_[index]->descriptor_class) { in VerifyCopyUpdateContents()
1392 if (!src_set->descriptors_[index + di]->IsImmutableSampler()) { in VerifyCopyUpdateContents()
1393 …auto update_sampler = static_cast<SamplerDescriptor *>(src_set->descriptors_[index + di].get())->G… in VerifyCopyUpdateContents()
1409 …auto img_samp_desc = static_cast<const ImageSamplerDescriptor *>(src_set->descriptors_[index + di]… in VerifyCopyUpdateContents()
1437 … auto img_desc = static_cast<const ImageDescriptor *>(src_set->descriptors_[index + di].get()); in VerifyCopyUpdateContents()
1451 …auto buffer_view = static_cast<TexelDescriptor *>(src_set->descriptors_[index + di].get())->GetBuf… in VerifyCopyUpdateContents()
1472 …auto buffer = static_cast<BufferDescriptor *>(src_set->descriptors_[index + di].get())->GetBuffer(… in VerifyCopyUpdateContents()