Home
last modified time | relevance | path

Searched refs:UVec4 (Results 1 - 25 of 326) sorted by relevance

12345678910>>...14

/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/ray_query/
H A DvktRayQueryTraversalControlTests.cpp585 tcu::UVec4 rqValue0, rqValue1; in verifyImage()
592 rqValue0 = tcu::UVec4(1, 0, 0, 0); in verifyImage()
593 rqValue1 = tcu::UVec4(1, 0, 0, 0); in verifyImage()
596 rqValue0 = tcu::UVec4(2, 0, 0, 0); in verifyImage()
597 rqValue1 = tcu::UVec4(1, 0, 0, 0); in verifyImage()
607 rqValue0 = tcu::UVec4(0, 0, 0, 0); in verifyImage()
608 rqValue1 = tcu::UVec4(1, 0, 0, 0); in verifyImage()
611 rqValue0 = tcu::UVec4(0, 0, 0, 0); in verifyImage()
612 rqValue1 = tcu::UVec4(1, 0, 0, 0); in verifyImage()
628 tcu::UVec4 clearValu in verifyImage()
[all...]
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/ray_query/
H A DvktRayQueryTraversalControlTests.cpp585 tcu::UVec4 rqValue0, rqValue1; in verifyImage()
592 rqValue0 = tcu::UVec4(1, 0, 0, 0); in verifyImage()
593 rqValue1 = tcu::UVec4(1, 0, 0, 0); in verifyImage()
596 rqValue0 = tcu::UVec4(2, 0, 0, 0); in verifyImage()
597 rqValue1 = tcu::UVec4(1, 0, 0, 0); in verifyImage()
607 rqValue0 = tcu::UVec4(0, 0, 0, 0); in verifyImage()
608 rqValue1 = tcu::UVec4(1, 0, 0, 0); in verifyImage()
611 rqValue0 = tcu::UVec4(0, 0, 0, 0); in verifyImage()
612 rqValue1 = tcu::UVec4(1, 0, 0, 0); in verifyImage()
628 tcu::UVec4 clearValu in verifyImage()
[all...]
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/protected_memory/
H A DvktProtectedMemStorageBufferTests.cpp182 const tcu::UVec4 testInput,
194 const tcu::UVec4 m_testInput;
209 const tcu::UVec4 testInput, in StorageBufferTestCase()
241 const tcu::UVec4 m_testInput;
253 const tcu::UVec4 testInput, in StorageBufferTestInstance()
699 const ValidationDataStorage<tcu::UVec4> testData[], in createSpecifiedStorageBufferTests()
711 testGroup->addChild(new StorageBufferTestCase<tcu::UVec4>(testCtx, testType, shaderType, name.c_str(), testData[ndx].values, testData[ndx], vk::VK_FORMAT_R32G32B32A32_UINT, pipelineProtectedAccess, pipelineFlags)); in createSpecifiedStorageBufferTests()
720 std::vector<ValidationDataStorage<tcu::UVec4> > testData; in createRandomizedBufferTests()
758 const ValidationDataStorage<tcu::UVec4> testData[], in createRWStorageBufferTests()
794 const tcu::UVec4 in calculateAtomicOpData()
[all...]
H A DvktProtectedMemFillUpdateCopyBufferTests.cpp538 { tcu::UVec4(3u), tcu::UVec4(3u), tcu::UVec4(3u), tcu::UVec4(3u) } in createFillUpdateCopyBufferUnsignedTests()
544 { tcu::UVec4(18u), tcu::UVec4(18u), tcu::UVec4(18u), tcu::UVec4(18u) } in createFillUpdateCopyBufferUnsignedTests()
550 { tcu::UVec4(669154u), tcu::UVec4(66915 in createFillUpdateCopyBufferUnsignedTests()
[all...]
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/protected_memory/
H A DvktProtectedMemStorageBufferTests.cpp193 const tcu::UVec4 testInput,
205 const tcu::UVec4 m_testInput;
220 const tcu::UVec4 testInput, in StorageBufferTestCase()
252 const tcu::UVec4 m_testInput;
264 const tcu::UVec4 testInput, in StorageBufferTestInstance()
710 const ValidationDataStorage<tcu::UVec4> testData[], in createSpecifiedStorageBufferTests()
722 testGroup->addChild(new StorageBufferTestCase<tcu::UVec4>(testCtx, testType, shaderType, name.c_str(), testData[ndx].values, testData[ndx], vk::VK_FORMAT_R32G32B32A32_UINT, pipelineProtectedAccess, pipelineFlags)); in createSpecifiedStorageBufferTests()
731 std::vector<ValidationDataStorage<tcu::UVec4> > testData; in createRandomizedBufferTests()
770 const ValidationDataStorage<tcu::UVec4> testData[], in createRWStorageBufferTests()
806 const tcu::UVec4 in calculateAtomicOpData()
[all...]
H A DvktProtectedMemFillUpdateCopyBufferTests.cpp538 { tcu::UVec4(3u), tcu::UVec4(3u), tcu::UVec4(3u), tcu::UVec4(3u) } in createFillUpdateCopyBufferUnsignedTests()
544 { tcu::UVec4(18u), tcu::UVec4(18u), tcu::UVec4(18u), tcu::UVec4(18u) } in createFillUpdateCopyBufferUnsignedTests()
550 { tcu::UVec4(669154u), tcu::UVec4(66915 in createFillUpdateCopyBufferUnsignedTests()
[all...]
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/video/
H A DvktVideoDecodeTests.cpp651 const tcu::UVec4 refColorV = tcu::UVec4(refColorsV[colorNdx], 0, 0, 0); in verifyImage()
652 const tcu::UVec4 refColorY = tcu::UVec4(refColorsY[colorNdx], 0, 0, 0); in verifyImage()
653 const tcu::UVec4 refColorU = tcu::UVec4(refColorsU[colorNdx], 0, 0, 0); in verifyImage()
654 const tcu::UVec4 refBlankV = tcu::UVec4(128, 0, 0, 0); in verifyImage()
655 const tcu::UVec4 refBlankY = tcu::UVec4( 1 in verifyImage()
[all...]
/third_party/vk-gl-cts/framework/common/
H A DtcuTexLookupVerifier.hpp63 UVec4 colorThreshold; //!< Threshold for match.
124 bool isLevel1DLookupResultValid (const ConstPixelBufferAccess& access, const Sampler& sampler, TexLookupScaleMode scaleMode, const IntLookupPrecision& prec, const float coordX, const int coordY, const UVec4& result);
128 bool isLevel2DLookupResultValid (const ConstPixelBufferAccess& access, const Sampler& sampler, TexLookupScaleMode scaleMode, const IntLookupPrecision& prec, const Vec2& coord, const int coordZ, const UVec4& result);
132 bool isLevel3DLookupResultValid (const ConstPixelBufferAccess& access, const Sampler& sampler, TexLookupScaleMode scaleMode, const IntLookupPrecision& prec, const Vec3& coord, const UVec4& result);
138 bool isGatherOffsetsResultValid (const Texture2DView& texture, const Sampler& sampler, const IntLookupPrecision& prec, const Vec2& coord, int componentNdx, const IVec2 (&offsets)[4], const UVec4& result);
142 bool isGatherOffsetsResultValid (const Texture2DArrayView& texture, const Sampler& sampler, const IntLookupPrecision& prec, const Vec3& coord, int componentNdx, const IVec2 (&offsets)[4], const UVec4& result);
147 bool isGatherResultValid (const TextureCubeView& texture, const Sampler& sampler, const IntLookupPrecision& prec, const Vec3& coord, int componentNdx, const UVec4& result);
H A DtcuImageCompare.hpp53 bool floatUlpThresholdCompare (TestLog& log, const char* imageSetName, const char* imageSetDesc, const ConstPixelBufferAccess& reference, const ConstPixelBufferAccess& result, const UVec4& threshold, CompareLogMode logMode);
57 bool intThresholdCompare (TestLog& log, const char* imageSetName, const char* imageSetDesc, const ConstPixelBufferAccess& reference, const ConstPixelBufferAccess& result, const UVec4& threshold, CompareLogMode logMode, bool use64Bits = false);
58 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);
59 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);
/third_party/vk-gl-cts/modules/internal/
H A DditSRGB8ConversionTest.cpp55 const tcu::UVec4 calculateDiscreteFloatDistance (const tcu::Vec4& ref, const tcu::Vec4& res) in calculateDiscreteFloatDistance()
57 return tcu::UVec4(calculateDiscreteFloatDistance(ref[0], res[0]), calculateDiscreteFloatDistance(ref[1], res[1]), calculateDiscreteFloatDistance(ref[2], res[2]), calculateDiscreteFloatDistance(ref[3], res[3])); in calculateDiscreteFloatDistance()
75 const tcu::UVec4 src (i); in iterate()
79 const tcu::UVec4 discreteFloatDiff (calculateDiscreteFloatDistance(ref, res)); in iterate()
84 if (tcu::boolAny(tcu::greaterThan(discreteFloatDiff, tcu::UVec4(1u)))) in iterate()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/spirv_assembly/
H A DvktSpvAsmIndexingTests.cpp44 using tcu::UVec4;
77 vector<UVec4> indexSelectorData; in addComputeIndexingStructTests()
85 indexSelectorData.push_back(tcu::randomVector<deUint32, 4>(rnd, UVec4(0), UVec4(31, 31, 3, 3))); in addComputeIndexingStructTests()
232 spec.inputs.push_back(BufferSp(new Buffer<UVec4>(indexSelectorData))); in addComputeIndexingStructTests()
238 const UVec4 vec = indexSelectorData[numIdx]; in addComputeIndexingStructTests()
293 vector<UVec4> indexSelectorData; in addGraphicsIndexingStructTests()
301 indexSelectorData.push_back(tcu::randomVector<deUint32, 4>(rnd, UVec4(0), UVec4(31, 31, 3, 3))); in addGraphicsIndexingStructTests()
430 resources.inputs.push_back(Resource(BufferSp(new Buffer<UVec4>(indexSelectorDat in addGraphicsIndexingStructTests()
[all...]
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/spirv_assembly/
H A DvktSpvAsmIndexingTests.cpp44 using tcu::UVec4;
77 vector<UVec4> indexSelectorData; in addComputeIndexingStructTests()
85 indexSelectorData.push_back(tcu::randomVector<deUint32, 4>(rnd, UVec4(0), UVec4(31, 31, 3, 3))); in addComputeIndexingStructTests()
232 spec.inputs.push_back(BufferSp(new Buffer<UVec4>(indexSelectorData))); in addComputeIndexingStructTests()
238 const UVec4 vec = indexSelectorData[numIdx]; in addComputeIndexingStructTests()
293 vector<UVec4> indexSelectorData; in addGraphicsIndexingStructTests()
301 indexSelectorData.push_back(tcu::randomVector<deUint32, 4>(rnd, UVec4(0), UVec4(31, 31, 3, 3))); in addGraphicsIndexingStructTests()
430 resources.inputs.push_back(Resource(BufferSp(new Buffer<UVec4>(indexSelectorDat in addGraphicsIndexingStructTests()
[all...]
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/mesh_shader/
H A DvktMeshShaderProvokingVertexTestsEXT.cpp60 std::vector<tcu::UVec4> getLineColors (void) in getLineColors()
62 return std::vector<tcu::UVec4>{ in getLineColors()
63 tcu::UVec4(1, 1, 0, 1), in getLineColors()
64 tcu::UVec4(1, 0, 1, 1), in getLineColors()
68 std::vector<tcu::UVec4> getTriangleColors (void) in getTriangleColors()
70 return std::vector<tcu::UVec4>{ in getTriangleColors()
71 tcu::UVec4(1, 1, 0, 1), in getTriangleColors()
72 tcu::UVec4(0, 1, 1, 1), in getTriangleColors()
73 tcu::UVec4(1, 0, 1, 1), in getTriangleColors()
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/mesh_shader/
H A DvktMeshShaderProvokingVertexTestsEXT.cpp60 std::vector<tcu::UVec4> getLineColors (void) in getLineColors()
62 return std::vector<tcu::UVec4>{ in getLineColors()
63 tcu::UVec4(1, 1, 0, 1), in getLineColors()
64 tcu::UVec4(1, 0, 1, 1), in getLineColors()
68 std::vector<tcu::UVec4> getTriangleColors (void) in getTriangleColors()
70 return std::vector<tcu::UVec4>{ in getTriangleColors()
71 tcu::UVec4(1, 1, 0, 1), in getTriangleColors()
72 tcu::UVec4(0, 1, 1, 1), in getTriangleColors()
73 tcu::UVec4(1, 0, 1, 1), in getTriangleColors()
/third_party/vk-gl-cts/external/openglcts/modules/glesext/draw_buffers_indexed/
H A DesextcDrawBuffersIndexedColorMasks.cpp144 tcu::UVec4 c0(2, 3, 4, 5); in iterate()
187 tcu::UVec4 c1(23, 23, 23, 23); in iterate()
218 tcu::UVec4 e(static_cast<unsigned int>(0.15f * 255), static_cast<unsigned int>(0.30f * 255), in iterate()
221 e = tcu::UVec4(e.x(), numComponents >= 2 ? e.y() : 0, numComponents >= 3 ? e.z() : 0, in iterate()
243 tcu::UVec4 e(2, 3, 4, 5); in iterate()
245 e = tcu::UVec4(e.x(), numComponents >= 2 ? e.y() : 0, numComponents >= 3 ? e.z() : 0, in iterate()
265 tcu::UVec4 e(2, 3, 4, 5); in iterate()
267 e = tcu::UVec4(e.x(), numComponents >= 2 ? e.y() : 0, numComponents >= 3 ? e.z() : 0, in iterate()
410 tcu::UVec4 epsilon; in GetEpsilon()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/renderpass/
H A DvktRenderPassMultisampleTests.cpp61 using tcu::UVec4;
1563 const UVec4 bits (tcu::getTextureFormatBitDepth(format).cast<deUint32>()); in iterateInternal()
1564 const UVec4 minValue (0); in iterateInternal()
1565 const UVec4 range (UVec4(1u) << tcu::min(bits, UVec4(31))); in iterateInternal()
1574 UVec4 color (minValue); in iterateInternal()
1600 if (!tcu::intThresholdCompare(m_context.getTestContext().getLog(), name.c_str(), "", reference.getAccess(), access, UVec4(0u), tcu::COMPARE_LOG_ON_ERROR)) in iterateInternal()
1608 const UVec4 bits (tcu::getTextureFormatBitDepth(format).cast<deUint32>()); in iterateInternal()
1610 const IVec4 range ((UVec4( in iterateInternal()
[all...]
H A DvktRenderPassSparseRenderTargetTests.cpp50 using tcu::UVec4;
650 const UVec4 bits(tcu::getTextureFormatBitDepth(format).cast<deUint32>()); in verify()
651 const UVec4 color(1u << (bits.x() - 1), 1u << (bits.y() - 2), 1u << (bits.z() - 3), 0xffffffff); in verify()
657 if (!tcu::intThresholdCompare(m_context.getTestContext().getLog(), "", "", reference.getAccess(), access, UVec4(0u), tcu::COMPARE_LOG_ON_ERROR)) in verify()
664 const UVec4 bits(tcu::getTextureFormatBitDepth(format).cast<deUint32>()); in verify()
665 const UVec4 color(1u << (bits.x() - 2), 1u << (bits.y() - 3), 1u << (bits.z() - 4), 0xffffffff); in verify()
671 if (!tcu::intThresholdCompare(m_context.getTestContext().getLog(), "", "", reference.getAccess(), access, UVec4(0u), tcu::COMPARE_LOG_ON_ERROR)) in verify()
694 const Vec4 threshold(4.0f * 1.0f / ((UVec4(1u) << tcu::getTextureFormatMantissaBitDepth(format).cast<deUint32>()) - 1u).cast<float>()); in verify()
717 const UVec4 threshold(64u * (UVec4( in verify()
[all...]
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/renderpass/
H A DvktRenderPassMultisampleTests.cpp61 using tcu::UVec4;
1556 const UVec4 bits (tcu::getTextureFormatBitDepth(format).cast<deUint32>()); in iterateInternal()
1557 const UVec4 minValue (0); in iterateInternal()
1558 const UVec4 range (UVec4(1u) << tcu::min(bits, UVec4(31))); in iterateInternal()
1567 UVec4 color (minValue); in iterateInternal()
1593 if (!tcu::intThresholdCompare(m_context.getTestContext().getLog(), name.c_str(), name.c_str(), reference.getAccess(), access, UVec4(0u), tcu::COMPARE_LOG_ON_ERROR)) in iterateInternal()
1601 const UVec4 bits (tcu::getTextureFormatBitDepth(format).cast<deUint32>()); in iterateInternal()
1603 const IVec4 range ((UVec4( in iterateInternal()
[all...]
H A DvktRenderPassSparseRenderTargetTests.cpp50 using tcu::UVec4;
648 const UVec4 bits(tcu::getTextureFormatBitDepth(format).cast<deUint32>()); in verify()
649 const UVec4 color(1u << (bits.x() - 1), 1u << (bits.y() - 2), 1u << (bits.z() - 3), 0xffffffff); in verify()
655 if (!tcu::intThresholdCompare(m_context.getTestContext().getLog(), "", "", reference.getAccess(), access, UVec4(0u), tcu::COMPARE_LOG_ON_ERROR)) in verify()
662 const UVec4 bits(tcu::getTextureFormatBitDepth(format).cast<deUint32>()); in verify()
663 const UVec4 color(1u << (bits.x() - 2), 1u << (bits.y() - 3), 1u << (bits.z() - 4), 0xffffffff); in verify()
669 if (!tcu::intThresholdCompare(m_context.getTestContext().getLog(), "", "", reference.getAccess(), access, UVec4(0u), tcu::COMPARE_LOG_ON_ERROR)) in verify()
692 const Vec4 threshold(4.0f * 1.0f / ((UVec4(1u) << tcu::getTextureFormatMantissaBitDepth(format).cast<deUint32>()) - 1u).cast<float>()); in verify()
715 const UVec4 threshold(64u * (UVec4( in verify()
[all...]
/third_party/vk-gl-cts/external/openglcts/modules/gles31/
H A Des31cShaderAtomicCountersTests.cpp41 using tcu::UVec4;
590 bool CheckCounterValues(GLuint size, UVec4* data, GLuint min_value) in CheckCounterValues()
1699 UVec4 data[s * s]; in Run()
2018 UVec4 data[s * s + 3]; in Run()
2025 data[s * s] = UVec4(data2[0]); in Run()
2026 data[s * s + 1] = UVec4(data2[1]); in Run()
2027 data[s * s + 2] = UVec4(data2[2]); in Run()
2038 data[s * s] = UVec4(data2[0]); in Run()
2039 data[s * s + 1] = UVec4(data2[1]); in Run()
2040 data[s * s + 2] = UVec4(data in Run()
[all...]
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/ray_tracing/
H A DvktRayTracingTraversalControlTests.cpp327 tcu::UVec4 missValue0 = tcu::UVec4(4, 0, 0, 0); in verifyImage()
328 tcu::UVec4 missValue1 = tcu::UVec4(0, 0, 0, 0); in verifyImage()
329 tcu::UVec4 hitValue0, hitValue1; in verifyImage()
333 hitValue0 = tcu::UVec4(1, 0, 0, 0); // ahit returns 1 in verifyImage()
334 hitValue1 = tcu::UVec4(3, 0, 0, 0); // chit returns 3 in verifyImage()
341 hitValue0 = tcu::UVec4(0, 0, 0, 0); // empty ahit shader. Initial value from rgen written to result in verifyImage()
342 hitValue1 = tcu::UVec4(3, 0, 0, 0); // chit returns 3 in verifyImage()
349 hitValue0 = tcu::UVec4( in verifyImage()
[all...]
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/ray_tracing/
H A DvktRayTracingTraversalControlTests.cpp327 tcu::UVec4 missValue0 = tcu::UVec4(4, 0, 0, 0); in verifyImage()
328 tcu::UVec4 missValue1 = tcu::UVec4(0, 0, 0, 0); in verifyImage()
329 tcu::UVec4 hitValue0, hitValue1; in verifyImage()
333 hitValue0 = tcu::UVec4(1, 0, 0, 0); // ahit returns 1 in verifyImage()
334 hitValue1 = tcu::UVec4(3, 0, 0, 0); // chit returns 3 in verifyImage()
341 hitValue0 = tcu::UVec4(0, 0, 0, 0); // empty ahit shader. Initial value from rgen written to result in verifyImage()
342 hitValue1 = tcu::UVec4(3, 0, 0, 0); // chit returns 3 in verifyImage()
349 hitValue0 = tcu::UVec4( in verifyImage()
[all...]
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/pipeline/
H A DvktPipelineClearUtil.cpp58 tcu::UVec4 defaultClearColorUint (const tcu::TextureFormat& format) in defaultClearColorUint()
63 const tcu::UVec4 result ((deUint32)deFloatRound(color.x()), (deUint32)deFloatRound(color.y()), in defaultClearColorUint()
108 const tcu::UVec4 defaultColor = defaultClearColorUint(tcuClearFormat); in defaultClearValue()
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/pipeline/
H A DvktPipelineClearUtil.cpp58 tcu::UVec4 defaultClearColorUint (const tcu::TextureFormat& format) in defaultClearColorUint()
63 const tcu::UVec4 result ((deUint32)deFloatRound(color.x()), (deUint32)deFloatRound(color.y()), in defaultClearColorUint()
108 const tcu::UVec4 defaultColor = defaultClearColorUint(tcuClearFormat); in defaultClearValue()
/third_party/vk-gl-cts/framework/referencerenderer/
H A DrrVertexAttrib.hpp153 void readVertexAttrib (tcu::UVec4& dst, const VertexAttrib& vertexAttrib, const int instanceNdx, const int vertexNdx, const int baseInstanceNdx = 0);
171 inline tcu::UVec4 readVertexAttribUint (const VertexAttrib& vertexAttrib, const int instanceNdx, const int vertexNdx, const int baseInstanceNdx = 0) in readVertexAttribUint()
173 tcu::UVec4 v; in readVertexAttribUint()

Completed in 38 milliseconds

12345678910>>...14