/external/deqp/external/vulkancts/modules/vulkan/pipeline/ |
vktPipelineClearUtil.hpp | 37 tcu::IVec4 defaultClearColorInt (const tcu::TextureFormat& format);
|
vktPipelineClearUtil.cpp | 47 tcu::IVec4 defaultClearColorInt (const tcu::TextureFormat& format) 52 const tcu::IVec4 result ((deInt32)deFloatRound(color.x()), (deInt32)deFloatRound(color.y()), 116 const tcu::IVec4 defaultColor = defaultClearColorInt(tcuClearFormat);
|
/external/deqp/modules/gles2/performance/ |
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), 164 IVec4(3,2,1,0), IVec4(2,1,0,3), IVec4(1,0,3,2), IVec4(0,3,2,1) } [all...] |
/external/deqp/modules/gles3/performance/ |
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), 190 IVec4(3,2,1,0), IVec4(2,1,0,3), IVec4(1,0,3,2), IVec4(0,3,2,1) } [all...] |
/external/deqp/modules/gles3/functional/ |
es3fFramebufferBlitTests.cpp | 51 using tcu::IVec4; 58 BlitRectCase (Context& context, const char* name, const char* desc, deUint32 filter, const IVec2& srcSize, const IVec4& srcRect, const IVec2& dstSize, const IVec4& dstRect, int cellSize = 8) 156 const IVec4 m_srcRect; 158 const IVec4 m_dstRect; 167 BlitNearestFilterConsistencyCase (Context& context, const char* name, const char* desc, const IVec2& srcSize, const IVec4& srcRect, const IVec2& dstSize, const IVec4& dstRect); 172 BlitNearestFilterConsistencyCase::BlitNearestFilterConsistencyCase (Context& context, const char* name, const char* desc, const IVec2& srcSize, const IVec4& srcRect, const IVec2& dstSize, const IVec4& dstRect) 190 const tcu::IVec4 destinationArea = tcu::IVec4(de::clamp(de::min(m_dstRect.x(), m_dstRect.z()), 0, result.getWidth() (…) [all...] |
es3fFragmentOutputTests.cpp | 58 using tcu::IVec4; 388 static inline IVec4 readIVec4 (const int* ptr, int numComponents) 391 return IVec4(ptr[0], 439 IVec4 c = readIVec4(vertices + (cellY*gridWidth + cellX+1)*numComponents, numComponents); 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...] |
es3fASTCDecompressionCases.cpp | 66 using tcu::IVec4; 143 IVec4& maxDiffDst) 149 const IVec4 threshold = thresholdRGBA.toIVec(); 157 maxDiffDst = IVec4(0); 166 const IVec4 refPix = reference.getPixel(x, y).toIVec(); 168 if (refPix == IVec4(255, 0, 255, 255)) 175 const IVec4 resPix = result.getPixel(x, y).toIVec(); 176 const IVec4 diff = tcu::abs(refPix - resPix); 460 IVec4 maxDiff;
|
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>& ops) 295 IVec4 viewport = IVec4(viewportX, viewportY, width, height); 316 vector<IVec4> cells; 321 cells.push_back(IVec4(x*cellWidth, y*cellHeight, cellWidth, cellHeight));
|
es3fDepthStencilClearTests.cpp | 84 tcu::IVec4 scissor; 249 clear->scissor = tcu::IVec4(x, y, w, h); 427 tcu::IVec4 clearRect = clear->useScissor ? clear->scissor : tcu::IVec4(0, 0, dst.getWidth(), dst.getHeight()); 471 tcu::IVec4 clearRect = clear->useScissor ? clear->scissor : tcu::IVec4(0, 0, dst.getWidth(), dst.getHeight());
|
/external/deqp/framework/referencerenderer/ |
rrVertexAttrib.hpp | 152 void readVertexAttrib (tcu::IVec4& dst, const VertexAttrib& vertexAttrib, const int instanceNdx, const int vertexNdx); 164 inline tcu::IVec4 readVertexAttribInt (const VertexAttrib& vertexAttrib, const int instanceNdx, const int vertexNdx) 166 tcu::IVec4 v;
|
rrRasterizer.hpp | 130 TriangleRasterizer (const tcu::IVec4& viewport, const int numSamples, const RasterizationState& state); 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);
|
rrMultisamplePixelBufferAccess.hpp | 99 void clear (const MultisamplePixelBufferAccess& access, const tcu::IVec4& color);
|
/external/deqp/framework/common/ |
tcuTexLookupVerifier.hpp | 98 Vec4 computeFixedPointThreshold (const IVec4& bits); 99 Vec4 computeFloatingPointThreshold (const IVec4& bits, const Vec4& value); 114 bool isLookupResultValid (const TextureCubeArrayView& texture, const Sampler& sampler, const LookupPrecision& prec, const IVec4& coordBits, const Vec4& coord, const Vec2& lodBounds, const Vec4& result); 117 bool isLevel1DLookupResultValid (const ConstPixelBufferAccess& access, const Sampler& sampler, TexLookupScaleMode scaleMode, const IntLookupPrecision& prec, const float coordX, const int coordY, const IVec4& result); 121 bool isLevel2DLookupResultValid (const ConstPixelBufferAccess& access, const Sampler& sampler, TexLookupScaleMode scaleMode, const IntLookupPrecision& prec, const Vec2& coord, const int coordZ, const IVec4& result); 125 bool isLevel3DLookupResultValid (const ConstPixelBufferAccess& access, const Sampler& sampler, TexLookupScaleMode scaleMode, const IntLookupPrecision& prec, const Vec3& coord, const IVec4& result); 131 bool isGatherOffsetsResultValid (const Texture2DView& texture, const Sampler& sampler, const IntLookupPrecision& prec, const Vec2& coord, int componentNdx, const IVec2 (&offsets)[4], const IVec4& result); 135 bool isGatherOffsetsResultValid (const Texture2DArrayView& texture, const Sampler& sampler, const IntLookupPrecision& prec, const Vec3& coord, int componentNdx, const IVec2 (&offsets)[4], const IVec4& result); 140 bool isGatherResultValid (const TextureCubeView& texture, const Sampler& sampler, const IntLookupPrecision& prec, const Vec3& coord, int componentNdx, const IVec4& result);
|
tcuVectorType.hpp | 46 typedef Vector<int, 4> IVec4;
|
tcuTextureUtil.cpp | 452 IVec4 getFormatMinIntValue (const TextureFormat& format) 458 case TextureFormat::SIGNED_INT8: return IVec4(std::numeric_limits<deInt8>::min()); 459 case TextureFormat::SIGNED_INT16: return IVec4(std::numeric_limits<deInt16>::min()); 460 case TextureFormat::SIGNED_INT32: return IVec4(std::numeric_limits<deInt32>::min()); 464 return IVec4(0); 468 IVec4 getFormatMaxIntValue (const TextureFormat& format) 474 case TextureFormat::SIGNED_INT8: return IVec4(std::numeric_limits<deInt8>::max()); 475 case TextureFormat::SIGNED_INT16: return IVec4(std::numeric_limits<deInt16>::max()); 476 case TextureFormat::SIGNED_INT32: return IVec4(std::numeric_limits<deInt32>::max()); 480 return IVec4(0) [all...] |
tcuTextureUtil.hpp | 103 IVec4 getTextureFormatBitDepth (const TextureFormat& format); 104 IVec4 getTextureFormatMantissaBitDepth (const TextureFormat& format); 107 IVec4 getFormatMinIntValue (const TextureFormat& format); 108 IVec4 getFormatMaxIntValue (const TextureFormat& format); 114 void clear (const PixelBufferAccess& access, const IVec4& color);
|
tcuRGBA.cpp | 48 IVec4 RGBA::toIVec (void) const 50 return IVec4(getRed(), getGreen(), getBlue(), getAlpha());
|
tcuImageCompare.cpp | 93 const tcu::IVec4 okColor (0, 255, 0, 255); 94 const tcu::IVec4 errorColor (255, 0, 0, 255); 118 const IVec4 refPix = reference.getPixelInt(x, y, z); 119 const IVec4 cmpPix = result.getPixelInt(x, y, z); 141 const IVec4 deviatedCmpPix = result.getPixelInt(sx, sy, sz); 164 const IVec4 deviatedRefPix = reference.getPixelInt(sx, sy, sz); 302 IVec4 a = ref.getPixelInt(x, y); 303 IVec4 b = cmp.getPixelInt(x, y); 304 IVec4 diff = abs(a - b); 761 IVec4 refPix = reference.getPixelInt(x, y, z) [all...] |
/external/deqp/modules/internal/ |
ditSeedBuilderTests.cpp | 32 using tcu::IVec4; 162 addChild(new SeedBuilderTest<IVec4>(m_testCtx, IVec4(0), 73989201u, "ivec4_zero", "Seed from zero vector.")); 166 addChild(new SeedBuilderTest<IVec4>(m_testCtx, IVec4(1), 90609878u, "ivec4_one", "Seed from one vector.")); 168 addChild(new SeedBuilderTest<IVec4>(m_testCtx, IVec4(1, 2, 3, 4), 6202236u, "ivec4_1_2_3_4", "Seed from (1, 2, 3, 4) vector.")); 169 addChild(new SeedBuilderTest<IVec4>(m_testCtx, IVec4(4, 3, 2, 1), 26964618u, "ivec4_4_3_2_1", "Seed from (4, 3, 2, 1) vector."));
|
/external/deqp/modules/glshared/ |
glsScissorTests.cpp | 69 using tcu::IVec4; 114 void clearEdges (const tcu::PixelBufferAccess& access, const T& color, const IVec4& scissorArea) 178 virtual void render (GLuint program, const IVec4& viewport) const = 0; 205 const IVec4 relScissorArea (int(m_scissorArea.x() * (float)viewport.width), 209 const IVec4 absScissorArea (relScissorArea.x() + viewport.x, 224 log << TestLog::Message << "Viewport area is " << IVec4(viewport.x, viewport.y, viewport.width, viewport.height) << TestLog::EndMessage; 242 render(shader.getProgram(), IVec4(viewport.x, viewport.y, viewport.width, viewport.height)); 266 render(shader.getProgram(), IVec4(viewport.x, viewport.y, viewport.width, viewport.height)); 274 clearEdges(refImage.getAccess(), IVec4(32, 64, 128, 255), relScissorArea); 299 virtual void render (GLuint program, const IVec4& viewport) const [all...] |
/external/deqp/modules/gles31/functional/ |
es31fTextureFilteringTests.cpp | 215 const tcu::IVec4 levelSwz[] = 217 tcu::IVec4(0,1,2,3), 218 tcu::IVec4(2,1,3,0), 219 tcu::IVec4(3,0,1,2), 220 tcu::IVec4(1,3,2,0), 232 const tcu::IVec4 swz = levelSwz[layerFaceNdx % DE_LENGTH_OF_ARRAY(levelSwz)]; 376 const tcu::IVec4 coordBits = tcu::IVec4(10); 377 const tcu::IVec4 colorBits = max(getBitsVec(pixelFormat) - (isNearestOnly ? 1 : 2), tcu::IVec4(0)); // 1 inaccurate bit if nearest only, 2 otherwis [all...] |
/external/deqp/modules/gles2/functional/ |
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>& ops) 292 IVec4 viewport = IVec4(viewportX, viewportY, width, height); 313 vector<IVec4> cells; 318 cells.push_back(IVec4(x*cellWidth, y*cellHeight, cellWidth, cellHeight));
|
es2fShaderTextureFunctionTests.cpp | 183 using tcu::IVec4; 312 static const IVec4 texCubeSwz[] = 314 IVec4(0,0,1,1), 315 IVec4(1,1,0,0), 316 IVec4(0,1,0,1), 317 IVec4(1,0,1,0), 318 IVec4(0,1,1,0), 319 IVec4(1,0,0,1) 378 const IVec4& swzA = texCubeSwz[face]; 379 IVec4 swzB = 1-swzA [all...] |
es2fTextureMipmapTests.cpp | 57 using tcu::IVec4; 357 lookupPrec.colorThreshold = tcu::computeFixedPointThreshold(max(getBitsVec(pixelFormat) - (isTrilinear ? 2 : 1), tcu::IVec4(0))); 550 static void randomPartition (vector<IVec4>& dst, de::Random& rnd, int x, int y, int width, int height) 572 dst.push_back(IVec4(x, y, width, height)); 575 static void computeGridLayout (vector<IVec4>& dst, int width, int height) 615 vector<IVec4> gridLayout; 681 lookupPrec.colorThreshold = tcu::computeFixedPointThreshold(max(getBitsVec(m_renderCtx.getRenderTarget().getPixelFormat())-2, IVec4(0))); 863 const IVec4 framebufferBits = max(getBitsVec(m_renderCtx.getRenderTarget().getPixelFormat())-2, IVec4(0)); 864 const IVec4 formatBits = tcu::getTextureFormatBitDepth(glu::mapGLTransferFormat(m_format, m_dataType)) [all...] |
es2fDepthStencilClearTests.cpp | 84 tcu::IVec4 scissor; 246 clear->scissor = tcu::IVec4(x, y, w, h); 424 tcu::IVec4 clearRect = clear->useScissor ? clear->scissor : tcu::IVec4(0, 0, dst.getWidth(), dst.getHeight()); 468 tcu::IVec4 clearRect = clear->useScissor ? clear->scissor : tcu::IVec4(0, 0, dst.getWidth(), dst.getHeight());
|