Lines Matching defs:context
47 void checkSupport(Context& context, TestType type)
49 if ((context.getSubgroupProperties().supportedOperations & VK_SUBGROUP_FEATURE_QUAD_BIT) == 0u)
53 if (!context.getShaderDemoteToHelperInvocationFeatures().shaderDemoteToHelperInvocation)
56 if (!context.getShaderDemoteToHelperInvocationFeaturesEXT().shaderDemoteToHelperInvocation)
61 if (type == EXT && !context.isDeviceFunctionalitySupported("VK_EXT_shader_demote_to_helper_invocation"))
66 if (type == CORE_MEM_MODEL && !context.getVulkanMemoryModelFeatures().vulkanMemoryModel)
71 void checkExtTestSupport (Context& context, std::string testName) { DE_UNREF(testName); checkSupport(context, EXT); }
72 void checkCoreTestSupport (Context& context, std::string testName) { DE_UNREF(testName); checkSupport(context, CORE); }
73 void checkMemModelTestSupport (Context& context, std::string testName) { DE_UNREF(testName); checkSupport(context, CORE_MEM_MODEL); }