Lines Matching refs:frameNdx
240 vk::VkRect2D getRenderFrameRect (size_t frameNdx,
244 const deUint32 x = frameNdx == 0
246 : de::min(((deUint32)frameNdx) % imageWidth, imageWidth - 1u);
247 const deUint32 y = frameNdx == 0
249 : de::min(((deUint32)frameNdx) % imageHeight, imageHeight - 1u);
250 const deUint32 width = frameNdx == 0
252 : 1 + de::min((deUint32)(frameNdx) % de::min<deUint32>(100, imageWidth / 3), imageWidth - x - 1);
253 const deUint32 height = frameNdx == 0
255 : 1 + de::min((deUint32)(frameNdx) % de::min<deUint32>(100, imageHeight / 3), imageHeight - y - 1);
275 for (size_t frameNdx = firstFrameNdx; frameNdx <= lastFrameNdx; frameNdx++)
277 const vk::VkRect2D rect = getRenderFrameRect(frameNdx, width, height);
295 size_t frameNdx,
299 const deUint32 mask = (deUint32)frameNdx;
301 if (frameNdx == 0)
322 const vk::VkRect2D scissor = getRenderFrameRect(frameNdx, imageWidth, imageHeight);
385 for (size_t frameNdx = imageNextFrame; frameNdx <= currentFrame; frameNdx++)
386 cmdRenderFrame(vkd, *commandBuffer, pipelineLayout, pipeline, frameNdx, imageWidth, imageHeight);