HomeSort by relevance Sort by last modified time
    Searched refs:IVec4 (Results 26 - 50 of 127) sorted by null

12 3 4 5 6

  /external/deqp/modules/gles3/functional/
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));
es3fDitheringTests.cpp 50 using tcu::IVec4;
67 static inline IVec4 pixelFormatToIVec4 (const PixelFormat& format)
69 return IVec4(format.redBits, format.greenBits, format.blueBits, format.alphaBits);
170 const IVec4 channelBits = pixelFormatToIVec4(m_renderFormat);
es3fFboTestUtil.cpp 53 using tcu::IVec4;
124 const tcu::IVec4 icolor = castVectorSaturate<deInt32>(color);
223 const tcu::IVec4 icolor = castVectorSaturate<deInt32>(color);
410 const tcu::IVec4 icolor = castVectorSaturate<deInt32>(color);
548 const tcu::IVec4 icolor = castVectorSaturate<deInt32>(color);
656 const tcu::IVec4 icolor = castVectorSaturate<deInt32>(color);
764 const tcu::IVec4 icolor = castVectorSaturate<deInt32>(color);
842 const tcu::IVec4 icolor (castVectorSaturate<deInt32>(color));
    [all...]
es3fClippingTests.cpp 83 inline bool isBlack (const tcu::IVec4& a)
88 inline bool isHalfFilled (const tcu::IVec4& a)
90 const tcu::IVec4 halfFilled (127, 0, 0, 0);
91 const tcu::IVec4 threshold (20, 256, 256, 256);
96 inline bool isLessThanHalfFilled (const tcu::IVec4& a)
104 inline bool compareBlackNonBlackPixels (const tcu::IVec4& a, const tcu::IVec4& b)
109 inline bool compareColoredPixels (const tcu::IVec4& a, const tcu::IVec4& b)
113 const tcu::IVec4 threshold(20, 20, 20, 0)
    [all...]
es3fTextureMipmapTests.cpp 58 using tcu::IVec4;
401 lookupPrec.colorThreshold = tcu::computeFixedPointThreshold(max(getBitsVec(pixelFormat) - (isTrilinear ? 2 : 1), tcu::IVec4(0)));
589 static void randomPartition (vector<IVec4>& dst, de::Random& rnd, int x, int y, int width, int height)
611 dst.push_back(IVec4(x, y, width, height));
614 static void computeGridLayout (vector<IVec4>& dst, int width, int height)
654 vector<IVec4> gridLayout;
720 lookupPrec.colorThreshold = tcu::computeFixedPointThreshold(max(getBitsVec(m_renderCtx.getRenderTarget().getPixelFormat())-2, IVec4(0)));
901 const IVec4 framebufferBits = max(getBitsVec(m_renderCtx.getRenderTarget().getPixelFormat())-2, IVec4(0));
902 const IVec4 formatBits = tcu::getTextureFormatBitDepth(glu::mapGLTransferFormat(m_format, m_dataType))
    [all...]
es3fTextureFilteringTests.cpp 300 const tcu::IVec4 colorBits = max(getBitsVec(pixelFormat) - (isNearestOnly ? 1 : 2), tcu::IVec4(0)); // 1 inaccurate bit if nearest only, 2 otherwise
613 const tcu::IVec4 colorBits = max(getBitsVec(pixelFormat) - (isNearestOnly ? 1 : 2), tcu::IVec4(0)); // 1 inaccurate bit if nearest only, 2 otherwise
745 const tcu::IVec4 levelSwz[] =
747 tcu::IVec4(0,1,2,3),
748 tcu::IVec4(2,1,3,0),
749 tcu::IVec4(3,0,1,2),
750 tcu::IVec4(1,3,2,0),
762 const tcu::IVec4 swz = levelSwz[layerNdx%DE_LENGTH_OF_ARRAY(levelSwz)]
    [all...]
es3fPolygonOffsetTests.cpp 80 inline bool compareThreshold (const tcu::IVec4& a, const tcu::IVec4& b, const tcu::IVec4& threshold)
102 const tcu::IVec4 threshold = tcu::IVec4(colorThreshold, colorThreshold, colorThreshold, formatThreshold.getAlpha() > 0 ? colorThreshold : 0)
103 + tcu::IVec4(formatThreshold.getRed(), formatThreshold.getGreen(), formatThreshold.getBlue(), formatThreshold.getAlpha());
115 const tcu::IVec4 cRef = ref.getPixelInt(x, y);
119 const tcu::IVec4 cTest = test.getPixelInt(x, y);
135 const tcu::IVec4 cTest = test.getPixelInt(kX, kY);
    [all...]
  /external/deqp/framework/opengl/simplereference/
sglrGLContext.hpp 53 GLContext (const 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;
sglrReferenceContext.cpp 49 using tcu::IVec4;
89 static inline bool isEmpty (const IVec4& rect)
221 static inline tcu::IVec4 intersect (const tcu::IVec4& a, const tcu::IVec4& b)
230 return tcu::IVec4(x0, y0, w, h);
233 static inline tcu::IVec4 getBufferRect (const rr::MultisampleConstPixelBufferAccess& access)
235 return tcu::IVec4(0, 0, access.raw().getHeight(), access.raw().getDepth());
    [all...]
  /external/deqp/modules/gles2/functional/
es2fDitheringTests.cpp 50 using tcu::IVec4;
67 static inline IVec4 pixelFormatToIVec4 (const PixelFormat& format)
69 return IVec4(format.redBits, format.greenBits, format.blueBits, format.alphaBits);
170 const IVec4 channelBits = pixelFormatToIVec4(m_renderFormat);
es2fReadPixelsTests.cpp 217 const tcu::IVec4 formatBitDepths = tcu::getTextureFormatBitDepth(format);
240 const tcu::IVec4 formatBitDepths = tcu::getTextureFormatBitDepth(format);
es2fClippingTests.cpp 80 inline bool isBlack (const tcu::IVec4& a)
85 inline bool isHalfFilled (const tcu::IVec4& a)
87 const tcu::IVec4 halfFilled (127, 0, 0, 0);
88 const tcu::IVec4 threshold (20, 256, 256, 256);
93 inline bool isLessThanHalfFilled (const tcu::IVec4& a)
101 inline bool compareBlackNonBlackPixels (const tcu::IVec4& a, const tcu::IVec4& b)
106 inline bool compareColoredPixels (const tcu::IVec4& a, const tcu::IVec4& b)
110 const tcu::IVec4 threshold(20, 20, 20, 0)
    [all...]
es2fPolygonOffsetTests.cpp 77 inline bool compareThreshold (const tcu::IVec4& a, const tcu::IVec4& b, const tcu::IVec4& threshold)
99 const tcu::IVec4 threshold = tcu::IVec4(colorThreshold, colorThreshold, colorThreshold, formatThreshold.getAlpha() > 0 ? colorThreshold : 0)
100 + tcu::IVec4(formatThreshold.getRed(), formatThreshold.getGreen(), formatThreshold.getBlue(), formatThreshold.getAlpha());
112 const tcu::IVec4 cRef = ref.getPixelInt(x, y);
116 const tcu::IVec4 cTest = test.getPixelInt(x, y);
132 const tcu::IVec4 cTest = test.getPixelInt(kX, kY);
    [all...]
es2fTextureSpecificationTests.cpp 59 using tcu::IVec4;
86 static tcu::IVec4 getPixelFormatCompareDepth (const tcu::PixelFormat& pixelFormat, tcu::TextureFormat textureFormat)
92 return tcu::IVec4(pixelFormat.redBits, pixelFormat.redBits, pixelFormat.redBits, pixelFormat.alphaBits);
94 return tcu::IVec4(pixelFormat.redBits, pixelFormat.greenBits, pixelFormat.blueBits, pixelFormat.alphaBits);
100 const IVec4 texFormatBits = tcu::getTextureFormatBitDepth(textureFormat);
101 const IVec4 pixelFormatBits = getPixelFormatCompareDepth(pixelFormat, textureFormat);
102 const IVec4 accurateFmtBits = min(pixelFormatBits, texFormatBits);
103 const IVec4 compareBits = select(accurateFmtBits, IVec4(8), greaterThan(accurateFmtBits, IVec4(0))) - 1
    [all...]
  /external/deqp/modules/gles31/functional/
es31fTextureBorderClampTests.cpp 376 tcu::IVec4 getNBitIntegerVec4MaxValue (bool isSigned, const tcu::IVec4& numBits)
378 return tcu::IVec4(getNBitIntegerMaxValue(isSigned, numBits[0]),
384 tcu::IVec4 getNBitIntegerVec4MinValue (bool isSigned, const tcu::IVec4& numBits)
386 return tcu::IVec4(getNBitIntegerMinValue(isSigned, numBits[0]),
427 const tcu::IVec4 sRGB8 = tcu::IVec4(tcu::floatToU8(sRGB[0]),
451 return rr::GenericVec4(tcu::select(access.getPixelInt(0, 0), tcu::IVec4(0), channelMask));
    [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;
179 for (vector<IVec4>::const_iterator rectIter = rects.begin(); rectIter != rects.end(); ++rectIter)
723 lookupPrec.colorThreshold = tcu::computeFixedPointThreshold(IVec4(8, 8, 8, 8));
    [all...]
es31fPrimitiveBoundingBoxTests.cpp 106 static tcu::IVec4 getViewportBoundingBoxArea (const ProjectedBBox& bbox, const tcu::IVec2& viewportSize, float size = 0.0f)
109 tcu::IVec4 pixelBox;
538 tcu::IVec4 getViewportPatternArea (const tcu::Vec2& patternPos, const tcu::Vec2& patternSize, const tcu::IVec2& viewportSize, AABBRoundDirection roundDir) const;
772 tcu::IVec4 BBoxRenderCase::getViewportPatternArea (const tcu::Vec2& patternPos, const tcu::Vec2& patternSize, const tcu::IVec2& viewportSize, AABBRoundDirection roundDir) const
776 tcu::IVec4 pixelBox;
    [all...]
  /external/deqp/modules/glshared/
glsShaderRenderCase.cpp 931 // IVec4.
932 struct IVec4Uniform { const char* name; IVec4 value; };
935 { "ui4_minusOne", IVec4(-1) },
936 { "ui4_zero", IVec4(0) },
937 { "ui4_one", IVec4(1) },
938 { "ui4_two", IVec4(2) },
939 { "ui4_four", IVec4(4) },
940 { "ui4_five", IVec4(5) }
glsTextureTestUtil.hpp 275 inline tcu::IVec4 getBitsVec (const tcu::PixelFormat& format)
277 return tcu::IVec4(format.redBits, format.greenBits, format.blueBits, format.alphaBits);
450 const tcu::IVec4& coordBits,
514 const tcu::IVec4& coordBits,
  /external/deqp/framework/randomshaders/
rsgProgramExecutor.cpp 188 inline tcu::IVec4 computeVertexIndices (float cellWidth, float cellHeight, int gridVtxWidth, int gridVtxHeight, int x, int y)
193 return tcu::IVec4(y0*gridVtxWidth + x0, y0*gridVtxWidth + x0 + 1, (y0+1)*gridVtxWidth + x0, (y0+1)*gridVtxWidth + x0 + 1);
326 tcu::IVec4 vtxIndices = computeVertexIndices(cellWidth, cellHeight, gridVtxWidth, gridVtxHeight, x, y);
  /external/deqp/framework/referencerenderer/
rrFragmentOperations.hpp 84 void clearMultisampleColorBuffer (const tcu::PixelBufferAccess& dst, const tcu::IVec4& value, const WindowRectangle& rect);
rrRenderer.cpp 81 tcu::IVec4 getBufferSize (const rr::MultisampleConstPixelBufferAccess& multisampleBuffer)
83 return tcu::IVec4(0, 0, multisampleBuffer.raw().getHeight(), multisampleBuffer.raw().getDepth());
104 tcu::IVec4 rectIntersection (const tcu::IVec4& a, const tcu::IVec4& b)
109 return tcu::IVec4(pos.x(), pos.y(), endPos.x() - pos.x(), endPos.y() - pos.y());
    [all...]
rrVertexAttrib.cpp 323 void readInt (tcu::IVec4& dst, const VertexAttribType type, const int size, const void* ptr)
508 void readVertexAttrib (tcu::IVec4& dst, const VertexAttrib& vertexAttrib, const int instanceNdx, const int vertexNdx)
519 dst = tcu::IVec4(0, 0, 0, 1); // defaults
  /external/deqp/modules/gles2/accuracy/
es2aTextureMipmapTests.cpp 56 using tcu::IVec4;
493 static void randomPartition (vector<IVec4>& dst, de::Random& rnd, int x, int y, int width, int height)
515 dst.push_back(IVec4(x, y, width, height));
518 static void computeGridLayout (vector<IVec4>& dst, int width, int height)
570 vector<IVec4> gridLayout;
  /external/deqp/modules/gles3/accuracy/
es3aTextureMipmapTests.cpp 53 using tcu::IVec4;
481 static void randomPartition (vector<IVec4>& dst, de::Random& rnd, int x, int y, int width, int height)
503 dst.push_back(IVec4(x, y, width, height));
506 static void computeGridLayout (vector<IVec4>& dst, int width, int height)
559 vector<IVec4> gridLayout;

Completed in 469 milliseconds

12 3 4 5 6