Lines Matching defs:image

25  * These tests create a storage image using a 128-bit or a 64-bit
26 * block-compressed image format and an ImageView using an uncompressed
27 * format. Each test case then fills the storage image with compressed
28 * color values in a compute shader and samples the storage image. If the
64 namespace image
253 // Generates a reference image filled with pure blue.
296 // Create a storage image. The first pipeline fills it and the second pipeline
303 // Create image views and descriptor sets for the first pipeline
312 // Cubemap tests use separate image views for each side of a cubemap.
355 // Create a graphics pipeline and all the necessary components for sampling the storage image
360 // The second sampler uses the same format as the image.
363 // Image views implicitly derive the usage flags from the image. Drop the storage image flag since it's incompatible
379 // Cubemap tests use separate image views for each side of a cubemap.
435 // Sampled values will be rendered on this image.
442 // Clear the render target image as black and do a layout transition.
499 // Generate a reference image.
504 // Do a layout transition for the storage image.
513 // Fill the storage image and sample it twice.
517 // the expected values on the first pass. The first sampler uses an uncompressed image format so the result
518 // image will contain garbage if the second sampler doesn't work properly.
524 // If cubemaps are enabled, loop over six times and bind the next face of the cubemap image on each iteration.
548 // If cubemaps are enabled, loop over six times and bind the next face of the cubemap image on each iteration.
591 // Copy the sampled values from the target image into the result image.
621 << tcu::TestLog::Image("Rendered image", "Rendered image", resultImage.getAccess())
684 // - VkImageViewUsageCreateInfo can be used to override implicit usage flags derived from the image.
685 // - A compressed image can be created with usage flags that are not supported for the format but are
686 // supported by an image view that is using uncompressed format where each texel corresponds to
687 // a compressed texel block of the image.
690 TCU_THROW(NotSupportedError, "Device does not support extended image usage flags nor overriding implicit usage flags");
808 * - Compute shader fills a storage image with values that are pure blue compressed with
810 * - Fragment shader samples the image and draws the values on a target image.
811 * - As the sampled values are accessed through an image view using an uncompressed
812 * format, they remain compressed and the drawn image ends up being garbage.
814 * - Fragment shader samples the image. On this pass, the image view uses
816 * - As the values are uncompressed now, the target image is filled
821 * - Compute shader fills a storage image with values that are pure red compressed
823 * - Fragment shader samples the image through an image view which interprets the values
824 * correctly. The values are drawn on a target image. The test doesn't pass yet
825 * since the image is red.
827 * - Compute shader fills the storage image with values that are pure blue compressed
829 * - Fragment shader samples the image through an image view which interprets the values
830 * correctly. The values are drawn on the target image and the test passes.
835 * - Sample the image through an image view with or without compressed format as in the cases
839 * - Sample the image. Sampling should produce colors with a 0.0 red component and with > 0.0
861 } // image