/external/deqp/modules/gles3/functional/ |
D | es3fFramebufferBlitTests.cpp | 51 using tcu::IVec4; 58 … desc, deUint32 filter, const IVec2& srcSize, const IVec4& srcRect, const IVec2& dstSize, const IV… in BlitRectCase() 156 const IVec4 m_srcRect; 158 const IVec4 m_dstRect; 167 …name, const char* desc, const IVec2& srcSize, const IVec4& srcRect, const IVec2& dstSize, const IV… 172 …name, const char* desc, const IVec2& srcSize, const IVec4& srcRect, const IVec2& dstSize, const IV… in BlitNearestFilterConsistencyCase() 190 …const tcu::IVec4 destinationArea = tcu::IVec4(de::clamp(de::min(m_dstRect.x(), m_dstRect.z()), 0, … in compare() 459 … srcBuffers, const IVec2& srcSize, const IVec4& srcRect, deUint32 dstBuffers, const IVec2& dstSize… in BlitDepthStencilCase() 602 IVec4 m_srcRect; 605 IVec4 m_dstRect; [all …]
|
D | es3fFragmentOutputTests.cpp | 58 using tcu::IVec4; 388 static inline IVec4 readIVec4 (const int* ptr, int numComponents) in readIVec4() 391 return IVec4(ptr[0], in readIVec4() 439 IVec4 c = readIVec4(vertices + (cellY*gridWidth + cellX+1)*numComponents, numComponents); in renderIntReference() 446 static const IVec4 s_swizzles[] = 448 IVec4(0,1,2,3), 449 IVec4(1,2,3,0), 450 IVec4(2,3,0,1), 451 IVec4(3,0,1,2), 452 IVec4(3,2,1,0), [all …]
|
D | es3fStencilTests.cpp | 47 using tcu::IVec4; 183 void executeOps (sglr::Context& context, const IVec4& cell, const vector<StencilOp>& ops); 208 void StencilCase::executeOps (sglr::Context& context, const IVec4& cell, const vector<StencilOp>& o… in executeOps() 295 IVec4 viewport = IVec4(viewportX, viewportY, width, height); in iterate() 316 vector<IVec4> cells; in iterate() 321 cells.push_back(IVec4(x*cellWidth, y*cellHeight, cellWidth, cellHeight)); in iterate()
|
D | es3fDepthStencilClearTests.cpp | 84 tcu::IVec4 scissor; 249 clear->scissor = tcu::IVec4(x, y, w, h); in generateClears() 427 …tcu::IVec4 clearRect = clear->useScissor ? clear->scissor : tcu::IVec4(0, 0, dst.getWidth(), dst.g… in renderReference() 471 …tcu::IVec4 clearRect = clear->useScissor ? clear->scissor : tcu::IVec4(0, 0, dst.getWidth(), dst.g… in renderReference()
|
D | es3fFboTestUtil.cpp | 53 using tcu::IVec4; 124 const tcu::IVec4 icolor = castVectorSaturate<deInt32>(color); in shadeFragments() 223 const tcu::IVec4 icolor = castVectorSaturate<deInt32>(color); in shadeFragments() 410 const tcu::IVec4 icolor = castVectorSaturate<deInt32>(color); in shadeFragments() 548 const tcu::IVec4 icolor = castVectorSaturate<deInt32>(color); in shadeFragments() 656 const tcu::IVec4 icolor = castVectorSaturate<deInt32>(color); in shadeFragments() 764 const tcu::IVec4 icolor = castVectorSaturate<deInt32>(color); in shadeFragments() 842 const tcu::IVec4 icolor (castVectorSaturate<deInt32>(color)); in shadeFragments() 1056 const tcu::IVec4 bits = tcu::getTextureFormatMantissaBitDepth(format); in getFormatThreshold() 1104 const tcu::IVec4 bits = tcu::getTextureFormatMantissaBitDepth(src); in getToSRGBConversionThreshold()
|
/external/deqp/modules/gles2/performance/ |
D | es2pTextureCases.cpp | 48 using tcu::IVec4; 163 static const IVec4 swizzles[] = { IVec4(0,1,2,3), IVec4(1,2,3,0), IVec4(2,3,0,1), IVec4(3,0,1,2), in init() 164 IVec4(3,2,1,0), IVec4(2,1,0,3), IVec4(1,0,3,2), IVec4(0,3,2,1) }; in init() 165 const IVec4& sw = swizzles[texNdx % DE_LENGTH_OF_ARRAY(swizzles)]; in init()
|
/external/deqp/framework/common/ |
D | tcuTextureUtil.cpp | 324 static IVec4 getChannelBitDepth (TextureFormat::ChannelType channelType) in getChannelBitDepth() 331 case TextureFormat::SNORM_INT8: return IVec4(8); in getChannelBitDepth() 332 case TextureFormat::SNORM_INT16: return IVec4(16); in getChannelBitDepth() 333 case TextureFormat::SNORM_INT32: return IVec4(32); in getChannelBitDepth() 334 case TextureFormat::UNORM_INT8: return IVec4(8); in getChannelBitDepth() 335 case TextureFormat::UNORM_INT16: return IVec4(16); in getChannelBitDepth() 336 case TextureFormat::UNORM_INT24: return IVec4(24); in getChannelBitDepth() 337 case TextureFormat::UNORM_INT32: return IVec4(32); in getChannelBitDepth() 338 case TextureFormat::UNORM_SHORT_565: return IVec4(5,6,5,0); in getChannelBitDepth() 339 case TextureFormat::UNORM_SHORT_4444: return IVec4(4); in getChannelBitDepth() [all …]
|
D | tcuTexLookupVerifier.hpp | 98 Vec4 computeFixedPointThreshold (const IVec4& bits); 99 Vec4 computeFloatingPointThreshold (const IVec4& bits, const Vec4& value); 114 …View& texture, const Sampler& sampler, const LookupPrecision& prec, const IVec4& coordBits, const … 117 …leMode, const IntLookupPrecision& prec, const float coordX, const int coordY, const IVec4& result); 121 …aleMode, const IntLookupPrecision& prec, const Vec2& coord, const int coordZ, const IVec4& result); 125 …LookupScaleMode scaleMode, const IntLookupPrecision& prec, const Vec3& coord, const IVec4& result); 131 …cision& prec, const Vec2& coord, int componentNdx, const IVec2 (&offsets)[4], const IVec4& result); 135 …cision& prec, const Vec3& coord, int componentNdx, const IVec2 (&offsets)[4], const IVec4& result); 140 …sampler, const IntLookupPrecision& prec, const Vec3& coord, int componentNdx, const IVec4& result);
|
D | tcuImageCompare.cpp | 93 const tcu::IVec4 okColor (0, 255, 0, 255); in findNumPositionDeviationFailingPixels() 94 const tcu::IVec4 errorColor (255, 0, 0, 255); in findNumPositionDeviationFailingPixels() 118 const IVec4 refPix = reference.getPixelInt(x, y, z); in findNumPositionDeviationFailingPixels() 119 const IVec4 cmpPix = result.getPixelInt(x, y, z); in findNumPositionDeviationFailingPixels() 141 const IVec4 deviatedCmpPix = result.getPixelInt(sx, sy, sz); in findNumPositionDeviationFailingPixels() 164 const IVec4 deviatedRefPix = reference.getPixelInt(sx, sy, sz); in findNumPositionDeviationFailingPixels() 302 IVec4 a = ref.getPixelInt(x, y); in computeSquaredDiffSum() 303 IVec4 b = cmp.getPixelInt(x, y); in computeSquaredDiffSum() 304 IVec4 diff = abs(a - b); in computeSquaredDiffSum() 760 IVec4 refPix = reference.getPixelInt(x, y, z); in intThresholdCompare() [all …]
|
D | tcuTextureUtil.hpp | 85 IVec4 getTextureFormatBitDepth (const TextureFormat& format); 86 IVec4 getTextureFormatMantissaBitDepth (const TextureFormat& format); 91 void clear (const PixelBufferAccess& access, const IVec4& color);
|
D | tcuRGBA.cpp | 54 IVec4 RGBA::toIVec (void) const in toIVec() 56 return IVec4(getRed(), getGreen(), getBlue(), getAlpha()); in toIVec()
|
/external/deqp/modules/internal/ |
D | ditSeedBuilderTests.cpp | 32 using tcu::IVec4; 162 …addChild(new SeedBuilderTest<IVec4>(m_testCtx, IVec4(0), 73989201u, "ivec4_zero", "Seed from zero … in init() 166 …addChild(new SeedBuilderTest<IVec4>(m_testCtx, IVec4(1), 90609878u, "ivec4_one", "Seed from one v… in init() 168 …addChild(new SeedBuilderTest<IVec4>(m_testCtx, IVec4(1, 2, 3, 4), 6202236u, "ivec4_1_2_3_4", "See… in init() 169 …addChild(new SeedBuilderTest<IVec4>(m_testCtx, IVec4(4, 3, 2, 1), 26964618u, "ivec4_4_3_2_1", "See… in init()
|
/external/deqp/modules/gles3/performance/ |
D | es3pTextureCases.cpp | 49 using tcu::IVec4; 189 static const IVec4 swizzles[] = { IVec4(0,1,2,3), IVec4(1,2,3,0), IVec4(2,3,0,1), IVec4(3,0,1,2), in init() 190 IVec4(3,2,1,0), IVec4(2,1,0,3), IVec4(1,0,3,2), IVec4(0,3,2,1) }; in init() 191 const IVec4& sw = swizzles[texNdx % DE_LENGTH_OF_ARRAY(swizzles)]; in init()
|
/external/deqp/framework/referencerenderer/ |
D | rrRasterizer.hpp | 130 …TriangleRasterizer (const tcu::IVec4& viewport, const int numSamples, const RasterizationState& s… 145 const tcu::IVec4 m_viewport; 180 SingleSampleLineRasterizer (const tcu::IVec4& viewport); 193 const tcu::IVec4 m_viewport; 221 MultiSampleLineRasterizer (const int numSamples, const tcu::IVec4& viewport);
|
D | rrVertexAttrib.hpp | 152 void readVertexAttrib (tcu::IVec4& dst, const VertexAttrib& vertexAttrib, const int instanceNdx, … 164 inline tcu::IVec4 readVertexAttribInt (const VertexAttrib& vertexAttrib, const int instanceNdx, con… in readVertexAttribInt() 166 tcu::IVec4 v; in readVertexAttribInt()
|
/external/deqp/modules/glshared/ |
D | glsScissorTests.cpp | 69 using tcu::IVec4; 114 void clearEdges (const tcu::PixelBufferAccess& access, const T& color, const IVec4& scissorArea) in clearEdges() 178 virtual void render (GLuint program, const IVec4& viewport) const = 0; 205 const IVec4 relScissorArea (int(m_scissorArea.x()*viewport.width), in iterate() 209 const IVec4 absScissorArea (relScissorArea.x() + viewport.x, in iterate() 224 …log << TestLog::Message << "Viewport area is " << IVec4(viewport.x, viewport.y, viewport.width, vi… in iterate() 242 render(shader.getProgram(), IVec4(viewport.x, viewport.y, viewport.width, viewport.height)); in iterate() 266 render(shader.getProgram(), IVec4(viewport.x, viewport.y, viewport.width, viewport.height)); in iterate() 274 clearEdges(refImage.getAccess(), IVec4(32, 64, 128, 255), relScissorArea); in iterate() 299 virtual void render (GLuint program, const IVec4& viewport) const; [all …]
|
D | glsStateQueryUtil.hpp | 408 void verifyIntegerVec4 (tcu::ResultCollector& result, QueriedState& state, const tcu::IVec4& … 413 …malizedI32Vec4 (tcu::ResultCollector& result, QueriedState& state, const tcu::IVec4& expected); 439 …::CallLogWrapper& gl, glw::GLenum target, glw::GLenum pname, const tcu::IVec4& expected, QueryTy… 440 …::CallLogWrapper& gl, glw::GLenum target, glw::GLenum pname, const tcu::IVec4& expected, QueryTy… 448 …::CallLogWrapper& gl, glw::GLuint sampler, glw::GLenum pname, const tcu::IVec4& expected, QueryTy… 449 …::CallLogWrapper& gl, glw::GLuint sampler, glw::GLenum pname, const tcu::IVec4& expected, QueryTy…
|
/external/deqp/modules/gles31/functional/ |
D | es31fTextureFilteringTests.cpp | 215 const tcu::IVec4 levelSwz[] = in init() 217 tcu::IVec4(0,1,2,3), in init() 218 tcu::IVec4(2,1,3,0), in init() 219 tcu::IVec4(3,0,1,2), in init() 220 tcu::IVec4(1,3,2,0), in init() 232 const tcu::IVec4 swz = levelSwz[layerFaceNdx % DE_LENGTH_OF_ARRAY(levelSwz)]; in init() 376 const tcu::IVec4 coordBits = tcu::IVec4(10); in iterate() 377 …const tcu::IVec4 colorBits = max(getBitsVec(pixelFormat) - (isNearestOnly ? 1 : 2), tcu::IVec4(0… in iterate()
|
D | es31fTextureBorderClampTests.cpp | 376 tcu::IVec4 getNBitIntegerVec4MaxValue (bool isSigned, const tcu::IVec4& numBits) in getNBitIntegerVec4MaxValue() 378 return tcu::IVec4(getNBitIntegerMaxValue(isSigned, numBits[0]), in getNBitIntegerVec4MaxValue() 384 tcu::IVec4 getNBitIntegerVec4MinValue (bool isSigned, const tcu::IVec4& numBits) in getNBitIntegerVec4MinValue() 386 return tcu::IVec4(getNBitIntegerMinValue(isSigned, numBits[0]), in getNBitIntegerVec4MinValue() 427 const tcu::IVec4 sRGB8 = tcu::IVec4(tcu::floatToU8(sRGB[0]), in mapToFormatColorRepresentable() 451 return rr::GenericVec4(tcu::select(access.getPixelInt(0, 0), tcu::IVec4(0), channelMask)); in mapToFormatColorRepresentable() 928 …const tcu::IVec4 colorBits = tcu::max(gls::TextureTestUtil::getBitsVec(pixelFormat) - tcu::IV… in verifyImage() 1046 …const tcu::IVec4 nonShadowBits = tcu::max(gls::TextureTestUtil::getBitsVec(pixelFormat) - … in verifyTextureCompareResult() 1539 const tcu::IVec4 numBits = tcu::getTextureFormatBitDepth(texFormat); in init() 1546 const tcu::IVec4 minValue = getNBitIntegerVec4MinValue(isSigned, numBits); in init() [all …]
|
/external/deqp/framework/opengl/ |
D | gluFboRenderContext.cpp | 40 const tcu::IVec4 bits = tcu::getTextureFormatBitDepth(glu::mapGLInternalFormat(colorFormat)); in getPixelFormat() 46 …const tcu::IVec4 bits = tcu::getTextureFormatBitDepth(glu::mapGLInternalFormat(depthStencilFormat)… in getDepthStencilBits() 68 const tcu::IVec4 bits = tcu::getTextureFormatBitDepth(glu::mapGLInternalFormat(format)); in chooseColorFormat() 107 const tcu::IVec4 bits = tcu::getTextureFormatBitDepth(glu::mapGLInternalFormat(format)); in chooseDepthStencilFormat()
|
/external/deqp/modules/gles2/functional/ |
D | es2fTextureMipmapTests.cpp | 57 using tcu::IVec4; 357 …u::computeFixedPointThreshold(max(getBitsVec(pixelFormat) - (isTrilinear ? 2 : 1), tcu::IVec4(0))); in iterate() 550 static void randomPartition (vector<IVec4>& dst, de::Random& rnd, int x, int y, int width, int heig… in randomPartition() 572 dst.push_back(IVec4(x, y, width, height)); in randomPartition() 575 static void computeGridLayout (vector<IVec4>& dst, int width, int height) in computeGridLayout() 615 vector<IVec4> gridLayout; in iterate() 681 …teFixedPointThreshold(max(getBitsVec(m_renderCtx.getRenderTarget().getPixelFormat())-2, IVec4(0))); in iterate() 863 …const IVec4 framebufferBits = max(getBitsVec(m_renderCtx.getRenderTarget().getPixelFormat())-2,… in iterate() 864 …const IVec4 formatBits = tcu::getTextureFormatBitDepth(glu::mapGLTransferFormat(m_format, m_da… in iterate() 865 const tcu::BVec4 formatMask = greaterThan(formatBits, IVec4(0)); in iterate() [all …]
|
D | es2fShaderTextureFunctionTests.cpp | 182 using tcu::IVec4; 317 static const IVec4 texCubeSwz[] = in initTexture() 319 IVec4(0,0,1,1), in initTexture() 320 IVec4(1,1,0,0), in initTexture() 321 IVec4(0,1,0,1), in initTexture() 322 IVec4(1,0,1,0), in initTexture() 323 IVec4(0,1,1,0), in initTexture() 324 IVec4(1,0,0,1) in initTexture() 383 const IVec4& swzA = texCubeSwz[face]; in initTexture() 384 IVec4 swzB = 1-swzA; in initTexture()
|
D | es2fStencilTests.cpp | 47 using tcu::IVec4; 180 void executeOps (sglr::Context& context, const IVec4& cell, const vector<StencilOp>& ops); 205 void StencilCase::executeOps (sglr::Context& context, const IVec4& cell, const vector<StencilOp>& o… in executeOps() 292 IVec4 viewport = IVec4(viewportX, viewportY, width, height); in iterate() 313 vector<IVec4> cells; in iterate() 318 cells.push_back(IVec4(x*cellWidth, y*cellHeight, cellWidth, cellHeight)); in iterate()
|
D | es2fDepthStencilClearTests.cpp | 84 tcu::IVec4 scissor; 246 clear->scissor = tcu::IVec4(x, y, w, h); in generateClears() 424 …tcu::IVec4 clearRect = clear->useScissor ? clear->scissor : tcu::IVec4(0, 0, dst.getWidth(), dst.g… in renderReference() 468 …tcu::IVec4 clearRect = clear->useScissor ? clear->scissor : tcu::IVec4(0, 0, dst.getWidth(), dst.g… in renderReference()
|
/external/deqp/framework/opengl/simplereference/ |
D | sglrGLContext.hpp | 53 …glu::RenderContext& context, tcu::TestLog& log, deUint32 logFlags, const tcu::IVec4& baseViewport); 231 tcu::IVec4 m_baseViewport; 232 tcu::IVec4 m_curViewport; 233 tcu::IVec4 m_curScissor;
|