Home
last modified time | relevance | path

Searched refs:tcu (Results 1 - 25 of 3427) sorted by relevance

12345678910>>...138

/third_party/vk-gl-cts/framework/opengl/
H A DgluTextureTestUtil.hpp101 tcu::Vec4 w; //!< w coordinates for quad vertices.
106 tcu::Vec4 colorScale; //!< Scale for texture color values.
107 tcu::Vec4 colorBias; //!< Bias for texture color values.
132 , imageViewMinLodMode (tcu::IMAGEVIEWMINLODMODE_PREFERRED) in ReferenceParams()
137 ReferenceParams (TextureType texType_, const tcu::Sampler& sampler_, LodMode lodMode_ = LODMODE_EXACT) in ReferenceParams()
148 , imageViewMinLodMode (tcu::IMAGEVIEWMINLODMODE_PREFERRED) in ReferenceParams()
153 tcu::Sampler sampler;
162 tcu::ImageViewMinLodMode imageViewMinLodMode;
167 SamplerType getSamplerType (tcu::TextureFormat format);
168 SamplerType getFetchSamplerType (tcu
[all...]
H A DgluTextureUtil.cpp38 * \brief Map tcu::TextureFormat to GL pixel transfer format.
41 * If no mapping is found, throws tcu::InternalError.
46 TransferFormat getTransferFormat (tcu::TextureFormat texFormat) in getTransferFormat()
48 using tcu::TextureFormat; in getTransferFormat()
125 throw tcu::InternalError("Can't map texture format to GL transfer format"); in getTransferFormat()
132 * \brief Map tcu::TextureFormat to GL internal sized format.
135 * If no mapping is found, throws tcu::InternalError.
140 deUint32 getInternalFormat (tcu::TextureFormat texFormat) in getInternalFormat()
142 DE_STATIC_ASSERT(tcu::TextureFormat::CHANNELORDER_LAST < (1<<16)); in getInternalFormat()
143 DE_STATIC_ASSERT(tcu in getInternalFormat()
[all...]
H A DgluTextureTestUtil.cpp51 SamplerType getSamplerType (tcu::TextureFormat format) in getSamplerType()
53 using tcu::TextureFormat; in getSamplerType()
77 SamplerType getFetchSamplerType (tcu::TextureFormat format) in getFetchSamplerType()
79 using tcu::TextureFormat; in getFetchSamplerType()
103 static tcu::Texture1DView getSubView (const tcu::Texture1DView& view, int baseLevel, int maxLevel, tcu::ImageViewMinLodParams* minLodParams DE_UNUSED_ATTR) in getSubView()
108 return tcu::Texture1DView(numLevels, view.getLevels()+clampedBase); in getSubView()
111 static tcu::Texture2DView getSubView (const tcu
[all...]
/third_party/vk-gl-cts/modules/gles31/functional/
H A Des31fNegativeShaderImageLoadStoreTests.cpp85 std::string getShaderImageLayoutQualifier (const tcu::TextureFormat& format) in getShaderImageLayoutQualifier()
91 case tcu::TextureFormat::RGBA: qualifier << "rgba"; break; in getShaderImageLayoutQualifier()
92 case tcu::TextureFormat::R: qualifier << "r"; break; in getShaderImageLayoutQualifier()
100 case tcu::TextureFormat::FLOAT: qualifier << "32f"; break; in getShaderImageLayoutQualifier()
101 case tcu::TextureFormat::HALF_FLOAT: qualifier << "16f"; break; in getShaderImageLayoutQualifier()
102 case tcu::TextureFormat::UNORM_INT8: qualifier << "8"; break; in getShaderImageLayoutQualifier()
103 case tcu::TextureFormat::SNORM_INT8: qualifier << "8_snorm"; break; in getShaderImageLayoutQualifier()
104 case tcu::TextureFormat::SIGNED_INT32: qualifier << "32i"; break; in getShaderImageLayoutQualifier()
105 case tcu::TextureFormat::SIGNED_INT16: qualifier << "16i"; break; in getShaderImageLayoutQualifier()
106 case tcu in getShaderImageLayoutQualifier()
[all...]
H A Des31fTextureBorderClampTests.cpp93 bool isDepthFormat (deUint32 format, tcu::Sampler::DepthStencilMode mode) in isDepthFormat()
107 const tcu::TextureFormat fmt = glu::mapGLInternalFormat(format); in isDepthFormat()
109 if (fmt.order == tcu::TextureFormat::D) in isDepthFormat()
111 DE_ASSERT(mode == tcu::Sampler::MODE_DEPTH); in isDepthFormat()
114 else if (fmt.order == tcu::TextureFormat::DS && mode == tcu::Sampler::MODE_DEPTH) in isDepthFormat()
121 bool isStencilFormat (deUint32 format, tcu::Sampler::DepthStencilMode mode) in isStencilFormat()
135 const tcu::TextureFormat fmt = glu::mapGLInternalFormat(format); in isStencilFormat()
137 if (fmt.order == tcu::TextureFormat::S) in isStencilFormat()
139 DE_ASSERT(mode == tcu in isStencilFormat()
[all...]
H A Des31fShaderFramebufferFetchTests.cpp57 using tcu::TestLog;
65 throw tcu::NotSupportedError(string(extName) + " not supported"); in checkExtensionSupport()
122 tcu::TextureFormat getReadPixelFormat (const tcu::TextureFormat& format) in getReadPixelFormat()
124 switch (tcu::getTextureChannelClass(format.type)) in getReadPixelFormat()
126 case tcu::TEXTURECHANNELCLASS_UNSIGNED_INTEGER: in getReadPixelFormat()
127 return tcu::TextureFormat(tcu::TextureFormat::RGBA, tcu::TextureFormat::UNSIGNED_INT32); in getReadPixelFormat()
129 case tcu in getReadPixelFormat()
[all...]
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/protected_memory/
H A DvktProtectedMemFillUpdateCopyBufferTests.cpp83 virtual tcu::TestStatus iterate (void);
97 FillUpdateCopyBufferTestCase (tcu::TestContext& testCtx, in FillUpdateCopyBufferTestCase()
151 tcu::TestStatus FillUpdateCopyBufferTestInstance<T>::iterate() in iterate()
298 << tcu::TestLog::Message << "Fill value: " << m_fillValue << tcu::TestLog::EndMessage; in iterate()
302 return tcu::TestStatus::pass("Everything went OK"); in iterate()
304 return tcu::TestStatus::fail("Something went really wrong"); in iterate()
307 tcu::TestCaseGroup* createFillUpdateCopyBufferFloatTests (tcu::TestContext& testCtx, CmdType cmdType, CmdBufferType cmdBufferType) in createFillUpdateCopyBufferFloatTests()
318 { tcu in createFillUpdateCopyBufferFloatTests()
[all...]
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/protected_memory/
H A DvktProtectedMemFillUpdateCopyBufferTests.cpp83 virtual tcu::TestStatus iterate (void);
97 FillUpdateCopyBufferTestCase (tcu::TestContext& testCtx, in FillUpdateCopyBufferTestCase()
151 tcu::TestStatus FillUpdateCopyBufferTestInstance<T>::iterate() in iterate()
298 << tcu::TestLog::Message << "Fill value: " << m_fillValue << tcu::TestLog::EndMessage; in iterate()
302 return tcu::TestStatus::pass("Everything went OK"); in iterate()
304 return tcu::TestStatus::fail("Something went really wrong"); in iterate()
307 tcu::TestCaseGroup* createFillUpdateCopyBufferFloatTests (tcu::TestContext& testCtx, CmdType cmdType, CmdBufferType cmdBufferType) in createFillUpdateCopyBufferFloatTests()
318 { tcu in createFillUpdateCopyBufferFloatTests()
[all...]
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/mesh_shader/
H A DvktMeshShaderInOutTestsEXT.cpp58 using GroupPtr = de::MovePtr<tcu::TestCaseGroup>;
300 InterfaceVariableParams (const tcu::Maybe<tcu::UVec3>& taskCount_, const tcu::UVec3& meshCount_, uint32_t width_, uint32_t height_,
318 tcu::UVec3 drawCount () const
325 tcu::Maybe<tcu::UVec3> taskCount;
326 tcu::UVec3 meshCount;
345 InterfaceVariablesCase (tcu::TestContext& testCtx, const std::string& name, ParamsPtr params)
362 tcu
[all...]
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/mesh_shader/
H A DvktMeshShaderInOutTestsEXT.cpp58 using GroupPtr = de::MovePtr<tcu::TestCaseGroup>;
300 InterfaceVariableParams (const tcu::Maybe<tcu::UVec3>& taskCount_, const tcu::UVec3& meshCount_, uint32_t width_, uint32_t height_,
318 tcu::UVec3 drawCount () const
325 tcu::Maybe<tcu::UVec3> taskCount;
326 tcu::UVec3 meshCount;
345 InterfaceVariablesCase (tcu::TestContext& testCtx, const std::string& name, const std::string& description, ParamsPtr params)
362 tcu
[all...]
/third_party/vk-gl-cts/external/openglcts/modules/
H A DglcTestPackageRegistry.cpp79 static tcu::TestPackage* createConfigPackage(tcu::TestContext& testCtx) in createConfigPackage()
84 static tcu::TestPackage* createES2Package(tcu::TestContext& testCtx) in createES2Package()
90 static tcu::TestPackage* createdEQPEGLPackage(tcu::TestContext& testCtx) in createdEQPEGLPackage()
97 static tcu::TestPackage* createdEQPES2Package(tcu::TestContext& testCtx) in createdEQPES2Package()
104 static tcu::TestPackage* createES2GTFPackage(tcu
[all...]
/third_party/vk-gl-cts/modules/gles2/functional/
H A Des2fClippingTests.cpp50 using tcu::PixelBufferAccess;
51 using tcu::ConstPixelBufferAccess;
52 using tcu::TestLog;
54 static const tcu::Vec4 MASK_COLOR_OK = tcu::Vec4(0.0f, 0.1f, 0.0f, 1.0f);
55 static const tcu::Vec4 MASK_COLOR_DEV = tcu::Vec4(0.8f, 0.5f, 0.0f, 1.0f);
56 static const tcu::Vec4 MASK_COLOR_FAIL = tcu::Vec4(1.0f, 0.0f, 1.0f, 1.0f);
80 inline bool isBlack (const tcu
[all...]
/third_party/vk-gl-cts/modules/gles3/functional/
H A Des3fClippingTests.cpp50 using tcu::PixelBufferAccess;
51 using tcu::ConstPixelBufferAccess;
52 using tcu::TestLog;
54 static const tcu::Vec4 MASK_COLOR_OK = tcu::Vec4(0.0f, 0.1f, 0.0f, 1.0f);
55 static const tcu::Vec4 MASK_COLOR_DEV = tcu::Vec4(0.8f, 0.5f, 0.0f, 1.0f);
56 static const tcu::Vec4 MASK_COLOR_FAIL = tcu::Vec4(1.0f, 0.0f, 1.0f, 1.0f);
83 inline bool isBlack (const tcu
[all...]
H A Des3fShaderDerivateTests.cpp67 using tcu::TestLog;
186 static inline tcu::BVec4 getDerivateMask (glu::DataType type) in getDerivateMask()
190 case glu::TYPE_FLOAT: return tcu::BVec4(true, false, false, false); in getDerivateMask()
191 case glu::TYPE_FLOAT_VEC2: return tcu::BVec4(true, true, false, false); in getDerivateMask()
192 case glu::TYPE_FLOAT_VEC3: return tcu::BVec4(true, true, true, false); in getDerivateMask()
193 case glu::TYPE_FLOAT_VEC4: return tcu::BVec4(true, true, true, true); in getDerivateMask()
196 return tcu::BVec4(true); in getDerivateMask()
200 static inline tcu::Vec4 readDerivate (const tcu::ConstPixelBufferAccess& surface, const tcu
[all...]
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/texture/
H A DvktSampleVerifierUtil.hpp47 tcu::Vec2 calcLodBounds (const tcu::Vec3& dPdx,
48 const tcu::Vec3& dPdy,
49 const tcu::IVec3 size,
53 tcu::UVec2 calcLevelBounds (const tcu::Vec2& lodBounds,
56 tcu::Vec2 calcLevelLodBounds (const tcu::Vec2& lodBounds,
59 void wrapTexelGridCoordLinear (tcu::IVec3& baseTexel,
60 tcu
109 isEqualRelEpsilon(const tcu::Vector<float, Size>& a, const tcu::Vector<float, Size>& b, const float epsilon) isEqualRelEpsilon() argument
123 isInRange(const tcu::Vector<float, Size>& v, const tcu::Vector<float, Size>& min, const tcu::Vector<float, Size>& max) isInRange() argument
137 floor(const tcu::Vector<float, Size>& v) floor() argument
150 ceil(const tcu::Vector<float, Size>& v) ceil() argument
163 abs(const tcu::Vector<float, Size>& v) abs() argument
[all...]
H A DvktTextureFilteringTests.cpp53 if (testParameters.minFilter == tcu::Sampler::Sampler::CUBIC || testParameters.minFilter == tcu::Sampler::Sampler::CUBIC_MIPMAP_NEAREST || testParameters.minFilter == tcu::Sampler::Sampler::CUBIC_MIPMAP_LINEAR || in checkTextureSupport()
54 testParameters.magFilter == tcu::Sampler::Sampler::CUBIC) in checkTextureSupport()
108 if (testParameters.wrapS == tcu::Sampler::Sampler::MIRRORED_ONCE || testParameters.wrapT == tcu::Sampler::Sampler::MIRRORED_ONCE) in checkTextureSupport()
120 if (testParameters.wrapS == tcu::Sampler::Sampler::MIRRORED_ONCE || testParameters.wrapT == tcu::Sampler::Sampler::MIRRORED_ONCE) in checkTextureSupport()
127 if (testParameters.wrapS == tcu::Sampler::Sampler::MIRRORED_ONCE || testParameters.wrapT == tcu in checkTextureSupport()
[all...]
H A DvktSampleVerifier.hpp46 tcu::Vec4 coord;
47 tcu::Vec4 dPdx;
48 tcu::Vec4 dPdy;
116 tcu::IVec3 size;
131 const std::vector<de::SharedPtr<tcu::FloatFormat>>& conversionPrecision,
132 const std::vector<de::SharedPtr<tcu::FloatFormat>>& filteringPrecision,
133 const std::vector<tcu::ConstPixelBufferAccess>& levels);
136 const tcu::Vec4& result) const;
139 const tcu::Vec4& result,
144 bool verifySampleFiltered (const tcu
[all...]
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/texture/
H A DvktSampleVerifierUtil.hpp47 tcu::Vec2 calcLodBounds (const tcu::Vec3& dPdx,
48 const tcu::Vec3& dPdy,
49 const tcu::IVec3 size,
53 tcu::UVec2 calcLevelBounds (const tcu::Vec2& lodBounds,
56 tcu::Vec2 calcLevelLodBounds (const tcu::Vec2& lodBounds,
59 void wrapTexelGridCoordLinear (tcu::IVec3& baseTexel,
60 tcu
109 isEqualRelEpsilon(const tcu::Vector<float, Size>& a, const tcu::Vector<float, Size>& b, const float epsilon) isEqualRelEpsilon() argument
123 isInRange(const tcu::Vector<float, Size>& v, const tcu::Vector<float, Size>& min, const tcu::Vector<float, Size>& max) isInRange() argument
137 floor(const tcu::Vector<float, Size>& v) floor() argument
150 ceil(const tcu::Vector<float, Size>& v) ceil() argument
163 abs(const tcu::Vector<float, Size>& v) abs() argument
[all...]
H A DvktTextureFilteringTests.cpp53 if (testParameters.minFilter == tcu::Sampler::Sampler::CUBIC || testParameters.minFilter == tcu::Sampler::Sampler::CUBIC_MIPMAP_NEAREST || testParameters.minFilter == tcu::Sampler::Sampler::CUBIC_MIPMAP_LINEAR || in checkTextureSupport()
54 testParameters.magFilter == tcu::Sampler::Sampler::CUBIC) in checkTextureSupport()
108 if (testParameters.wrapS == tcu::Sampler::Sampler::MIRRORED_ONCE || testParameters.wrapT == tcu::Sampler::Sampler::MIRRORED_ONCE) in checkTextureSupport()
120 if (testParameters.wrapS == tcu::Sampler::Sampler::MIRRORED_ONCE || testParameters.wrapT == tcu::Sampler::Sampler::MIRRORED_ONCE) in checkTextureSupport()
127 if (testParameters.wrapS == tcu::Sampler::Sampler::MIRRORED_ONCE || testParameters.wrapT == tcu in checkTextureSupport()
[all...]
H A DvktSampleVerifier.hpp46 tcu::Vec4 coord;
47 tcu::Vec4 dPdx;
48 tcu::Vec4 dPdy;
116 tcu::IVec3 size;
131 const std::vector<de::SharedPtr<tcu::FloatFormat>>& conversionPrecision,
132 const std::vector<de::SharedPtr<tcu::FloatFormat>>& filteringPrecision,
133 const std::vector<tcu::ConstPixelBufferAccess>& levels);
136 const tcu::Vec4& result) const;
139 const tcu::Vec4& result,
144 bool verifySampleFiltered (const tcu
[all...]
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/fragment_shading_rate/
H A DvktFragmentShadingRateTests.cpp45 tcu::TestStatus testLimits(Context& context) in testLimits()
48 tcu::TestLog& log = context.getTestContext().getLog(); in testLimits()
57 log << tcu::TestLog::Message << "pipelineFragmentShadingRate is not supported" << tcu::TestLog::EndMessage; in testLimits()
63 log << tcu::TestLog::Message << "primitiveFragmentShadingRateWithMultipleViewports " in testLimits()
64 "limit should only be supported if primitiveFragmentShadingRate is supported" << tcu::TestLog::EndMessage; in testLimits()
71 log << tcu::TestLog::Message << "primitiveFragmentShadingRateWithMultipleViewports limit should only " in testLimits()
73 "or VK_EXT_shader_viewport_index_layer extension is supported" << tcu::TestLog::EndMessage; in testLimits()
79 log << tcu::TestLog::Message << "layeredShadingRateAttachments should only be supported if attachmentFragmentShadingRate is supported" << tcu in testLimits()
[all...]
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/pipeline/
H A DvktPipelineImageUtil.hpp69 rr::GenericVec4 getFormatCustomBorderColor (tcu::Vec4 floatValue, tcu::IVec4 intValue, vk::VkFormat format, bool useStencilAspect);
72 tcu::Vec4& lookupScale,
73 tcu::Vec4& lookupBias,
77 * Gets a tcu::TextureLevel initialized with data from a VK color
83 de::MovePtr<tcu::TextureLevel> readColorAttachment (const vk::DeviceInterface& vk,
90 const tcu::UVec2& renderSize,
95 * Gets a tcu::TextureLevel initialized with data from a VK depth
101 de::MovePtr<tcu::TextureLevel> readDepthAttachment (const vk::DeviceInterface& vk,
108 const tcu
[all...]
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/fragment_shading_rate/
H A DvktFragmentShadingRateTests.cpp44 tcu::TestStatus testLimits(Context& context) in testLimits()
47 tcu::TestLog& log = context.getTestContext().getLog(); in testLimits()
56 log << tcu::TestLog::Message << "pipelineFragmentShadingRate is not supported" << tcu::TestLog::EndMessage; in testLimits()
62 log << tcu::TestLog::Message << "primitiveFragmentShadingRateWithMultipleViewports " in testLimits()
63 "limit should only be supported if primitiveFragmentShadingRate is supported" << tcu::TestLog::EndMessage; in testLimits()
70 log << tcu::TestLog::Message << "primitiveFragmentShadingRateWithMultipleViewports limit should only " in testLimits()
72 "or VK_EXT_shader_viewport_index_layer extension is supported" << tcu::TestLog::EndMessage; in testLimits()
78 log << tcu::TestLog::Message << "layeredShadingRateAttachments should only be supported if attachmentFragmentShadingRate is supported" << tcu in testLimits()
[all...]
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/pipeline/
H A DvktPipelineImageUtil.hpp69 rr::GenericVec4 getFormatCustomBorderColor (tcu::Vec4 floatValue, tcu::IVec4 intValue, vk::VkFormat format, bool useStencilAspect);
72 tcu::Vec4& lookupScale,
73 tcu::Vec4& lookupBias,
77 * Gets a tcu::TextureLevel initialized with data from a VK color
83 de::MovePtr<tcu::TextureLevel> readColorAttachment (const vk::DeviceInterface& vk,
90 const tcu::UVec2& renderSize,
95 * Gets a tcu::TextureLevel initialized with data from a VK depth
101 de::MovePtr<tcu::TextureLevel> readDepthAttachment (const vk::DeviceInterface& vk,
108 const tcu
[all...]
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/shaderrender/
H A DvktShaderRenderDerivateTests.cpp66 using tcu::TestLog;
167 static inline tcu::BVec4 getDerivateMask (glu::DataType type) in getDerivateMask()
171 case glu::TYPE_FLOAT: return tcu::BVec4(true, false, false, false); in getDerivateMask()
172 case glu::TYPE_FLOAT_VEC2: return tcu::BVec4(true, true, false, false); in getDerivateMask()
173 case glu::TYPE_FLOAT_VEC3: return tcu::BVec4(true, true, true, false); in getDerivateMask()
174 case glu::TYPE_FLOAT_VEC4: return tcu::BVec4(true, true, true, true); in getDerivateMask()
177 return tcu::BVec4(true); in getDerivateMask()
181 static inline bool isSkippedPixel (const tcu::ConstPixelBufferAccess& surface, int x, int y) in isSkippedPixel()
183 const tcu::Vec4 skipValue(0.7843f, 0.2039f, 0.4706f, 0.0f); in isSkippedPixel()
184 const tcu in isSkippedPixel()
[all...]

Completed in 23 milliseconds

12345678910>>...138