HomeSort by relevance Sort by last modified time
    Searched refs:UVec4 (Results 1 - 25 of 90) sorted by null

1 2 3 4

  /external/deqp/modules/internal/
ditSRGB8ConversionTest.cpp 55 const tcu::UVec4 calculateDiscreteFloatDistance (const tcu::Vec4& ref, const tcu::Vec4& res)
57 return tcu::UVec4(calculateDiscreteFloatDistance(ref[0], res[0]), calculateDiscreteFloatDistance(ref[1], res[1]), calculateDiscreteFloatDistance(ref[2], res[2]), calculateDiscreteFloatDistance(ref[3], res[3]));
75 const tcu::UVec4 src (i);
79 const tcu::UVec4 discreteFloatDiff (calculateDiscreteFloatDistance(ref, res));
84 if (tcu::boolAny(tcu::greaterThan(discreteFloatDiff, tcu::UVec4(1u))))
  /external/deqp/external/vulkancts/modules/vulkan/pipeline/
vktPipelineClearUtil.hpp 38 tcu::UVec4 defaultClearColorUint (const tcu::TextureFormat& format);
vktPipelineClearUtil.cpp 58 tcu::UVec4 defaultClearColorUint (const tcu::TextureFormat& format)
63 const tcu::UVec4 result ((deUint32)deFloatRound(color.x()), (deUint32)deFloatRound(color.y()),
108 const tcu::UVec4 defaultColor = defaultClearColorUint(tcuClearFormat);
vktPipelineReferenceRenderer.hpp 43 tcu::Vec4 swizzle (const tcu::Vec4& color, const tcu::UVec4& swizzle);
176 const tcu::UVec4 m_swizzle;
179 SamplerFragmentShader (const tcu::TextureFormat& colorFormat, const TextureType& texture, const tcu::Sampler& sampler, float lod, const tcu::Vec4& lookupScale, const tcu::Vec4& lookupBias, const tcu::UVec4& swizzle)
273 SamplerProgram (const tcu::TextureFormat& colorFormat, const TextureType& texture, const tcu::Sampler& sampler, float lod, const tcu::Vec4& lookupScale, const tcu::Vec4& lookupBias, const tcu::UVec4& swizzle)
vktPipelineImageSamplingInstance.cpp 183 const tcu::UVec4& componentMapping,
    [all...]
  /external/deqp/framework/referencerenderer/
rrVertexAttrib.hpp 153 void readVertexAttrib (tcu::UVec4& dst, const VertexAttrib& vertexAttrib, const int instanceNdx, const int vertexNdx);
171 inline tcu::UVec4 readVertexAttribUint (const VertexAttrib& vertexAttrib, const int instanceNdx, const int vertexNdx)
173 tcu::UVec4 v;
rrFragmentOperations.hpp 85 void clearMultisampleColorBuffer (const tcu::PixelBufferAccess& dst, const tcu::UVec4& value, const WindowRectangle& rect);
  /external/deqp/framework/common/
tcuImageCompare.hpp 52 bool floatUlpThresholdCompare (TestLog& log, const char* imageSetName, const char* imageSetDesc, const ConstPixelBufferAccess& reference, const ConstPixelBufferAccess& result, const UVec4& threshold, CompareLogMode logMode);
55 bool intThresholdCompare (TestLog& log, const char* imageSetName, const char* imageSetDesc, const ConstPixelBufferAccess& reference, const ConstPixelBufferAccess& result, const UVec4& threshold, CompareLogMode logMode);
56 bool intThresholdPositionDeviationCompare (TestLog& log, const char* imageSetName, const char* imageSetDesc, const ConstPixelBufferAccess& reference, const ConstPixelBufferAccess& result, const UVec4& threshold, const tcu::IVec3& maxPositionDeviation, bool acceptOutOfBoundsAsAnyValue, CompareLogMode logMode);
57 bool intThresholdPositionDeviationErrorThresholdCompare (TestLog& log, const char* imageSetName, const char* imageSetDesc, const ConstPixelBufferAccess& reference, const ConstPixelBufferAccess& result, const UVec4& threshold, const tcu::IVec3& maxPositionDeviation, bool acceptOutOfBoundsAsAnyValue, int maxAllowedFailingPixels, CompareLogMode logMode);
tcuVectorType.hpp 51 typedef Vector<deUint32, 4> UVec4;
tcuTexLookupVerifier.hpp 63 UVec4 colorThreshold; //!< Threshold for match.
118 bool isLevel1DLookupResultValid (const ConstPixelBufferAccess& access, const Sampler& sampler, TexLookupScaleMode scaleMode, const IntLookupPrecision& prec, const float coordX, const int coordY, const UVec4& result);
122 bool isLevel2DLookupResultValid (const ConstPixelBufferAccess& access, const Sampler& sampler, TexLookupScaleMode scaleMode, const IntLookupPrecision& prec, const Vec2& coord, const int coordZ, const UVec4& result);
126 bool isLevel3DLookupResultValid (const ConstPixelBufferAccess& access, const Sampler& sampler, TexLookupScaleMode scaleMode, const IntLookupPrecision& prec, const Vec3& coord, const UVec4& result);
132 bool isGatherOffsetsResultValid (const Texture2DView& texture, const Sampler& sampler, const IntLookupPrecision& prec, const Vec2& coord, int componentNdx, const IVec2 (&offsets)[4], const UVec4& result);
136 bool isGatherOffsetsResultValid (const Texture2DArrayView& texture, const Sampler& sampler, const IntLookupPrecision& prec, const Vec3& coord, int componentNdx, const IVec2 (&offsets)[4], const UVec4& result);
141 bool isGatherResultValid (const TextureCubeView& texture, const Sampler& sampler, const IntLookupPrecision& prec, const Vec3& coord, int componentNdx, const UVec4& result);
tcuTextureUtil.hpp 48 Vec4 sRGB8ToLinear (const UVec4& cs);
49 Vec4 sRGBA8ToLinear (const UVec4& cs);
110 UVec4 getFormatMaxUintValue (const TextureFormat& format);
115 void clear (const PixelBufferAccess& access, const UVec4& color);
tcuImageCompare.cpp 91 static int findNumPositionDeviationFailingPixels (const PixelBufferAccess& errorMask, const ConstPixelBufferAccess& reference, const ConstPixelBufferAccess& result, const UVec4& threshold, const tcu::IVec3& maxPositionDeviation, bool acceptOutOfBoundsAsAnyValue)
123 const UVec4 diff = abs(refPix - cmpPix).cast<deUint32>();
142 const UVec4 diff = abs(refPix - deviatedCmpPix).cast<deUint32>();
165 const UVec4 diff = abs(cmpPix - deviatedRefPix).cast<deUint32>();
456 static tcu::UVec4 computeFlushRelaxedULPDiff (const tcu::Vec4& a, const tcu::Vec4& b)
458 return tcu::UVec4(computeFloatFlushRelaxedULPDiff(a.x(), b.x()),
487 bool floatUlpThresholdCompare (TestLog& log, const char* imageSetName, const char* imageSetDesc, const ConstPixelBufferAccess& reference, const ConstPixelBufferAccess& result, const UVec4& threshold, CompareLogMode logMode)
494 UVec4 maxDiff (0, 0, 0, 0);
508 const UVec4 diff = computeFlushRelaxedULPDiff(refPix, cmpPix);
742 bool intThresholdCompare (TestLog& log, const char* imageSetName, const char* imageSetDesc, const ConstPixelBufferAccess& reference, const ConstPixelBufferAccess& result, const UVec4& threshold, CompareLogMode logMode
    [all...]
tcuAstcUtil.cpp 332 UVec4 e0;
333 UVec4 e1;
776 inline UVec4 clampedRGBA (const IVec4& rgba)
778 return UVec4(de::clamp(rgba.x(), 0, 0xff),
799 void decodeHDREndpointMode7 (UVec4& e0, UVec4& e1, deUint32 v0, deUint32 v1, deUint32 v2, deUint32 v3)
867 e0 = UVec4(de::clamp(red - scale, 0, 0xfff),
872 e1 = UVec4(de::clamp(red, 0, 0xfff),
878 void decodeHDREndpointMode11 (UVec4& e0, UVec4& e1, deUint32 v0, deUint32 v1, deUint32 v2, deUint32 v3, deUint32 v4, deUint32 v5
    [all...]
tcuTextureUtil.cpp 77 Vec4 sRGB8ToLinear (const UVec4& cs)
85 Vec4 sRGBA8ToLinear (const UVec4& cs)
484 UVec4 getFormatMaxUintValue (const TextureFormat& format)
489 return UVec4(1023u, 1023u, 1023u, 3u);
493 case TextureFormat::UNSIGNED_INT8: return UVec4(std::numeric_limits<deUint8>::max());
494 case TextureFormat::UNSIGNED_INT16: return UVec4(std::numeric_limits<deUint16>::max());
495 case TextureFormat::UNSIGNED_INT24: return UVec4(0xffffffu);
496 case TextureFormat::UNSIGNED_INT32: return UVec4(std::numeric_limits<deUint32>::max());
500 return UVec4(0);
758 void clear (const PixelBufferAccess& access, const UVec4& color
    [all...]
  /external/deqp/external/vulkancts/framework/vulkan/
vkImageUtil.hpp 54 tcu::UVec4 mapVkComponentMapping (const vk::VkComponentMapping& mapping);
vkImageUtil.cpp     [all...]
  /external/deqp/modules/gles2/functional/
es2fRandomFragmentOpTests.cpp 222 tcu::UVec4 getCompareThreshold (void) const;
377 const tcu::UVec4 threshold = getCompareThreshold();
415 tcu::UVec4 RandomFragmentOpCase::getCompareThreshold (void) const
420 return format.getColorThreshold().toIVec().asUint() + tcu::UVec4(6); // Default threshold.
423 * tcu::UVec4(5) + tcu::UVec4(2); // \note Non-scientific ad hoc formula. Need big threshold when few color bits; especially multiple blendings bring extra inaccuracy.
es2fBlendTests.cpp 52 using tcu::UVec4;
272 UVec4 compareThreshold = m_context.getRenderTarget().getPixelFormat().getColorThreshold().toIVec().asUint()
273 * UVec4(5) / UVec4(2) + UVec4(3); // \note Non-scientific ad hoc formula. Need big threshold when few color bits; blending brings extra inaccuracy.
  /external/deqp/modules/gles3/functional/
es3fRandomFragmentOpTests.cpp 222 tcu::UVec4 getCompareThreshold (void) const;
377 const tcu::UVec4 threshold = getCompareThreshold();
415 tcu::UVec4 RandomFragmentOpCase::getCompareThreshold (void) const
420 return format.getColorThreshold().toIVec().asUint() + tcu::UVec4(2); // Default threshold.
423 * tcu::UVec4(5) + tcu::UVec4(2); // \note Non-scientific ad hoc formula. Need big threshold when few color bits; especially multiple blendings bring extra inaccuracy.
es3fFragmentOutputTests.cpp 60 using tcu::UVec4;
722 UVec4 maxVal (range.y());
728 const UVec4 fmtMaxVal = ((tcu::Vector<deUint64, 4>(1) << fmtBits.cast<deUint64>())-deUint64(1)).asUint();
733 m_testCtx.getLog() << TestLog::Message << "out" << curInVec << " value range: " << valueRangeToString(numScalars, UVec4(0), maxVal) << TestLog::EndMessage;
736 const UVec4 step = maxVal / rangeDiv.asUint();
747 UVec4 c = step*swizzleVec(IVec4(x, y, ix, iy).asUint(), curInVec);
897 UVec4 formatThreshold; //!< Threshold computed based on format.
898 UVec4 finalThreshold;
903 case tcu::TextureFormat::FLOAT: formatThreshold = UVec4(0); break;
904 case tcu::TextureFormat::HALF_FLOAT: formatThreshold = UVec4((1<<(23-10))); break
    [all...]
es3fBlendTests.cpp 53 using tcu::UVec4;
327 UVec4 compareThreshold = (m_useSrgbFbo ? tcu::PixelFormat(8, 8, 8, 8) : m_context.getRenderTarget().getPixelFormat()).getColorThreshold().toIVec().asUint()
328 * UVec4(5) / UVec4(2) + UVec4(m_useSrgbFbo ? 5 : 2); // \note Non-scientific ad hoc formula. Need big threshold when few color bits; blending brings extra inaccuracy.
es3fFboTestUtil.cpp 125 const tcu::UVec4 uicolor = castVectorSaturate<deUint32>(color);
224 const tcu::UVec4 uicolor = castVectorSaturate<deUint32>(color);
411 const tcu::UVec4 uicolor = castVectorSaturate<deUint32>(color);
549 const tcu::UVec4 uicolor = castVectorSaturate<deUint32>(color);
657 const tcu::UVec4 uicolor = castVectorSaturate<deUint32>(color);
765 const tcu::UVec4 uicolor = castVectorSaturate<deUint32>(color);
843 const tcu::UVec4 uicolor (castVectorSaturate<deUint32>(color));
    [all...]
  /external/deqp/external/vulkancts/modules/vulkan/sparse_resources/
vktSparseResourcesImageSparseResidency.cpp 681 const tcu::UVec4 referenceValue = tcu::UVec4(offsetX % 127u, offsetY % 127u, offsetZ % 127u, 1u);
682 const tcu::UVec4 outputValue = pixelBuffer.getPixelUint(offsetX, offsetY, offsetZ);
699 const tcu::UVec4 referenceValue = tcu::UVec4(0u, 0u, 0u, 0u);
700 const tcu::UVec4 outputValue = pixelBuffer.getPixelUint(offsetX, offsetY, offsetZ);
721 const tcu::UVec4 referenceValue = tcu::UVec4(offsetX % 127u, offsetY % 127u, offsetZ % 127u, 1u);
722 const tcu::UVec4 outputValue = pixelBuffer.getPixelUint(offsetX, offsetY, offsetZ);
    [all...]
  /external/deqp/modules/egl/
teglNativeColorMappingTests.cpp 250 const tcu::UVec4 eglBitDepth((deUint32)eglu::getConfigAttribInt(egl, display, config, EGL_RED_SIZE),
255 const tcu::UVec4 nativeBitDepth(tcu::getTextureFormatBitDepth(result.getFormat()).asUint());
256 const tcu::UVec4 bitDepth(deMinu32(nativeBitDepth.x(), eglBitDepth.x()),
261 const tcu::UVec4 uColor = tcu::UVec4((deUint32)((float)((1u << bitDepth.x()) - 1u) * color.x()),
274 return tcu::intThresholdCompare(log, "Result compare", "Compare results", reference.getAccess(), result.getAccess(), tcu::UVec4(1u, 1u, 1u, (bitDepth.w() > 0 ? 1u : std::numeric_limits<deUint32>::max())), tcu::COMPARE_LOG_RESULT);
  /external/deqp/modules/gles31/functional/
es31fAdvancedBlendTests.cpp 59 using tcu::UVec4;
549 const UVec4 compareThreshold = (useFbo ? tcu::PixelFormat(8, 8, 8, 8) : m_context.getRenderTarget().getPixelFormat()).getColorThreshold().toIVec().asUint()
550 * UVec4(5) / UVec4(2) + UVec4(3 * m_overdrawCount);

Completed in 558 milliseconds

1 2 3 4