Lines Matching refs:descriptorWrite
49 VkWriteDescriptorSet descriptorWrite; in make_uniform_desc_set() local
50 memset(&descriptorWrite, 0, sizeof(VkWriteDescriptorSet)); in make_uniform_desc_set()
51 descriptorWrite.sType = VK_STRUCTURE_TYPE_WRITE_DESCRIPTOR_SET; in make_uniform_desc_set()
52 descriptorWrite.pNext = nullptr; in make_uniform_desc_set()
53 descriptorWrite.dstSet = *descriptorSet->descriptorSet(); in make_uniform_desc_set()
54 descriptorWrite.dstBinding = GrVkUniformHandler::kUniformBinding; in make_uniform_desc_set()
55 descriptorWrite.dstArrayElement = 0; in make_uniform_desc_set()
56 descriptorWrite.descriptorCount = 1; in make_uniform_desc_set()
57 descriptorWrite.descriptorType = VK_DESCRIPTOR_TYPE_UNIFORM_BUFFER; in make_uniform_desc_set()
58 descriptorWrite.pImageInfo = nullptr; in make_uniform_desc_set()
59 descriptorWrite.pBufferInfo = &bufferInfo; in make_uniform_desc_set()
60 descriptorWrite.pTexelBufferView = nullptr; in make_uniform_desc_set()
63 UpdateDescriptorSets(gpu->device(), 1, &descriptorWrite, 0, nullptr)); in make_uniform_desc_set()