/external/deqp/framework/common/ |
tcuVectorType.hpp | 44 typedef Vector<int, 4> IVec4;
|
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);
|
tcuTextureUtil.cpp | 324 static IVec4 getChannelBitDepth (TextureFormat::ChannelType channelType) 331 case TextureFormat::SNORM_INT8: return IVec4(8); 332 case TextureFormat::SNORM_INT16: return IVec4(16); 333 case TextureFormat::SNORM_INT32: return IVec4(32); 334 case TextureFormat::UNORM_INT8: return IVec4(8); 335 case TextureFormat::UNORM_INT16: return IVec4(16); 336 case TextureFormat::UNORM_INT24: return IVec4(24); 337 case TextureFormat::UNORM_INT32: return IVec4(32); 338 case TextureFormat::UNORM_SHORT_565: return IVec4(5,6,5,0); 339 case TextureFormat::UNORM_SHORT_4444: return IVec4(4) [all...] |
tcuRGBA.cpp | 54 IVec4 RGBA::toIVec (void) const 56 return IVec4(getRed(), getGreen(), getBlue(), getAlpha());
|
tcuTextureUtil.hpp | 85 IVec4 getTextureFormatBitDepth (const TextureFormat& format); 86 IVec4 getTextureFormatMantissaBitDepth (const TextureFormat& format); 91 void clear (const PixelBufferAccess& access, const IVec4& color);
|
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); 760 IVec4 refPix = reference.getPixelInt(x, y, z) [all...] |
/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...] |
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 | 96 void clear (const MultisamplePixelBufferAccess& access, const tcu::IVec4& color);
|
/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()*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...] |
glsStateQueryUtil.hpp | 408 void verifyIntegerVec4 (tcu::ResultCollector& result, QueriedState& state, const tcu::IVec4& expected); 413 void verifyNormalizedI32Vec4 (tcu::ResultCollector& result, QueriedState& state, const tcu::IVec4& expected); 439 void verifyStateTextureParamNormalizedI32Vec4 (tcu::ResultCollector& result, glu::CallLogWrapper& gl, glw::GLenum target, glw::GLenum pname, const tcu::IVec4& expected, QueryType type); 440 void verifyStateTextureParamIntegerVec4 (tcu::ResultCollector& result, glu::CallLogWrapper& gl, glw::GLenum target, glw::GLenum pname, const tcu::IVec4& expected, QueryType type); 448 void verifyStateSamplerParamNormalizedI32Vec4 (tcu::ResultCollector& result, glu::CallLogWrapper& gl, glw::GLuint sampler, glw::GLenum pname, const tcu::IVec4& expected, QueryType type); 449 void verifyStateSamplerParamIntegerVec4 (tcu::ResultCollector& result, glu::CallLogWrapper& gl, glw::GLuint sampler, glw::GLenum pname, const tcu::IVec4& expected, QueryType type);
|
/external/deqp/framework/opengl/ |
gluFboRenderContext.cpp | 40 const tcu::IVec4 bits = tcu::getTextureFormatBitDepth(glu::mapGLInternalFormat(colorFormat)); 46 const tcu::IVec4 bits = tcu::getTextureFormatBitDepth(glu::mapGLInternalFormat(depthStencilFormat)); 68 const tcu::IVec4 bits = tcu::getTextureFormatBitDepth(glu::mapGLInternalFormat(format)); 107 const tcu::IVec4 bits = tcu::getTextureFormatBitDepth(glu::mapGLInternalFormat(format));
|
/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 | 182 using tcu::IVec4; 317 static const IVec4 texCubeSwz[] = 319 IVec4(0,0,1,1), 320 IVec4(1,1,0,0), 321 IVec4(0,1,0,1), 322 IVec4(1,0,1,0), 323 IVec4(0,1,1,0), 324 IVec4(1,0,0,1) 383 const IVec4& swzA = texCubeSwz[face]; 384 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());
|
es2fColorClearTest.cpp | 90 ClearInfo (const tcu::IVec4& rect, deUint8 colorMask, tcu::RGBA color) 95 tcu::IVec4 m_rect; 162 clearOps.push_back(ClearInfo(tcu::IVec4(clearX, clearY, clearWidth, clearHeight), clearMask, clearCol));
|