Lines Matching defs:context
411 void checkImageFeatureSupport (Context& context, VkFormat format, VkFormatFeatureFlags req)
413 const VkFormatProperties formatProperties = getPhysicalDeviceFormatProperties( context.getInstanceInterface(),
414 context.getPhysicalDevice(),
421 void checkSupport(Context& context, TestParameters params)
423 checkImageSupport(context, params.format, params.createFlags);
424 checkImageFeatureSupport(context, params.format, VK_FORMAT_FEATURE_SAMPLED_IMAGE_BIT | VK_FORMAT_FEATURE_TRANSFER_DST_BIT | VK_FORMAT_FEATURE_MIDPOINT_CHROMA_SAMPLES_BIT);
425 checkImageFeatureSupport(context, params.planeCompatibleFormat, VK_FORMAT_FEATURE_SAMPLED_IMAGE_BIT | VK_FORMAT_FEATURE_TRANSFER_DST_BIT);
490 tcu::TestStatus testPlaneView (Context& context, TestParameters params)
496 const InstanceInterface& vk = context.getInstanceInterface();
497 const DeviceInterface& vkd = context.getDeviceInterface();
498 const VkDevice device = context.getDevice();
509 const vector<AllocationSp> allocations (allocateAndBindImageMemory(vkd, device, context.getDefaultAllocator(), *image, format, createFlags));
637 VkResult result = vk.getPhysicalDeviceImageFormatProperties2(context.getPhysicalDevice(), &imageFormatInfo, &imageFormatProperties);
675 context.getUniversalQueueFamilyIndex(),
684 context.getUniversalQueueFamilyIndex(),
685 context.getDefaultAllocator(),
704 UniquePtr<ShaderExecutor> executor (createExecutor(context, params.shaderType, getShaderSpec(params), *descLayout));
743 context.getTestContext().getLog()
801 context.getTestContext().getLog()