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

1 2 3 4 5 6

  /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);
  /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;
  /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.
123 bool isLevel1DLookupResultValid (const ConstPixelBufferAccess& access, const Sampler& sampler, TexLookupScaleMode scaleMode, const IntLookupPrecision& prec, const float coordX, const int coordY, const UVec4& result);
127 bool isLevel2DLookupResultValid (const ConstPixelBufferAccess& access, const Sampler& sampler, TexLookupScaleMode scaleMode, const IntLookupPrecision& prec, const Vec2& coord, const int coordZ, const UVec4& result);
131 bool isLevel3DLookupResultValid (const ConstPixelBufferAccess& access, const Sampler& sampler, TexLookupScaleMode scaleMode, const IntLookupPrecision& prec, const Vec3& coord, const UVec4& result);
137 bool isGatherOffsetsResultValid (const Texture2DView& texture, const Sampler& sampler, const IntLookupPrecision& prec, const Vec2& coord, int componentNdx, const IVec2 (&offsets)[4], const UVec4& result);
141 bool isGatherOffsetsResultValid (const Texture2DArrayView& texture, const Sampler& sampler, const IntLookupPrecision& prec, const Vec3& coord, int componentNdx, const IVec2 (&offsets)[4], const UVec4& result);
146 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)
124 const UVec4 diff = abs(refPix - cmpPix).cast<deUint32>();
143 const UVec4 diff = abs(refPix - deviatedCmpPix).cast<deUint32>();
166 const UVec4 diff = abs(cmpPix - deviatedRefPix).cast<deUint32>();
457 static tcu::UVec4 computeFlushRelaxedULPDiff (const tcu::Vec4& a, const tcu::Vec4& b)
459 return tcu::UVec4(computeFloatFlushRelaxedULPDiff(a.x(), b.x()),
488 bool floatUlpThresholdCompare (TestLog& log, const char* imageSetName, const char* imageSetDesc, const ConstPixelBufferAccess& reference, const ConstPixelBufferAccess& result, const UVec4& threshold, CompareLogMode logMode)
495 UVec4 maxDiff (0, 0, 0, 0);
509 const UVec4 diff = computeFlushRelaxedULPDiff(refPix, cmpPix);
743 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...]
  /external/deqp/external/vulkancts/modules/vulkan/protected_memory/
vktProtectedMemStorageBufferTests.cpp 187 const tcu::UVec4 testInput,
197 const tcu::UVec4 m_testInput;
210 const tcu::UVec4 testInput,
232 const tcu::UVec4 m_testInput;
241 const tcu::UVec4 testInput,
265 // set = 0, location = 0 -> buffer ProtectedTestBuffer (uvec4)
266 // set = 0, location = 2 -> buffer ProtectedTestBufferSource (uvec4)
273 " highp uvec4 protectedTestResultBuffer;\n"
278 " highp uvec4 protectedTestBufferSource;\n"
287 // set = 0, location = 0 -> buffer ProtectedTestBuffer (uvec4)
    [all...]
vktProtectedMemFillUpdateCopyBufferTests.cpp 600 { tcu::UVec4(3u), tcu::UVec4(3u), tcu::UVec4(3u), tcu::UVec4(3u) }
606 { tcu::UVec4(18u), tcu::UVec4(18u), tcu::UVec4(18u), tcu::UVec4(18u) }
612 { tcu::UVec4(669154u), tcu::UVec4(669154u), tcu::UVec4(669154u), tcu::UVec4(669154u)
    [all...]
  /external/deqp/external/vulkancts/modules/vulkan/spirv_assembly/
vktSpvAsmIndexingTests.cpp 43 using tcu::UVec4;
75 vector<UVec4> indexSelectorData;
83 indexSelectorData.push_back(UVec4(rnd.getUint32() % 32, rnd.getUint32() % 32, rnd.getUint32() % 4, rnd.getUint32() % 4));
231 spec.inputs.push_back(BufferSp(new Buffer<UVec4>(indexSelectorData)));
237 const UVec4 vec = indexSelectorData[numIdx];
283 vector<UVec4> indexSelectorData;
291 indexSelectorData.push_back(UVec4(rnd.getUint32() % 32, rnd.getUint32() % 32, rnd.getUint32() % 4, rnd.getUint32() % 4));
421 resources.inputs.push_back(std::make_pair(VK_DESCRIPTOR_TYPE_STORAGE_BUFFER, BufferSp(new Buffer<UVec4>(indexSelectorData))));
475 const UVec4 vec = indexSelectorData[numIdx];
  /external/deqp/external/openglcts/modules/glesext/draw_buffers_indexed/
esextcDrawBuffersIndexedColorMasks.cpp 143 tcu::UVec4 c0(2, 3, 4, 5);
186 tcu::UVec4 c1(23, 23, 23, 23);
217 tcu::UVec4 e(static_cast<unsigned int>(0.15f * 255), static_cast<unsigned int>(0.30f * 255),
220 e = tcu::UVec4(e.x(), numComponents >= 2 ? e.y() : 0, numComponents >= 3 ? e.z() : 0,
242 tcu::UVec4 e(2, 3, 4, 5);
244 e = tcu::UVec4(e.x(), numComponents >= 2 ? e.y() : 0, numComponents >= 3 ? e.z() : 0,
264 tcu::UVec4 e(2, 3, 4, 5);
266 e = tcu::UVec4(e.x(), numComponents >= 2 ? e.y() : 0, numComponents >= 3 ? e.z() : 0,
409 tcu::UVec4 epsilon;
  /external/deqp/external/openglcts/modules/gles31/
es31cShaderAtomicCountersTests.cpp 41 using tcu::UVec4;
590 bool CheckCounterValues(GLuint size, UVec4* data, GLuint min_value)
    [all...]
  /external/deqp/external/vulkancts/modules/vulkan/renderpass/
vktRenderPassMultisampleTests.cpp 58 using tcu::UVec4;
    [all...]
vktRenderPassMultisampleResolveTests.cpp 58 using tcu::UVec4;
    [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.
  /external/deqp/external/vulkancts/modules/vulkan/sparse_resources/
vktSparseResourcesImageSparseResidency.cpp 625 const tcu::UVec4 referenceValue = tcu::UVec4(offsetX % 127u, offsetY % 127u, offsetZ % 127u, 1u);
626 const tcu::UVec4 outputValue = pixelBuffer.getPixelUint(offsetX, offsetY, offsetZ);
638 const tcu::UVec4 referenceValue = tcu::UVec4(0u, 0u, 0u, 0u);
639 const tcu::UVec4 outputValue = pixelBuffer.getPixelUint(offsetX, offsetY, offsetZ);
656 const tcu::UVec4 referenceValue = tcu::UVec4(offsetX % 127u, offsetY % 127u, offsetZ % 127u, 1u);
657 const tcu::UVec4 outputValue = pixelBuffer.getPixelUint(offsetX, offsetY, offsetZ);
    [all...]
  /external/deqp/external/vulkancts/modules/vulkan/ycbcr/
vktYCbCrUtil.hpp 170 tcu::UVec4 getYCbCrBitDepth (vk::VkFormat format);
182 const tcu::UVec4& bitDepth,
  /external/deqp/external/vulkancts/modules/vulkan/api/
vktApiImageClearingTests.cpp 188 inline bool isInClearRange (const UVec4& clearCoords, const deUint32 x, const deUint32 y, deUint32 arrayLayer = 0, tcu::Maybe<LayerRange> imageViewLayerRange = tcu::Maybe<LayerRange>(), tcu::Maybe<LayerRange> attachmentClearLayerRange = tcu::Maybe<LayerRange>())
203 if (clearCoords == UVec4())
379 const UVec4 resColor (access.getPixelUint(x, y, z));
380 const UVec4 refColor (ref.uint32[0],
384 const UVec4 threshold (1);
493 tcu::TestStatus verifyResultImage (const std::string& successMessage, const UVec4& clearCoords = UVec4()) const;
    [all...]

Completed in 365 milliseconds

1 2 3 4 5 6