Lines Matching defs:image

128 //! Make a render pass with one subpass per color attachment and one attachment per image layer.
158 // Create a subpass for each attachment (each attachment is a layer of an arrayed image).
395 // Color image for rendering in single-sample tests or resolve target for multi-sample tests
403 // Host memory buffer where we will copy the rendered image for verification
482 // Clear the entire image attachment to black
495 caseDef.multisample ? *msColorImage : *colorImage, // VkImage image;
521 caseDef.multisample ? *msColorImage : *colorImage, // VkImage image;
564 *msColorImage, // VkImage image;
576 *colorImage, // VkImage image;
609 *colorImage, // VkImage image;
702 << "layout(binding = 0, rgba8) writeonly uniform image2D image;\n"
707 src << " imageStore(image, ivec2(gl_PrimitiveID % 4, 0), vec4(1.0, 0.5, 0.25, 1.0));\n";
709 src << " imageStore(image, ivec2(gl_PrimitiveID % 4, gl_SampleID % 4), vec4(1.0, 0.5, 0.25, 1.0));\n";
782 // different pixel of an image via an imageStore command. For the single-sampled
783 // configuration we use a 4x1 image to record the output and for the
784 // multi-sampled case we use a 4x4 image to record all 16 samples produced by
803 // Create image where we will record the writes. For single-sampled cases this is a 4x1 image
804 // and for multi-sampled cases this is a 4x<num_samples> image.
812 const Move<VkImage> image = makeImage(vk, device, VkImageViewCreateFlags(0), VK_IMAGE_TYPE_2D, COLOR_FORMAT, imageDim, imageLayers, imageUsage, false);
814 const MovePtr<Allocation> imageAlloc = bindImage(vk, device, allocator, *image, MemoryRequirement::Any);
815 const Move<VkImageView> imageView = makeImageView(vk, device, *image, VK_IMAGE_VIEW_TYPE_2D, COLOR_FORMAT, imageSubresourceRange);
817 // Create a buffer where we will copy the image for verification
822 // Create pipeline descriptor set for the image
863 // shader image layout transition undefined -> general
868 *image, imageSubresourceRange);
888 // copy image to host visible colorBuffer
901 *image, // VkImage image;
919 vk.cmdCopyImageToBuffer(*cmdBuffer, *image, VK_IMAGE_LAYOUT_TRANSFER_SRC_OPTIMAL, *colorBuffer, 1u, &region);
1092 // Host memory buffer where we will copy the rendered image for verification
1148 // Clear image attachments
1163 caseDef.multisample ? *msColorImages[renderTargetIdx] : *colorImages[renderTargetIdx], // VkImage image;
1184 caseDef.multisample ? *msColorImages[renderTargetIdx] : *colorImages[renderTargetIdx], // VkImage image;
1225 *msColorImages[renderTargetIdx], // VkImage image;
1237 *colorImages[renderTargetIdx], // VkImage image;
1273 *colorImages[renderTargetIdx], // VkImage image;
1499 // Create pipeline descriptor set for the image
1574 // Clear image attachments
1587 *msColorImage, // VkImage image;
1599 *colorImage, // VkImage image;
1621 *msColorImage, // VkImage image;
1633 *colorImage, // VkImage image;
1668 *colorImage, // VkImage image;
2000 // fragment shader writes to an image via imageStore().