Lines Matching refs:writeInfos
2360 VkWriteDescriptorSet writeInfos[3] = {}; in blitResolveImpl() local
2361 writeInfos[0].sType = VK_STRUCTURE_TYPE_WRITE_DESCRIPTOR_SET; in blitResolveImpl()
2362 writeInfos[0].dstSet = descriptorSet; in blitResolveImpl()
2363 writeInfos[0].dstBinding = kBlitResolveColorOrDepthBinding; in blitResolveImpl()
2364 writeInfos[0].descriptorCount = 1; in blitResolveImpl()
2365 writeInfos[0].descriptorType = VK_DESCRIPTOR_TYPE_SAMPLED_IMAGE; in blitResolveImpl()
2366 writeInfos[0].pImageInfo = &imageInfos[0]; in blitResolveImpl()
2368 writeInfos[1] = writeInfos[0]; in blitResolveImpl()
2369 writeInfos[1].dstBinding = kBlitResolveStencilBinding; in blitResolveImpl()
2370 writeInfos[1].pImageInfo = &imageInfos[1]; in blitResolveImpl()
2372 writeInfos[2].sType = VK_STRUCTURE_TYPE_WRITE_DESCRIPTOR_SET; in blitResolveImpl()
2373 writeInfos[2].dstSet = descriptorSet; in blitResolveImpl()
2374 writeInfos[2].dstBinding = kBlitResolveSamplerBinding; in blitResolveImpl()
2375 writeInfos[2].descriptorCount = 1; in blitResolveImpl()
2376 writeInfos[2].descriptorType = VK_DESCRIPTOR_TYPE_SAMPLER; in blitResolveImpl()
2377 writeInfos[2].pImageInfo = &samplerInfo; in blitResolveImpl()
2387 vkUpdateDescriptorSets(contextVk->getDevice(), writeInfoCount, writeInfos + writeInfoOffset, 0, in blitResolveImpl()
2389 vkUpdateDescriptorSets(contextVk->getDevice(), 1, &writeInfos[2], 0, nullptr); in blitResolveImpl()
2547 VkWriteDescriptorSet writeInfos[3] = {}; in stencilBlitResolveNoShaderExport() local
2548 writeInfos[0].sType = VK_STRUCTURE_TYPE_WRITE_DESCRIPTOR_SET; in stencilBlitResolveNoShaderExport()
2549 writeInfos[0].dstSet = descriptorSet; in stencilBlitResolveNoShaderExport()
2550 writeInfos[0].dstBinding = kBlitResolveStencilNoExportDestBinding; in stencilBlitResolveNoShaderExport()
2551 writeInfos[0].descriptorCount = 1; in stencilBlitResolveNoShaderExport()
2552 writeInfos[0].descriptorType = VK_DESCRIPTOR_TYPE_STORAGE_BUFFER; in stencilBlitResolveNoShaderExport()
2553 writeInfos[0].pBufferInfo = &bufferInfo; in stencilBlitResolveNoShaderExport()
2555 writeInfos[1].sType = VK_STRUCTURE_TYPE_WRITE_DESCRIPTOR_SET; in stencilBlitResolveNoShaderExport()
2556 writeInfos[1].dstSet = descriptorSet; in stencilBlitResolveNoShaderExport()
2557 writeInfos[1].dstBinding = kBlitResolveStencilNoExportSrcBinding; in stencilBlitResolveNoShaderExport()
2558 writeInfos[1].descriptorCount = 1; in stencilBlitResolveNoShaderExport()
2559 writeInfos[1].descriptorType = VK_DESCRIPTOR_TYPE_SAMPLED_IMAGE; in stencilBlitResolveNoShaderExport()
2560 writeInfos[1].pImageInfo = &imageInfo; in stencilBlitResolveNoShaderExport()
2562 writeInfos[2].sType = VK_STRUCTURE_TYPE_WRITE_DESCRIPTOR_SET; in stencilBlitResolveNoShaderExport()
2563 writeInfos[2].dstSet = descriptorSet; in stencilBlitResolveNoShaderExport()
2564 writeInfos[2].dstBinding = kBlitResolveStencilNoExportSamplerBinding; in stencilBlitResolveNoShaderExport()
2565 writeInfos[2].descriptorCount = 1; in stencilBlitResolveNoShaderExport()
2566 writeInfos[2].descriptorType = VK_DESCRIPTOR_TYPE_SAMPLER; in stencilBlitResolveNoShaderExport()
2567 writeInfos[2].pImageInfo = &samplerInfo; in stencilBlitResolveNoShaderExport()
2569 vkUpdateDescriptorSets(contextVk->getDevice(), 3, writeInfos, 0, nullptr); in stencilBlitResolveNoShaderExport()
3071 VkWriteDescriptorSet writeInfos[2] = {}; in generateMipmap() local
3072 writeInfos[0].sType = VK_STRUCTURE_TYPE_WRITE_DESCRIPTOR_SET; in generateMipmap()
3073 writeInfos[0].dstSet = descriptorSet; in generateMipmap()
3074 writeInfos[0].dstBinding = kGenerateMipmapDestinationBinding; in generateMipmap()
3075 writeInfos[0].descriptorCount = GetGenerateMipmapMaxLevels(contextVk); in generateMipmap()
3076 writeInfos[0].descriptorType = VK_DESCRIPTOR_TYPE_STORAGE_IMAGE; in generateMipmap()
3077 writeInfos[0].pImageInfo = destImageInfos; in generateMipmap()
3079 writeInfos[1].sType = VK_STRUCTURE_TYPE_WRITE_DESCRIPTOR_SET; in generateMipmap()
3080 writeInfos[1].dstSet = descriptorSet; in generateMipmap()
3081 writeInfos[1].dstBinding = kGenerateMipmapSourceBinding; in generateMipmap()
3082 writeInfos[1].descriptorCount = 1; in generateMipmap()
3083 writeInfos[1].descriptorType = VK_DESCRIPTOR_TYPE_COMBINED_IMAGE_SAMPLER; in generateMipmap()
3084 writeInfos[1].pImageInfo = &srcImageInfo; in generateMipmap()
3086 vkUpdateDescriptorSets(contextVk->getDevice(), 2, writeInfos, 0, nullptr); in generateMipmap()
3329 VkWriteDescriptorSet writeInfos[2] = {}; in cullOverlayWidgets() local
3330 writeInfos[0].sType = VK_STRUCTURE_TYPE_WRITE_DESCRIPTOR_SET; in cullOverlayWidgets()
3331 writeInfos[0].dstSet = descriptorSet; in cullOverlayWidgets()
3332 writeInfos[0].dstBinding = kOverlayCullCulledWidgetsBinding; in cullOverlayWidgets()
3333 writeInfos[0].descriptorCount = 1; in cullOverlayWidgets()
3334 writeInfos[0].descriptorType = VK_DESCRIPTOR_TYPE_STORAGE_IMAGE; in cullOverlayWidgets()
3335 writeInfos[0].pImageInfo = &imageInfo; in cullOverlayWidgets()
3337 writeInfos[1].sType = VK_STRUCTURE_TYPE_WRITE_DESCRIPTOR_SET; in cullOverlayWidgets()
3338 writeInfos[1].dstSet = descriptorSet; in cullOverlayWidgets()
3339 writeInfos[1].dstBinding = kOverlayCullWidgetCoordsBinding; in cullOverlayWidgets()
3340 writeInfos[1].descriptorCount = 1; in cullOverlayWidgets()
3341 writeInfos[1].descriptorType = VK_DESCRIPTOR_TYPE_UNIFORM_BUFFER; in cullOverlayWidgets()
3342 writeInfos[1].pBufferInfo = &bufferInfo; in cullOverlayWidgets()
3344 vkUpdateDescriptorSets(contextVk->getDevice(), 2, writeInfos, 0, nullptr); in cullOverlayWidgets()
3419 VkWriteDescriptorSet writeInfos[5] = {}; in drawOverlay() local
3420 writeInfos[0].sType = VK_STRUCTURE_TYPE_WRITE_DESCRIPTOR_SET; in drawOverlay()
3421 writeInfos[0].dstSet = descriptorSet; in drawOverlay()
3422 writeInfos[0].dstBinding = kOverlayDrawOutputBinding; in drawOverlay()
3423 writeInfos[0].descriptorCount = 1; in drawOverlay()
3424 writeInfos[0].descriptorType = VK_DESCRIPTOR_TYPE_STORAGE_IMAGE; in drawOverlay()
3425 writeInfos[0].pImageInfo = &imageInfos[0]; in drawOverlay()
3427 writeInfos[1].sType = VK_STRUCTURE_TYPE_WRITE_DESCRIPTOR_SET; in drawOverlay()
3428 writeInfos[1].dstSet = descriptorSet; in drawOverlay()
3429 writeInfos[1].dstBinding = kOverlayDrawCulledWidgetsBinding; in drawOverlay()
3430 writeInfos[1].descriptorCount = 1; in drawOverlay()
3431 writeInfos[1].descriptorType = VK_DESCRIPTOR_TYPE_SAMPLED_IMAGE; in drawOverlay()
3432 writeInfos[1].pImageInfo = &imageInfos[1]; in drawOverlay()
3434 writeInfos[2].sType = VK_STRUCTURE_TYPE_WRITE_DESCRIPTOR_SET; in drawOverlay()
3435 writeInfos[2].dstSet = descriptorSet; in drawOverlay()
3436 writeInfos[2].dstBinding = kOverlayDrawFontBinding; in drawOverlay()
3437 writeInfos[2].descriptorCount = 1; in drawOverlay()
3438 writeInfos[2].descriptorType = VK_DESCRIPTOR_TYPE_SAMPLED_IMAGE; in drawOverlay()
3439 writeInfos[2].pImageInfo = &imageInfos[2]; in drawOverlay()
3441 writeInfos[3].sType = VK_STRUCTURE_TYPE_WRITE_DESCRIPTOR_SET; in drawOverlay()
3442 writeInfos[3].dstSet = descriptorSet; in drawOverlay()
3443 writeInfos[3].dstBinding = kOverlayDrawTextWidgetsBinding; in drawOverlay()
3444 writeInfos[3].descriptorCount = 1; in drawOverlay()
3445 writeInfos[3].descriptorType = VK_DESCRIPTOR_TYPE_UNIFORM_BUFFER; in drawOverlay()
3446 writeInfos[3].pBufferInfo = &bufferInfos[0]; in drawOverlay()
3448 writeInfos[4] = writeInfos[3]; in drawOverlay()
3449 writeInfos[4].dstBinding = kOverlayDrawGraphWidgetsBinding; in drawOverlay()
3450 writeInfos[4].pBufferInfo = &bufferInfos[1]; in drawOverlay()
3452 vkUpdateDescriptorSets(contextVk->getDevice(), 5, writeInfos, 0, nullptr); in drawOverlay()