/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 | 293 static IVec4 getChannelBitDepth (TextureFormat::ChannelType channelType) 297 case TextureFormat::SNORM_INT8: return IVec4(8); 298 case TextureFormat::SNORM_INT16: return IVec4(16); 299 case TextureFormat::SNORM_INT32: return IVec4(32); 300 case TextureFormat::UNORM_INT8: return IVec4(8); 301 case TextureFormat::UNORM_INT16: return IVec4(16); 302 case TextureFormat::UNORM_INT32: return IVec4(32); 303 case TextureFormat::UNORM_SHORT_565: return IVec4(5,6,5,0); 304 case TextureFormat::UNORM_SHORT_4444: return IVec4(4); 305 case TextureFormat::UNORM_SHORT_555: return IVec4(5,5,5,0) [all...] |
tcuTextureUtil.hpp | 82 IVec4 getTextureFormatBitDepth (const TextureFormat& format); 83 IVec4 getTextureFormatMantissaBitDepth (const TextureFormat& format); 87 void clear (const PixelBufferAccess& access, const IVec4& color);
|
tcuRGBA.cpp | 54 IVec4 RGBA::toIVec (void) const 56 return IVec4(getRed(), getGreen(), getBlue(), getAlpha());
|
tcuImageCompare.cpp | 105 const IVec4 refPix = reference.getPixelInt(x, y, z); 106 const IVec4 cmpPix = result.getPixelInt(x, y, z); 115 errorMask.setPixel(IVec4(0, 0xff, 0, 0xff), x, y, z); 127 errorMask.setPixel(IVec4(0, 0xff, 0, 0xff), x, y, z); 143 const IVec4 deviatedCmpPix = result.getPixelInt(sx, sy, sz); 156 const IVec4 deviatedRefPix = reference.getPixelInt(sx, sy, sz); 164 errorMask.setPixel(IVec4(0, 0xff, 0, 0xff), x, y, z); 167 errorMask.setPixel(IVec4(0xff, 0, 0, 0xff), x, y, z); 295 IVec4 a = ref.getPixelInt(x, y); 296 IVec4 b = cmp.getPixelInt(x, y) [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; 387 static inline IVec4 readIVec4 (const int* ptr, int numComponents) 390 return IVec4(ptr[0], 438 IVec4 c = readIVec4(vertices + (cellY*gridWidth + cellX+1)*numComponents, numComponents); 445 static const IVec4 s_swizzles[] = 447 IVec4(0,1,2,3), 448 IVec4(1,2,3,0), 449 IVec4(2,3,0,1), 450 IVec4(3,0,1,2), 451 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());
|
es3fColorClearTest.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));
|
/external/deqp/framework/referencerenderer/ |
rrVertexAttrib.hpp | 132 void readVertexAttrib (tcu::IVec4& dst, const VertexAttrib& vertexAttrib, const int instanceNdx, const int vertexNdx); 144 inline tcu::IVec4 readVertexAttribInt (const VertexAttrib& vertexAttrib, const int instanceNdx, const int vertexNdx) 146 tcu::IVec4 v;
|
rrRasterizer.hpp | 130 TriangleRasterizer (const tcu::IVec4& viewport, const int numSamples, const RasterizationState& state); 145 const tcu::IVec4 m_viewport; 179 SingleSampleLineRasterizer (const tcu::IVec4& viewport); 192 const tcu::IVec4 m_viewport; 220 MultiSampleLineRasterizer (const int numSamples, const tcu::IVec4& viewport);
|
rrMultisamplePixelBufferAccess.hpp | 96 void clear (const MultisamplePixelBufferAccess& access, const tcu::IVec4& color);
|
/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; 200 const IVec4 relScissorArea (int(m_scissorArea.x()*viewport.width), 204 const IVec4 absScissorArea (relScissorArea.x() + viewport.x, 219 log << TestLog::Message << "Viewport area is " << IVec4(viewport.x, viewport.y, viewport.width, viewport.height) << TestLog::EndMessage; 237 render(shader.getProgram(), IVec4(viewport.x, viewport.y, viewport.width, viewport.height)); 261 render(shader.getProgram(), IVec4(viewport.x, viewport.y, viewport.width, viewport.height)); 269 clearEdges(refImage.getAccess(), IVec4(32, 64, 128, 255), relScissorArea); 294 virtual void render (GLuint program, const IVec4& viewport) const [all...] |
/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...] |
es31fStencilTexturingTests.cpp | 57 using tcu::IVec4; 67 static void genTestRects (vector<IVec4>& rects, int width, int height) 75 rects.push_back(IVec4(width-curWidth, height-curHeight, curWidth, curHeight)); 89 static void rectsToTriangles (const vector<IVec4>& rects, int width, int height, vector<Vec2>& positions, vector<deUint16>& indices) 138 vector<IVec4> rects; 168 vector<IVec4> rects; 172 tcu::clear(dst, IVec4(0)); 176 for (vector<IVec4>::const_iterator rectIter = rects.begin(); rectIter != rects.end(); ++rectIter) 598 tcu::clear(levelAccess, IVec4(0, 0, 0, levelNdx)); 684 tcu::clear(texData.getLevelFace(0, face), IVec4(0, 0, 0, stencilVal)) [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))); 864 const IVec4 framebufferBits = max(getBitsVec(m_renderCtx.getRenderTarget().getPixelFormat())-2, IVec4(0)); 865 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));
|