Lines Matching defs:pRenderingInfo
8888 radv_CmdBeginRendering(VkCommandBuffer commandBuffer, const VkRenderingInfo *pRenderingInfo)
8892 pRenderingInfo->pNext, RENDERING_FRAGMENT_SHADING_RATE_ATTACHMENT_INFO_KHR);
8909 .viewMask = pRenderingInfo->viewMask,
8910 .colorAttachmentCount = pRenderingInfo->colorAttachmentCount,
8915 for (unsigned i = 0; i < pRenderingInfo->colorAttachmentCount; ++i) {
8925 if (pRenderingInfo->pColorAttachments[i].imageView == VK_NULL_HANDLE)
8928 const VkRenderingAttachmentInfo *info = &pRenderingInfo->pColorAttachments[i];
8948 if (pRenderingInfo->flags & VK_RENDERING_RESUMING_BIT)
8951 if (pRenderingInfo->flags & VK_RENDERING_SUSPENDING_BIT)
8955 !(pRenderingInfo->flags & VK_RENDERING_SUSPENDING_BIT)) {
8977 if (pRenderingInfo->pDepthAttachment || pRenderingInfo->pStencilAttachment) {
8978 const VkRenderingAttachmentInfo *common_info = pRenderingInfo->pDepthAttachment
8979 ? pRenderingInfo->pDepthAttachment
8980 : pRenderingInfo->pStencilAttachment;
8988 .aspectMask = (pRenderingInfo->pDepthAttachment ? VK_IMAGE_ASPECT_DEPTH_BIT : 0) |
8989 (pRenderingInfo->pStencilAttachment ? VK_IMAGE_ASPECT_STENCIL_BIT : 0)};
8993 if (pRenderingInfo->pDepthAttachment)
8995 pRenderingInfo->pDepthAttachment->clearValue.depthStencil.depth;
8996 if (pRenderingInfo->pStencilAttachment)
8998 pRenderingInfo->pStencilAttachment->clearValue.depthStencil.stencil;
9006 if (pRenderingInfo->pDepthAttachment) {
9007 att->loadOp = pRenderingInfo->pDepthAttachment->loadOp;
9008 att->storeOp = pRenderingInfo->pDepthAttachment->storeOp;
9014 if (pRenderingInfo->pStencilAttachment) {
9015 att->stencilLoadOp = pRenderingInfo->pStencilAttachment->loadOp;
9016 att->stencilStoreOp = pRenderingInfo->pStencilAttachment->storeOp;
9022 if (pRenderingInfo->flags & VK_RENDERING_RESUMING_BIT) {
9027 if (pRenderingInfo->flags & VK_RENDERING_SUSPENDING_BIT) {
9035 if (pRenderingInfo->pDepthAttachment && pRenderingInfo->pStencilAttachment) {
9039 .stencilLayout = pRenderingInfo->pStencilAttachment->imageLayout};
9044 .stencilInitialLayout = pRenderingInfo->pStencilAttachment->imageLayout,
9045 .stencilFinalLayout = pRenderingInfo->pStencilAttachment->imageLayout,
9049 if (((pRenderingInfo->pDepthAttachment &&
9050 pRenderingInfo->pDepthAttachment->resolveMode != VK_RESOLVE_MODE_NONE) ||
9051 (pRenderingInfo->pStencilAttachment &&
9052 pRenderingInfo->pStencilAttachment->resolveMode != VK_RESOLVE_MODE_NONE)) &&
9053 !(pRenderingInfo->flags & VK_RENDERING_SUSPENDING_BIT)) {
9077 (pRenderingInfo->pDepthAttachment &&
9078 pRenderingInfo->pDepthAttachment->resolveMode != VK_RESOLVE_MODE_NONE)
9079 ? pRenderingInfo->pDepthAttachment->resolveMode
9082 (pRenderingInfo->pStencilAttachment &&
9083 pRenderingInfo->pStencilAttachment->resolveMode != VK_RESOLVE_MODE_NONE)
9084 ? pRenderingInfo->pStencilAttachment->resolveMode
9089 if (pRenderingInfo->pDepthAttachment && pRenderingInfo->pStencilAttachment &&
9090 pRenderingInfo->pDepthAttachment->resolveMode != VK_RESOLVE_MODE_NONE &&
9091 pRenderingInfo->pStencilAttachment->resolveMode != VK_RESOLVE_MODE_NONE) {
9095 .stencilLayout = pRenderingInfo->pStencilAttachment->resolveImageLayout};
9100 .stencilInitialLayout = pRenderingInfo->pStencilAttachment->resolveImageLayout,
9101 .stencilFinalLayout = pRenderingInfo->pStencilAttachment->resolveImageLayout,
9152 unsigned w = pRenderingInfo->renderArea.offset.x + pRenderingInfo->renderArea.extent.width;
9153 unsigned h = pRenderingInfo->renderArea.offset.y + pRenderingInfo->renderArea.extent.height;
9170 .layers = pRenderingInfo->layerCount,
9185 .renderArea = pRenderingInfo->renderArea,
9191 .contents = (pRenderingInfo->flags & VK_RENDERING_CONTENTS_SECONDARY_COMMAND_BUFFERS_BIT)