Home
last modified time | relevance | path

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

1234567

/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()
Des3fStencilTests.cpp47 using tcu::IVec4;
183 void executeOps (sglr::Context& context, const IVec4& cell, const vector<StencilOp>& ops);
208 void StencilCase::executeOps (sglr::Context& context, const IVec4& cell, const vector<StencilOp>& o… in executeOps()
295 IVec4 viewport = IVec4(viewportX, viewportY, width, height); in iterate()
316 vector<IVec4> cells; in iterate()
321 cells.push_back(IVec4(x*cellWidth, y*cellHeight, cellWidth, cellHeight)); 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);
DtcuImageCompare.cpp93 const tcu::IVec4 okColor (0, 255, 0, 255); in findNumPositionDeviationFailingPixels()
94 const tcu::IVec4 errorColor (255, 0, 0, 255); in findNumPositionDeviationFailingPixels()
119 const IVec4 refPix = reference.getPixelInt(x, y, z); in findNumPositionDeviationFailingPixels()
120 const IVec4 cmpPix = result.getPixelInt(x, y, z); in findNumPositionDeviationFailingPixels()
142 const IVec4 deviatedCmpPix = result.getPixelInt(sx, sy, sz); in findNumPositionDeviationFailingPixels()
165 const IVec4 deviatedRefPix = reference.getPixelInt(sx, sy, sz); in findNumPositionDeviationFailingPixels()
303 IVec4 a = ref.getPixelInt(x, y); in computeSquaredDiffSum()
304 IVec4 b = cmp.getPixelInt(x, y); in computeSquaredDiffSum()
305 IVec4 diff = abs(a - b); in computeSquaredDiffSum()
762 IVec4 refPix = reference.getPixelInt(x, y, z); in intThresholdCompare()
[all …]
DtcuRGBA.cpp48 IVec4 RGBA::toIVec (void) const in toIVec()
50 return IVec4(getRed(), getGreen(), getBlue(), getAlpha()); in toIVec()
/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.cpp64 using tcu::IVec4;
109 IVec4 imageSizeHint; //!< (w, h, d, layers), a component may have a symbolic value MAX_SIZE
132 inline VkDeviceSize product (const IVec4& v) in product()
164 inline int maxLayersOrDepth (const IVec4& size) in maxLayersOrDepth()
677 tcu::clear(outputImage, IVec4(clearValue.color.int32)); in generateExpectedImage()
684 const IVec4 setColorInt = (static_cast<float>(REFERENCE_COLOR_VALUE) * setColor).cast<deInt32>(); in generateExpectedImage()
712 IVec4 getReducedImageSize (const CaseDef& caseDef, IVec4 size) in getReducedImageSize()
726 size = IVec4(0); in getReducedImageSize()
735 size = IVec4(0); in getReducedImageSize()
746 IVec4 getMaxImageSize (const VkPhysicalDeviceLimits& limits, const VkImageViewType viewType, const in getMaxImageSize()
[all …]
DvktPipelineClearUtil.cpp47 tcu::IVec4 defaultClearColorInt (const tcu::TextureFormat& format) in defaultClearColorInt()
52 const tcu::IVec4 result ((deInt32)deFloatRound(color.x()), (deInt32)deFloatRound(color.y()), in defaultClearColorInt()
116 const tcu::IVec4 defaultColor = defaultClearColorInt(tcuClearFormat); in defaultClearValue()
/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/renderpass/
DvktRenderPassMultisampleResolveTests.cpp56 using tcu::IVec4;
1248 tcu::lessThan(IVec4(0, 1, 2, 3), IVec4(componentCount)))); in verify()
1251 tcu::lessThan(IVec4(0, 1, 2, 3), IVec4(componentCount)))); in verify()
1345 const IVec4 bitDepth (tcu::getTextureFormatBitDepth(format)); in verify()
1346 …const IVec4 renderValue (tcu::select((IVec4(1) << (tcu::min(IVec4(8), bitDepth) - IVec4(1))) -… in verify()
1347 IVec4(0, 0, 0, 1), in verify()
1348 tcu::lessThan(IVec4(0, 1, 2, 3), IVec4(componentCount)))); in verify()
1349 const IVec4 clearValue (tcu::select(-(IVec4(1) << (tcu::min(IVec4(8), bitDepth) - IVec4(1))), in verify()
1350 IVec4(0, 0, 0, 1), in verify()
1351 tcu::lessThan(IVec4(0, 1, 2, 3), IVec4(componentCount)))); in verify()
[all …]
/external/deqp/modules/gles31/functional/
Des31fTextureFilteringTests.cpp216 const tcu::IVec4 levelSwz[] = in init()
218 tcu::IVec4(0,1,2,3), in init()
219 tcu::IVec4(2,1,3,0), in init()
220 tcu::IVec4(3,0,1,2), in init()
221 tcu::IVec4(1,3,2,0), in init()
233 const tcu::IVec4 swz = levelSwz[layerFaceNdx % DE_LENGTH_OF_ARRAY(levelSwz)]; in init()
377 const tcu::IVec4 coordBits = tcu::IVec4(10); in iterate()
378 …const tcu::IVec4 colorBits = max(getBitsVec(pixelFormat) - (isNearestOnly ? 1 : 2), tcu::IVec4(0… in iterate()
Des31fTextureBorderClampTests.cpp376 tcu::IVec4 getNBitIntegerVec4MaxValue (bool isSigned, const tcu::IVec4& numBits) in getNBitIntegerVec4MaxValue()
378 return tcu::IVec4(getNBitIntegerMaxValue(isSigned, numBits[0]), in getNBitIntegerVec4MaxValue()
384 tcu::IVec4 getNBitIntegerVec4MinValue (bool isSigned, const tcu::IVec4& numBits) in getNBitIntegerVec4MinValue()
386 return tcu::IVec4(getNBitIntegerMinValue(isSigned, numBits[0]), in getNBitIntegerVec4MinValue()
427 const tcu::IVec4 sRGB8 = tcu::IVec4(tcu::floatToU8(sRGB[0]), in mapToFormatColorRepresentable()
451 return rr::GenericVec4(tcu::select(access.getPixelInt(0, 0), tcu::IVec4(0), channelMask)); in mapToFormatColorRepresentable()
932 …const tcu::IVec4 colorBits = tcu::max(glu::TextureTestUtil::getBitsVec(pixelFormat) - tcu::IV… in verifyImage()
1050 …const tcu::IVec4 nonShadowBits = tcu::max(glu::TextureTestUtil::getBitsVec(pixelFormat) - … in verifyTextureCompareResult()
1544 const tcu::IVec4 numBits = tcu::getTextureFormatBitDepth(texFormat); in init()
1551 const tcu::IVec4 minValue = getNBitIntegerVec4MinValue(isSigned, numBits); in init()
[all …]
/external/deqp/external/vulkancts/modules/vulkan/fragment_ops/
DvktFragmentOperationsScissorMultiViewportTests.cpp55 using tcu::IVec4;
157 const std::vector<IVec4> scissors) in makeGraphicsPipeline()
207 for (std::vector<IVec4>::const_iterator it = scissors.begin(); it != scissors.end(); ++it) in makeGraphicsPipeline()
386 std::vector<IVec4> generateScissors (const int numScissors, const IVec2& renderSize) in generateScissors()
395 std::vector<IVec4> scissors; in generateScissors()
410 scissors.push_back(IVec4(x, y, rectWidth, rectHeight)); in generateScissors()
449 const std::vector<IVec4>& scissors, in generateReferenceImage()
553 const std::vector<IVec4>& scissors, in ScissorRenderer()
728 const std::vector<IVec4> scissors = generateScissors(numViewports, renderSize); in test()
/external/deqp/modules/gles2/functional/
Des2fTextureMipmapTests.cpp57 using tcu::IVec4;
358 …u::computeFixedPointThreshold(max(getBitsVec(pixelFormat) - (isTrilinear ? 2 : 1), tcu::IVec4(0))); in iterate()
551 static void randomPartition (vector<IVec4>& dst, de::Random& rnd, int x, int y, int width, int heig… in randomPartition()
573 dst.push_back(IVec4(x, y, width, height)); in randomPartition()
576 static void computeGridLayout (vector<IVec4>& dst, int width, int height) in computeGridLayout()
616 vector<IVec4> gridLayout; in iterate()
682 …teFixedPointThreshold(max(getBitsVec(m_renderCtx.getRenderTarget().getPixelFormat())-2, IVec4(0))); in iterate()
864 …const IVec4 framebufferBits = max(getBitsVec(m_renderCtx.getRenderTarget().getPixelFormat())-2,… in iterate()
865 …const IVec4 formatBits = tcu::getTextureFormatBitDepth(glu::mapGLTransferFormat(m_format, m_da… in iterate()
866 const tcu::BVec4 formatMask = greaterThan(formatBits, IVec4(0)); in iterate()
[all …]
Des2fShaderTextureFunctionTests.cpp183 using tcu::IVec4;
312 static const IVec4 texCubeSwz[] = in initTexture()
314 IVec4(0,0,1,1), in initTexture()
315 IVec4(1,1,0,0), in initTexture()
316 IVec4(0,1,0,1), in initTexture()
317 IVec4(1,0,1,0), in initTexture()
318 IVec4(0,1,1,0), in initTexture()
319 IVec4(1,0,0,1) in initTexture()
378 const IVec4& swzA = texCubeSwz[face]; in initTexture()
379 IVec4 swzB = 1-swzA; in initTexture()

1234567