Lines Matching defs:image
93 VkImage image,
112 image, // VkImage image
137 vk.cmdCopyImageToBuffer(cmdBuffer, image, VK_IMAGE_LAYOUT_TRANSFER_SRC_OPTIMAL, buffer, 1u, ®ion);
156 // Draws a chess pattern to the given 'layer' (z-dimension) of the 'image'. Other layers will be cleared to white.
157 void fillImage (const tcu::PixelBufferAccess& image, const int layer)
160 for (int z = 0; z < image.getSize().z(); ++z)
161 for (int y = 0; y < image.getSize().y(); ++y)
162 for (int x = 0; x < image.getSize().x(); ++x)
168 image.setPixel(color, x, y, z);
172 image.setPixel(clearColor, x, y, z);
193 VkImage image,
200 VkImage image,
209 VkImage image,
225 // Copy the result image to a buffer.
226 copyImageLayerToBuffer(vk, cmdBuffer, image, outputBuffer, testMipLevelSize.xy(), VK_ACCESS_SHADER_WRITE_BIT, VK_IMAGE_LAYOUT_GENERAL, useSampler ? 0u : m_testParameters.layerNdx, useSampler ? 0u : m_testParameters.mipLevel);
238 VkImage image,
335 // Copy the result image to a buffer.
336 copyImageLayerToBuffer(vk, cmdBuffer, image, outputBuffer, testMipLevelSize.xy(), VK_ACCESS_SHADER_WRITE_BIT, VK_IMAGE_LAYOUT_GENERAL, useSampler ? 0u : m_testParameters.layerNdx, useSampler ? 0u : m_testParameters.mipLevel);
360 // Input image is used with sampler cases only.
363 // Upload the test image data for sampler cases.
366 // Initialize the input image's mip level and fill the target layer with a chess pattern, others will be white.
370 // Create a buffer to upload the image.
379 // Create the test image: sampled image or storage image, depending on the test type.
403 // Make an image view covering one of the mip levels.
407 // resultImage is used in sampler / combined image sampler tests to verify the sampled image.
495 // Clear the result image.
500 // Clear the test image.
513 // Copy the input image to the target mip level.
559 // Create a reference image.
560 // The reference image has always a depth of 1, because it will be compared to the 2D result image (sampler cases) or to a single layer of a 3D image.
630 << "layout (set=0, binding = 0) uniform texture2D image;\n"
636 << " vec4 color = texture(sampler2D(image, samp), texCoord);\n"
712 << "layout (set = 0, binding = 0) uniform texture2D image;\n"
718 << " vec4 color = texture(sampler2D(image, samp), texCoord);\n"