Home
last modified time | relevance | path

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

12345678910

/external/deqp/external/vulkancts/modules/vulkan/protected_memory/
DvktProtectedMemFillUpdateCopyBufferTests.cpp314 { tcu::IVec4(1), tcu::IVec4(2), tcu::IVec4(3), tcu::IVec4(4) }, in createFillUpdateCopyBufferFloatTests()
320 { tcu::IVec4(5), tcu::IVec4(6), tcu::IVec4(7), tcu::IVec4(8) }, in createFillUpdateCopyBufferFloatTests()
326 { tcu::IVec4(9), tcu::IVec4(10), tcu::IVec4(11), tcu::IVec4(12) }, in createFillUpdateCopyBufferFloatTests()
332 { tcu::IVec4(13), tcu::IVec4(14), tcu::IVec4(15), tcu::IVec4(0) }, in createFillUpdateCopyBufferFloatTests()
338 { tcu::IVec4(1), tcu::IVec4(5), tcu::IVec4(10), tcu::IVec4(15) }, in createFillUpdateCopyBufferFloatTests()
344 { tcu::IVec4(15), tcu::IVec4(1), tcu::IVec4(9), tcu::IVec4(13) }, in createFillUpdateCopyBufferFloatTests()
378 const tcu::IVec4 vec0 = tcu::IVec4(rnd.getInt(0, MAX_POSITION - 1)); in createFillUpdateCopyBufferFloatTests()
379 const tcu::IVec4 vec1 = tcu::IVec4(rnd.getInt(0, MAX_POSITION - 1)); in createFillUpdateCopyBufferFloatTests()
380 const tcu::IVec4 vec2 = tcu::IVec4(rnd.getInt(0, MAX_POSITION - 1)); in createFillUpdateCopyBufferFloatTests()
381 const tcu::IVec4 vec3 = tcu::IVec4(rnd.getInt(0, MAX_POSITION - 1)); in createFillUpdateCopyBufferFloatTests()
[all …]
DvktProtectedMemCopyImageToBufferTests.cpp324 { tcu::IVec4(0), tcu::IVec4(1), tcu::IVec4(3), tcu::IVec4(7) }, in createCopyImageToFloatBufferTests()
330 { tcu::IVec4(2), tcu::IVec4(4), tcu::IVec4(16), tcu::IVec4(15) }, in createCopyImageToFloatBufferTests()
336 { tcu::IVec4(3), tcu::IVec4(7), tcu::IVec4(17), tcu::IVec4(37) }, in createCopyImageToFloatBufferTests()
342 { tcu::IVec4(7), tcu::IVec4(11), tcu::IVec4(21), tcu::IVec4(40) }, in createCopyImageToFloatBufferTests()
348 { tcu::IVec4(5), tcu::IVec4(21), tcu::IVec4(40), tcu::IVec4(57) }, in createCopyImageToFloatBufferTests()
354 { tcu::IVec4(23), tcu::IVec4(37), tcu::IVec4(51), tcu::IVec4(63) }, in createCopyImageToFloatBufferTests()
382 const tcu::IVec4 vec0 = tcu::IVec4(rnd.getInt(0, MAX_POSITION - 1)); in createCopyImageToFloatBufferTests()
383 const tcu::IVec4 vec1 = tcu::IVec4(rnd.getInt(0, MAX_POSITION - 1)); in createCopyImageToFloatBufferTests()
384 const tcu::IVec4 vec2 = tcu::IVec4(rnd.getInt(0, MAX_POSITION - 1)); in createCopyImageToFloatBufferTests()
385 const tcu::IVec4 vec3 = 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 …]
/external/deqp/framework/common/
DtcuTextureUtil.cpp475 IVec4 getFormatMinIntValue (const TextureFormat& format) in getFormatMinIntValue()
481 case TextureFormat::SIGNED_INT8: return IVec4(std::numeric_limits<deInt8>::min()); in getFormatMinIntValue()
482 case TextureFormat::SIGNED_INT16: return IVec4(std::numeric_limits<deInt16>::min()); in getFormatMinIntValue()
483 case TextureFormat::SIGNED_INT32: return IVec4(std::numeric_limits<deInt32>::min()); in getFormatMinIntValue()
487 return IVec4(0); in getFormatMinIntValue()
491 IVec4 getFormatMaxIntValue (const TextureFormat& format) in getFormatMaxIntValue()
499 return IVec4(511, 511, 511, 1); in getFormatMaxIntValue()
503 case TextureFormat::SIGNED_INT8: return IVec4(std::numeric_limits<deInt8>::max()); in getFormatMaxIntValue()
504 case TextureFormat::SIGNED_INT16: return IVec4(std::numeric_limits<deInt16>::max()); in getFormatMaxIntValue()
505 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);
105 Vec4 computeColorBitsThreshold (const IVec4& bits, const IVec4& numAccurateBits);
120 …View& texture, const Sampler& sampler, const LookupPrecision& prec, const IVec4& coordBits, const …
123 …leMode, const IntLookupPrecision& prec, const float coordX, const int coordY, const IVec4& result);
127 …aleMode, const IntLookupPrecision& prec, const Vec2& coord, const int coordZ, const IVec4& result);
131 …LookupScaleMode scaleMode, const IntLookupPrecision& prec, const Vec3& coord, const IVec4& result);
137 …cision& prec, const Vec2& coord, int componentNdx, const IVec2 (&offsets)[4], const IVec4& result);
141 …cision& prec, const Vec3& coord, int componentNdx, const IVec2 (&offsets)[4], const IVec4& result);
146 …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/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/texture/
DvktSampleVerifierUtil.cpp680 IVec4& bitSizes, in getPackInfo()
681 IVec4& bitOffsets, in getPackInfo()
689 bitSizes = IVec4(4, 4, 0, 0); in getPackInfo()
690 bitOffsets = IVec4(0, 4, 0, 0); in getPackInfo()
695 bitSizes = IVec4(5, 6, 5, 0); in getPackInfo()
696 bitOffsets = IVec4(0, 5, 11, 0); in getPackInfo()
701 bitSizes = IVec4(5, 5, 5, 0); in getPackInfo()
702 bitOffsets = IVec4(0, 5, 10, 0); in getPackInfo()
707 bitSizes = IVec4(4, 4, 4, 4); in getPackInfo()
708 bitOffsets = IVec4(0, 4, 8, 12); in getPackInfo()
[all …]
/external/deqp/external/vulkancts/modules/vulkan/pipeline/
DvktPipelineRenderToImageTests.cpp68 using tcu::IVec4;
113 IVec4 imageSizeHint; //!< (w, h, d, layers), a component may have a symbolic value MAX_SIZE
136 inline VkDeviceSize product (const IVec4& v) in product()
168 inline int maxLayersOrDepth (const IVec4& size) in maxLayersOrDepth()
667 tcu::clear(outputImage, IVec4(clearValue.color.int32)); in generateExpectedImage()
674 const IVec4 setColorInt = (static_cast<float>(REFERENCE_COLOR_VALUE) * setColor).cast<deInt32>(); in generateExpectedImage()
698 IVec4 getMaxImageSize (const VkImageViewType viewType, const IVec4& sizeHint) in getMaxImageSize()
701 IVec4 size = IVec4( in getMaxImageSize()
735 return IVec4(); in getMaxImageSize()
753 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.hpp129 …TriangleRasterizer (const tcu::IVec4& viewport, const int numSamples, const RasterizationState& s…
144 const tcu::IVec4 m_viewport;
181 SingleSampleLineRasterizer (const tcu::IVec4& viewport, const int subpixelBits);
196 const tcu::IVec4 m_viewport;
228 …MultiSampleLineRasterizer (const int numSamples, const tcu::IVec4& viewport, const int subpixelBit…
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/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()
139 std::vector<IVec4> generateScissors (const int numScissors, const IVec2& renderSize) in generateScissors()
148 std::vector<IVec4> scissors; in generateScissors()
163 scissors.push_back(IVec4(x, y, rectWidth, rectHeight)); in generateScissors()
202 const std::vector<IVec4>& scissors, in generateReferenceImage()
306 const std::vector<IVec4>& scissors, in ScissorRenderer()
409 const std::vector<IVec4> scissors = generateScissors(numViewports, renderSize); in test()
/external/deqp/modules/glshared/
DglsScissorTests.cpp69 using tcu::IVec4;
114 void clearEdges (const tcu::PixelBufferAccess& access, const T& color, const IVec4& scissorArea) in clearEdges()
192 virtual void render (GLuint program, const IVec4& viewport) const = 0;
222 const IVec4 relScissorArea (int(m_scissorArea.x() * (float)viewport.width), in iterate()
226 const IVec4 absScissorArea (relScissorArea.x() + viewport.x, in iterate()
241 …log << TestLog::Message << "Viewport area is " << IVec4(viewport.x, viewport.y, viewport.width, vi… in iterate()
259 render(shader.getProgram(), IVec4(viewport.x, viewport.y, viewport.width, viewport.height)); in iterate()
283 render(shader.getProgram(), IVec4(viewport.x, viewport.y, viewport.width, viewport.height)); in iterate()
291 clearEdges(refImage.getAccess(), IVec4(32, 64, 128, 255), relScissorArea); in iterate()
316 virtual void render (GLuint program, const IVec4& viewport) const;
[all …]
/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()
1481 IVec4 expected_datai[32];
1492 expected_datai[i] = IVec4(0); in Setup()
1567 IVec4* datai = static_cast<IVec4*>(data); in Run()
1741 expected_datai[0] = IVec4(1, 0, 0, 1); in Run()
1742 expected_datai[1] = IVec4(5, -6, 0, 1); in Run()
1743 expected_datai[2] = IVec4(9, -10, 11, 1); in Run()
1744 expected_datai[3] = IVec4(90, -91, 92, -93); in Run()
1749 expected_datai[8] = IVec4(25, 0, 0, 1); in Run()
[all …]
/external/angle/src/tests/deqp_support/
Des31cVertexAttribBindingTests_override.cpp37 using tcu::IVec4;
173 bool IsEqual(IVec4 a, IVec4 b) in IsEqual()
1481 IVec4 expected_datai[32];
1492 expected_datai[i] = IVec4(0); in Setup()
1578 IVec4 *datai = static_cast<IVec4 *>(data); in Run()
1756 expected_datai[0] = IVec4(1, 0, 0, 1); in Run()
1757 expected_datai[1] = IVec4(5, -6, 0, 1); in Run()
1758 expected_datai[2] = IVec4(9, -10, 11, 1); in Run()
1759 expected_datai[3] = IVec4(90, -91, 92, -93); in Run()
1764 expected_datai[8] = IVec4(25, 0, 0, 1); in Run()
[all …]
/external/deqp/modules/gles31/functional/
Des31fTextureFilteringTests.cpp227 const tcu::IVec4 levelSwz[] = in init()
229 tcu::IVec4(0,1,2,3), in init()
230 tcu::IVec4(2,1,3,0), in init()
231 tcu::IVec4(3,0,1,2), in init()
232 tcu::IVec4(1,3,2,0), in init()
244 const tcu::IVec4 swz = levelSwz[layerFaceNdx % DE_LENGTH_OF_ARRAY(levelSwz)]; in init()
391 const tcu::IVec4 coordBits = tcu::IVec4(10); in iterate()
392 …const tcu::IVec4 colorBits = max(getBitsVec(pixelFormat) - (isNearestOnly ? 1 : 2), tcu::IVec4(0… in iterate()
/external/deqp/external/vulkancts/modules/vulkan/renderpass/
DvktRenderPassMultisampleResolveTests.cpp60 using tcu::IVec4;
856 tcu::lessThan(IVec4(0, 1, 2, 3), IVec4(componentCount)))); in verify()
859 tcu::lessThan(IVec4(0, 1, 2, 3), IVec4(componentCount)))); in verify()
954 const IVec4 bitDepth (tcu::getTextureFormatBitDepth(format)); in verify()
955 …const IVec4 renderValue (tcu::select((IVec4(1) << (tcu::min(IVec4(8), bitDepth) - IVec4(1))) -… in verify()
956 IVec4(0, 0, 0, 1), in verify()
957 tcu::lessThan(IVec4(0, 1, 2, 3), IVec4(componentCount)))); in verify()
958 const IVec4 clearValue (tcu::select(-(IVec4(1) << (tcu::min(IVec4(8), bitDepth) - IVec4(1))), in verify()
959 IVec4(0, 0, 0, 1), in verify()
960 tcu::lessThan(IVec4(0, 1, 2, 3), IVec4(componentCount)))); in verify()
[all …]

12345678910