Home
last modified time | relevance | path

Searched refs:IVec4 (Results 1 – 25 of 211) sorted by relevance

123456789

/external/deqp/external/vulkancts/modules/vulkan/protected_memory/
DvktProtectedMemFillUpdateCopyBufferTests.cpp309 { tcu::IVec4(1), tcu::IVec4(2), tcu::IVec4(3), tcu::IVec4(4) }, in createFillUpdateCopyBufferFloatTests()
315 { tcu::IVec4(5), tcu::IVec4(6), tcu::IVec4(7), tcu::IVec4(8) }, in createFillUpdateCopyBufferFloatTests()
321 { tcu::IVec4(9), tcu::IVec4(10), tcu::IVec4(11), tcu::IVec4(12) }, in createFillUpdateCopyBufferFloatTests()
327 { tcu::IVec4(13), tcu::IVec4(14), tcu::IVec4(15), tcu::IVec4(0) }, in createFillUpdateCopyBufferFloatTests()
333 { tcu::IVec4(1), tcu::IVec4(5), tcu::IVec4(10), tcu::IVec4(15) }, in createFillUpdateCopyBufferFloatTests()
339 { tcu::IVec4(15), tcu::IVec4(1), tcu::IVec4(9), tcu::IVec4(13) }, in createFillUpdateCopyBufferFloatTests()
375 { tcu::IVec4(rnd.getInt(0, MAX_POSITION - 1)), in createFillUpdateCopyBufferFloatTests()
376 tcu::IVec4(rnd.getInt(0, MAX_POSITION - 1)), in createFillUpdateCopyBufferFloatTests()
377 tcu::IVec4(rnd.getInt(0, MAX_POSITION - 1)), in createFillUpdateCopyBufferFloatTests()
378 tcu::IVec4(rnd.getInt(0, MAX_POSITION - 1)) }, in createFillUpdateCopyBufferFloatTests()
[all …]
DvktProtectedMemCopyImageToBufferTests.cpp318 { tcu::IVec4(0), tcu::IVec4(1), tcu::IVec4(3), tcu::IVec4(7) }, in createCopyImageToFloatBufferTests()
324 { tcu::IVec4(2), tcu::IVec4(4), tcu::IVec4(16), tcu::IVec4(15) }, in createCopyImageToFloatBufferTests()
330 { tcu::IVec4(3), tcu::IVec4(7), tcu::IVec4(17), tcu::IVec4(37) }, in createCopyImageToFloatBufferTests()
336 { tcu::IVec4(7), tcu::IVec4(11), tcu::IVec4(21), tcu::IVec4(40) }, in createCopyImageToFloatBufferTests()
342 { tcu::IVec4(5), tcu::IVec4(21), tcu::IVec4(40), tcu::IVec4(57) }, in createCopyImageToFloatBufferTests()
348 { tcu::IVec4(23), tcu::IVec4(37), tcu::IVec4(51), tcu::IVec4(63) }, in createCopyImageToFloatBufferTests()
383 { tcu::IVec4(rnd.getInt(0, MAX_POSITION - 1)), in createCopyImageToFloatBufferTests()
384 tcu::IVec4(rnd.getInt(0, MAX_POSITION - 1)), in createCopyImageToFloatBufferTests()
385 tcu::IVec4(rnd.getInt(0, MAX_POSITION - 1)), in createCopyImageToFloatBufferTests()
386 tcu::IVec4(rnd.getInt(0, MAX_POSITION - 1)) }, in createCopyImageToFloatBufferTests()
/external/deqp/external/vulkancts/modules/vulkan/synchronization/
DvktSynchronizationOperationResources.hpp38 …{ RESOURCE_TYPE_BUFFER, tcu::IVec4( 0x4000, 0, 0, 0), vk::VK_IMAGE_TYPE_LAST, vk::VK_FORMAT_UNDEFI…
39 …{ RESOURCE_TYPE_BUFFER, tcu::IVec4(0x40000, 0, 0, 0), vk::VK_IMAGE_TYPE_LAST, vk::VK_FORMAT_UNDEFI…
41 …{ RESOURCE_TYPE_IMAGE, tcu::IVec4(128, 0, 0, 0), vk::VK_IMAGE_TYPE_1D, vk::VK_FORMAT_R32_UINT, …
43 …{ RESOURCE_TYPE_IMAGE, tcu::IVec4(128, 128, 0, 0), vk::VK_IMAGE_TYPE_2D, vk::VK_FORMAT_R8_UNORM, …
44 …{ RESOURCE_TYPE_IMAGE, tcu::IVec4(128, 128, 0, 0), vk::VK_IMAGE_TYPE_2D, vk::VK_FORMAT_R16_UINT, …
45 …{ RESOURCE_TYPE_IMAGE, tcu::IVec4(128, 128, 0, 0), vk::VK_IMAGE_TYPE_2D, vk::VK_FORMAT_R8G8B8A8_U…
46 …{ RESOURCE_TYPE_IMAGE, tcu::IVec4(128, 128, 0, 0), vk::VK_IMAGE_TYPE_2D, vk::VK_FORMAT_R16G16B16A…
47 …{ RESOURCE_TYPE_IMAGE, tcu::IVec4(128, 128, 0, 0), vk::VK_IMAGE_TYPE_2D, vk::VK_FORMAT_R32G32B32A…
49 …{ RESOURCE_TYPE_IMAGE, tcu::IVec4(64, 64, 8, 0), vk::VK_IMAGE_TYPE_3D, vk::VK_FORMAT_R32_SFLOAT, …
52 …{ RESOURCE_TYPE_IMAGE, tcu::IVec4(128, 128, 0, 0), vk::VK_IMAGE_TYPE_2D, vk::VK_FORMAT_D16_UNORM,…
[all …]
/external/deqp/modules/gles3/functional/
Des3fFramebufferBlitTests.cpp51 using tcu::IVec4;
58 … desc, deUint32 filter, const IVec2& srcSize, const IVec4& srcRect, const IVec2& dstSize, const IV… in BlitRectCase()
156 const IVec4 m_srcRect;
158 const IVec4 m_dstRect;
167 …name, const char* desc, const IVec2& srcSize, const IVec4& srcRect, const IVec2& dstSize, const IV…
172 …name, const char* desc, const IVec2& srcSize, const IVec4& srcRect, const IVec2& dstSize, const IV… in BlitNearestFilterConsistencyCase()
190 …const tcu::IVec4 destinationArea = tcu::IVec4(de::clamp(de::min(m_dstRect.x(), m_dstRect.z()), 0, … in compare()
459 … srcBuffers, const IVec2& srcSize, const IVec4& srcRect, deUint32 dstBuffers, const IVec2& dstSize… in BlitDepthStencilCase()
602 IVec4 m_srcRect;
605 IVec4 m_dstRect;
[all …]
Des3fFragmentOutputTests.cpp58 using tcu::IVec4;
388 static inline IVec4 readIVec4 (const int* ptr, int numComponents) in readIVec4()
391 return IVec4(ptr[0], in readIVec4()
439 IVec4 c = readIVec4(vertices + (cellY*gridWidth + cellX+1)*numComponents, numComponents); in renderIntReference()
446 static const IVec4 s_swizzles[] =
448 IVec4(0,1,2,3),
449 IVec4(1,2,3,0),
450 IVec4(2,3,0,1),
451 IVec4(3,0,1,2),
452 IVec4(3,2,1,0),
[all …]
Des3fASTCDecompressionCases.cpp66 using tcu::IVec4;
143 IVec4& maxDiffDst) in compareBlockImages()
149 const IVec4 threshold = thresholdRGBA.toIVec(); in compareBlockImages()
157 maxDiffDst = IVec4(0); in compareBlockImages()
166 const IVec4 refPix = reference.getPixel(x, y).toIVec(); in compareBlockImages()
168 if (refPix == IVec4(255, 0, 255, 255)) in compareBlockImages()
175 const IVec4 resPix = result.getPixel(x, y).toIVec(); in compareBlockImages()
176 const IVec4 diff = tcu::abs(refPix - resPix); in compareBlockImages()
463 IVec4 maxDiff; in iterate()
/external/deqp/framework/common/
DtcuTextureUtil.cpp461 IVec4 getFormatMinIntValue (const TextureFormat& format) in getFormatMinIntValue()
467 case TextureFormat::SIGNED_INT8: return IVec4(std::numeric_limits<deInt8>::min()); in getFormatMinIntValue()
468 case TextureFormat::SIGNED_INT16: return IVec4(std::numeric_limits<deInt16>::min()); in getFormatMinIntValue()
469 case TextureFormat::SIGNED_INT32: return IVec4(std::numeric_limits<deInt32>::min()); in getFormatMinIntValue()
473 return IVec4(0); in getFormatMinIntValue()
477 IVec4 getFormatMaxIntValue (const TextureFormat& format) in getFormatMaxIntValue()
483 return IVec4(511, 511, 511, 1); in getFormatMaxIntValue()
487 case TextureFormat::SIGNED_INT8: return IVec4(std::numeric_limits<deInt8>::max()); in getFormatMaxIntValue()
488 case TextureFormat::SIGNED_INT16: return IVec4(std::numeric_limits<deInt16>::max()); in getFormatMaxIntValue()
489 case TextureFormat::SIGNED_INT32: return IVec4(std::numeric_limits<deInt32>::max()); in getFormatMaxIntValue()
[all …]
DtcuTexLookupVerifier.hpp103 Vec4 computeFixedPointThreshold (const IVec4& bits);
104 Vec4 computeFloatingPointThreshold (const IVec4& bits, const Vec4& value);
119 …View& texture, const Sampler& sampler, const LookupPrecision& prec, const IVec4& coordBits, const …
122 …leMode, const IntLookupPrecision& prec, const float coordX, const int coordY, const IVec4& result);
126 …aleMode, const IntLookupPrecision& prec, const Vec2& coord, const int coordZ, const IVec4& result);
130 …LookupScaleMode scaleMode, const IntLookupPrecision& prec, const Vec3& coord, const IVec4& result);
136 …cision& prec, const Vec2& coord, int componentNdx, const IVec2 (&offsets)[4], const IVec4& result);
140 …cision& prec, const Vec3& coord, int componentNdx, const IVec2 (&offsets)[4], const IVec4& result);
145 …sampler, const IntLookupPrecision& prec, const Vec3& coord, int componentNdx, const IVec4& result);
DtcuTextureUtil.hpp103 IVec4 getTextureFormatBitDepth (const TextureFormat& format);
104 IVec4 getTextureFormatMantissaBitDepth (const TextureFormat& format);
107 IVec4 getFormatMinIntValue (const TextureFormat& format);
108 IVec4 getFormatMaxIntValue (const TextureFormat& format);
114 void clear (const PixelBufferAccess& access, const IVec4& color);
/external/deqp/external/openglcts/modules/gl/
Dgl4cTextureGatherTests.cpp47 using tcu::IVec4;
552 std::vector<IVec4> pixels(csize * csize, IVec4(999)); in CreateTexture2DInt()
555IVec4 data[4] = { IVec4(12, 13, 14, 15), IVec4(8, 9, 10, 11), IVec4(0, 1, 2, 3), IVec4(4, 5, 6, 7)… in CreateTexture2DInt()
582 std::vector<IVec4> pixels(csize * csize, IVec4(999)); in CreateTexture2DArrayInt()
588IVec4 data[4] = { IVec4(12, 13, 14, 15), IVec4(8, 9, 10, 11), IVec4(0, 1, 2, 3), IVec4(4, 5, 6, 7)… in CreateTexture2DArrayInt()
665 std::vector<IVec4> pixels(csize * csize, IVec4(999)); in CreateTextureCubeArrayInt()
671IVec4 data[4] = { IVec4(12, 13, 14, 15), IVec4(8, 9, 10, 11), IVec4(0, 1, 2, 3), IVec4(4, 5, 6, 7)… in CreateTextureCubeArrayInt()
750 std::vector<IVec4> pixels(csize * csize, IVec4(999)); in CreateTextureCubeInt()
756IVec4 data[4] = { IVec4(12, 13, 14, 15), IVec4(8, 9, 10, 11), IVec4(0, 1, 2, 3), IVec4(4, 5, 6, 7)… in CreateTextureCubeInt()
1200 IVec4 data; in Verify()
[all …]
/external/deqp/modules/gles2/performance/
Des2pTextureCases.cpp48 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), in init()
164 IVec4(3,2,1,0), IVec4(2,1,0,3), IVec4(1,0,3,2), IVec4(0,3,2,1) }; in init()
165 const IVec4& sw = swizzles[texNdx % DE_LENGTH_OF_ARRAY(swizzles)]; in init()
/external/deqp/modules/internal/
DditSeedBuilderTests.cpp32 using tcu::IVec4;
162 …addChild(new SeedBuilderTest<IVec4>(m_testCtx, IVec4(0), 73989201u, "ivec4_zero", "Seed from zero … in init()
166 …addChild(new SeedBuilderTest<IVec4>(m_testCtx, IVec4(1), 90609878u, "ivec4_one", "Seed from one v… in init()
168 …addChild(new SeedBuilderTest<IVec4>(m_testCtx, IVec4(1, 2, 3, 4), 6202236u, "ivec4_1_2_3_4", "See… in init()
169 …addChild(new SeedBuilderTest<IVec4>(m_testCtx, IVec4(4, 3, 2, 1), 26964618u, "ivec4_4_3_2_1", "See… in init()
/external/deqp/external/vulkancts/modules/vulkan/texture/
DvktSampleVerifierUtil.cpp677 IVec4& bitSizes, in getPackInfo()
678 IVec4& bitOffsets, in getPackInfo()
686 bitSizes = IVec4(4, 4, 0, 0); in getPackInfo()
687 bitOffsets = IVec4(0, 4, 0, 0); in getPackInfo()
692 bitSizes = IVec4(5, 6, 5, 0); in getPackInfo()
693 bitOffsets = IVec4(0, 5, 11, 0); in getPackInfo()
698 bitSizes = IVec4(5, 5, 5, 0); in getPackInfo()
699 bitOffsets = IVec4(0, 5, 10, 0); in getPackInfo()
704 bitSizes = IVec4(4, 4, 4, 4); in getPackInfo()
705 bitOffsets = IVec4(0, 4, 8, 12); in getPackInfo()
[all …]
/external/deqp/modules/gles3/performance/
Des3pTextureCases.cpp49 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), in init()
190 IVec4(3,2,1,0), IVec4(2,1,0,3), IVec4(1,0,3,2), IVec4(0,3,2,1) }; in init()
191 const IVec4& sw = swizzles[texNdx % DE_LENGTH_OF_ARRAY(swizzles)]; in init()
/external/deqp/external/vulkancts/modules/vulkan/pipeline/
DvktPipelineRenderToImageTests.cpp65 using tcu::IVec4;
110 IVec4 imageSizeHint; //!< (w, h, d, layers), a component may have a symbolic value MAX_SIZE
133 inline VkDeviceSize product (const IVec4& v) in product()
165 inline int maxLayersOrDepth (const IVec4& size) in maxLayersOrDepth()
670 tcu::clear(outputImage, IVec4(clearValue.color.int32)); in generateExpectedImage()
677 const IVec4 setColorInt = (static_cast<float>(REFERENCE_COLOR_VALUE) * setColor).cast<deInt32>(); in generateExpectedImage()
701 IVec4 getMaxImageSize (const VkImageViewType viewType, const IVec4& sizeHint) in getMaxImageSize()
704 IVec4 size = IVec4( in getMaxImageSize()
738 return IVec4(); in getMaxImageSize()
756 const IVec4 imageSize = getMaxImageSize(caseDef.viewType, caseDef.imageSizeHint); in getMemoryTypeNdx()
[all …]
/external/deqp/external/openglcts/modules/common/
DglcShaderGroupVoteTests.cpp61 const tcu::IVec4& desiredColor) in ComputeShader()
200 …eTestCaseBase::ComputeShader::validateScreenPixels(deqp::Context& context, tcu::IVec4 desiredColor) in validateScreenPixels()
355 …new ComputeShader("allInvocationsARB", specializeShader(1, &shaderBase), tcu::IVec4(255, 255, 255,… in ShaderGroupVoteAllInvocationsTestCase()
371 …new ComputeShader("anyInvocationARB", specializeShader(1, &shaderBase), tcu::IVec4(0, 0, 0, 255))); in ShaderGroupVoteAnyInvocationTestCase()
386 …new ComputeShader("allInvocationsEqualARB", specializeShader(1, &shaderBase), tcu::IVec4(255, 255,… in ShaderGroupVoteAllInvocationsEqualTestCase()
391 …new ComputeShader("allInvocationsEqualARB", specializeShader(1, &shaderBase), tcu::IVec4(255, 255,… in ShaderGroupVoteAllInvocationsEqualTestCase()
419 new ComputeShader("allInvocations", specializeShader(1, &shaderBase), tcu::IVec4(0, 0, 0, 255))); in ShaderGroupVoteWithVariablesTestCase()
424 …new ComputeShader("anyInvocation", specializeShader(1, &shaderBase), tcu::IVec4(255, 255, 255, 255… in ShaderGroupVoteWithVariablesTestCase()
429 …new ComputeShader("anyInvocation", specializeShader(1, &shaderBase), tcu::IVec4(255, 255, 255, 255… in ShaderGroupVoteWithVariablesTestCase()
DglcShaderGroupVoteTests.hpp44 tcu::IVec4 m_desiredColor;
48 bool validateScreenPixels(deqp::Context& context, tcu::IVec4 desiredColor);
53 ComputeShader(const std::string& name, const std::string& shader, const tcu::IVec4& desiredColor);
/external/deqp/framework/referencerenderer/
DrrRasterizer.hpp130 …TriangleRasterizer (const tcu::IVec4& viewport, const int numSamples, const RasterizationState& s…
145 const tcu::IVec4 m_viewport;
181 SingleSampleLineRasterizer (const tcu::IVec4& viewport);
194 const tcu::IVec4 m_viewport;
222 MultiSampleLineRasterizer (const int numSamples, const tcu::IVec4& viewport);
DrrVertexAttrib.hpp152 void readVertexAttrib (tcu::IVec4& dst, const VertexAttrib& vertexAttrib, const int instanceNdx, …
164 inline tcu::IVec4 readVertexAttribInt (const VertexAttrib& vertexAttrib, const int instanceNdx, con… in readVertexAttribInt()
166 tcu::IVec4 v; in readVertexAttribInt()
/external/deqp/modules/glshared/
DglsScissorTests.cpp69 using tcu::IVec4;
114 void clearEdges (const tcu::PixelBufferAccess& access, const T& color, const IVec4& scissorArea) in clearEdges()
178 virtual void render (GLuint program, const IVec4& viewport) const = 0;
205 const IVec4 relScissorArea (int(m_scissorArea.x() * (float)viewport.width), in iterate()
209 const IVec4 absScissorArea (relScissorArea.x() + viewport.x, in iterate()
224 …log << TestLog::Message << "Viewport area is " << IVec4(viewport.x, viewport.y, viewport.width, vi… in iterate()
242 render(shader.getProgram(), IVec4(viewport.x, viewport.y, viewport.width, viewport.height)); in iterate()
266 render(shader.getProgram(), IVec4(viewport.x, viewport.y, viewport.width, viewport.height)); in iterate()
274 clearEdges(refImage.getAccess(), IVec4(32, 64, 128, 255), relScissorArea); in iterate()
299 virtual void render (GLuint program, const IVec4& viewport) const;
[all …]
/external/deqp/external/vulkancts/modules/vulkan/fragment_ops/
DvktFragmentOperationsScissorMultiViewportTests.cpp57 using tcu::IVec4;
105 const std::vector<IVec4> scissors) in makeGraphicsPipeline()
115 for (std::vector<IVec4>::const_iterator it = scissors.begin(); it != scissors.end(); ++it) in makeGraphicsPipeline()
160 std::vector<IVec4> generateScissors (const int numScissors, const IVec2& renderSize) in generateScissors()
169 std::vector<IVec4> scissors; in generateScissors()
184 scissors.push_back(IVec4(x, y, rectWidth, rectHeight)); in generateScissors()
223 const std::vector<IVec4>& scissors, in generateReferenceImage()
327 const std::vector<IVec4>& scissors, in ScissorRenderer()
432 const std::vector<IVec4> scissors = generateScissors(numViewports, renderSize); in test()
/external/deqp/external/openglcts/modules/gles31/
Des31cTextureGatherTests.cpp42 using tcu::IVec4;
492 std::vector<IVec4> pixels(csize * csize, IVec4(999)); in CreateTexture2DInt()
495IVec4 data[4] = { IVec4(12, 13, 14, 15), IVec4(8, 9, 10, 11), IVec4(0, 1, 2, 3), IVec4(4, 5, 6, 7)… in CreateTexture2DInt()
523 std::vector<IVec4> pixels(csize * csize, IVec4(999)); in CreateTexture2DArrayInt()
529IVec4 data[4] = { IVec4(12, 13, 14, 15), IVec4(8, 9, 10, 11), IVec4(0, 1, 2, 3), IVec4(4, 5, 6, 7)… in CreateTexture2DArrayInt()
599 std::vector<IVec4> pixels(csize * csize, IVec4(999)); in CreateTextureCubeInt()
605IVec4 data[4] = { IVec4(12, 13, 14, 15), IVec4(8, 9, 10, 11), IVec4(0, 1, 2, 3), IVec4(4, 5, 6, 7)… in CreateTextureCubeInt()
Des31cVertexAttribBindingTests.cpp36 using tcu::IVec4;
181 bool IsEqual(IVec4 a, IVec4 b) in IsEqual()
1478 IVec4 expected_datai[32];
1489 expected_datai[i] = IVec4(0); in Setup()
1566 IVec4* datai = static_cast<IVec4*>(data); in Run()
1740 expected_datai[0] = IVec4(1, 0, 0, 1); in Run()
1741 expected_datai[1] = IVec4(5, -6, 0, 1); in Run()
1742 expected_datai[2] = IVec4(9, -10, 11, 1); in Run()
1743 expected_datai[3] = IVec4(90, -91, 92, -93); in Run()
1748 expected_datai[8] = IVec4(25, 0, 0, 1); in Run()
[all …]
/external/deqp/external/vulkancts/modules/vulkan/renderpass/
DvktRenderPassMultisampleResolveTests.cpp59 using tcu::IVec4;
1166 tcu::lessThan(IVec4(0, 1, 2, 3), IVec4(componentCount)))); in verify()
1169 tcu::lessThan(IVec4(0, 1, 2, 3), IVec4(componentCount)))); in verify()
1264 const IVec4 bitDepth (tcu::getTextureFormatBitDepth(format)); in verify()
1265 …const IVec4 renderValue (tcu::select((IVec4(1) << (tcu::min(IVec4(8), bitDepth) - IVec4(1))) -… in verify()
1266 IVec4(0, 0, 0, 1), in verify()
1267 tcu::lessThan(IVec4(0, 1, 2, 3), IVec4(componentCount)))); in verify()
1268 const IVec4 clearValue (tcu::select(-(IVec4(1) << (tcu::min(IVec4(8), bitDepth) - IVec4(1))), in verify()
1269 IVec4(0, 0, 0, 1), in verify()
1270 tcu::lessThan(IVec4(0, 1, 2, 3), IVec4(componentCount)))); in verify()
[all …]
/external/deqp/modules/gles31/functional/
Des31fTextureFilteringTests.cpp221 const tcu::IVec4 levelSwz[] = in init()
223 tcu::IVec4(0,1,2,3), in init()
224 tcu::IVec4(2,1,3,0), in init()
225 tcu::IVec4(3,0,1,2), in init()
226 tcu::IVec4(1,3,2,0), in init()
238 const tcu::IVec4 swz = levelSwz[layerFaceNdx % DE_LENGTH_OF_ARRAY(levelSwz)]; in init()
382 const tcu::IVec4 coordBits = tcu::IVec4(10); in iterate()
383 …const tcu::IVec4 colorBits = max(getBitsVec(pixelFormat) - (isNearestOnly ? 1 : 2), tcu::IVec4(0… in iterate()

123456789