Lines Matching defs:context

142 	virtual void						checkSupport			(Context& context) const;
143 virtual TestInstance* createInstance (Context& context) const;
169 virtual void checkSupport (Context& context) const;
170 virtual TestInstance* createInstance (Context& context) const;
181 BlendTestInstance (Context& context, PipelineConstructionType pipelineConstructionType, const VkFormat colorFormat, const VkPipelineColorBlendAttachmentState blendStates[BlendTest::QUAD_COUNT]);
218 DualSourceBlendTestInstance (Context& context, const PipelineConstructionType m_pipelineConstructionType, const VkFormat colorFormat, const VkPipelineColorBlendAttachmentState blendStates[DualSourceBlendTest::QUAD_COUNT]);
437 TestInstance* BlendTest::createInstance(Context& context) const
439 return new BlendTestInstance(context, m_pipelineConstructionType, m_colorFormat, m_blendStates);
442 void BlendTest::checkSupport (Context& context) const
444 if (!isSupportedBlendFormat(context.getInstanceInterface(), context.getPhysicalDevice(), m_colorFormat))
447 checkPipelineConstructionRequirements(context.getInstanceInterface(), context.getPhysicalDevice(), m_pipelineConstructionType);
449 if (context.isDeviceFunctionalitySupported("VK_KHR_portability_subset") &&
450 !context.getPortabilitySubsetFeatures().constantAlphaColorBlendFactors)
535 TestInstance* DualSourceBlendTest::createInstance(Context& context) const
537 return new DualSourceBlendTestInstance(context, m_pipelineConstructionType, m_colorFormat, m_blendStates);
540 void DualSourceBlendTest::checkSupport (Context& context) const
542 const vk::VkPhysicalDeviceFeatures features = context.getDeviceFeatures();
558 if (!isSupportedBlendFormat(context.getInstanceInterface(), context.getPhysicalDevice(), m_colorFormat))
560 checkPipelineConstructionRequirements(context.getInstanceInterface(), context.getPhysicalDevice(), m_pipelineConstructionType);
599 BlendTestInstance::BlendTestInstance (Context& context,
603 : vkt::TestInstance (context)
608 { context.getInstanceInterface(), context.getDeviceInterface(), context.getPhysicalDevice(), context.getDevice(), context.getDeviceExtensions(), pipelineConstructionType },
609 { context.getInstanceInterface(), context.getDeviceInterface(), context.getPhysicalDevice(), context.getDevice(), context.getDeviceExtensions(), pipelineConstructionType },
610 { context.getInstanceInterface(), context.getDeviceInterface(), context.getPhysicalDevice(), context.getDevice(), context.getDeviceExtensions(), pipelineConstructionType },
611 { context.getInstanceInterface(), context.getDeviceInterface(), context.getPhysicalDevice(), context.getDevice(), context.getDeviceExtensions(), pipelineConstructionType }
1193 DualSourceBlendTestInstance::DualSourceBlendTestInstance (Context& context,
1197 : vkt::TestInstance (context)
1202 { context.getInstanceInterface(), context.getDeviceInterface(), context.getPhysicalDevice(), context.getDevice(), context.getDeviceExtensions(), pipelineConstructionType },
1203 { context.getInstanceInterface(), context.getDeviceInterface(), context.getPhysicalDevice(), context.getDevice(), context.getDeviceExtensions(), pipelineConstructionType },
1204 { context.getInstanceInterface(), context.getDeviceInterface(), context.getPhysicalDevice(), context.getDevice(), context.getDeviceExtensions(), pipelineConstructionType },
1205 { context.getInstanceInterface(), context.getDeviceInterface(), context.getPhysicalDevice(), context.getDevice(), context.getDeviceExtensions(), pipelineConstructionType }
1662 virtual void checkSupport (Context& context) const;
1663 virtual TestInstance* createInstance (Context& context) const;
1672 ClampTestInstance (Context& context, const ClampTestParams& testParams)
1673 : vkt::TestInstance(context), m_params(testParams)
1730 void ClampTest::checkSupport (Context& context) const
1732 if (!isSupportedBlendFormat(context.getInstanceInterface(), context.getPhysicalDevice(), m_params.colorFormat))
1734 checkPipelineConstructionRequirements(context.getInstanceInterface(), context.getPhysicalDevice(), m_params.pipelineConstructionType);
1737 TestInstance* ClampTest::createInstance(Context& context) const
1739 return new ClampTestInstance(context, m_params);