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

1 2 3 4 5 6 7

  /external/deqp/external/vulkancts/modules/vulkan/synchronization/
vktSynchronizationOperationTestData.hpp 38 { RESOURCE_TYPE_BUFFER, tcu::IVec4( 0x4000, 0, 0, 0), vk::VK_IMAGE_TYPE_LAST, vk::VK_FORMAT_UNDEFINED, (vk::VkImageAspectFlags)0 }, // 16 KiB (min max UBO range)
39 { RESOURCE_TYPE_BUFFER, tcu::IVec4(0x40000, 0, 0, 0), vk::VK_IMAGE_TYPE_LAST, vk::VK_FORMAT_UNDEFINED, (vk::VkImageAspectFlags)0 }, // 256 KiB
41 { RESOURCE_TYPE_IMAGE, tcu::IVec4(128, 0, 0, 0), vk::VK_IMAGE_TYPE_1D, vk::VK_FORMAT_R32_UINT, vk::VK_IMAGE_ASPECT_COLOR_BIT },
43 { RESOURCE_TYPE_IMAGE, tcu::IVec4(128, 128, 0, 0), vk::VK_IMAGE_TYPE_2D, vk::VK_FORMAT_R8_UNORM, vk::VK_IMAGE_ASPECT_COLOR_BIT },
44 { RESOURCE_TYPE_IMAGE, tcu::IVec4(128, 128, 0, 0), vk::VK_IMAGE_TYPE_2D, vk::VK_FORMAT_R16_UINT, vk::VK_IMAGE_ASPECT_COLOR_BIT },
45 { RESOURCE_TYPE_IMAGE, tcu::IVec4(128, 128, 0, 0), vk::VK_IMAGE_TYPE_2D, vk::VK_FORMAT_R8G8B8A8_UNORM, vk::VK_IMAGE_ASPECT_COLOR_BIT },
46 { RESOURCE_TYPE_IMAGE, tcu::IVec4(128, 128, 0, 0), vk::VK_IMAGE_TYPE_2D, vk::VK_FORMAT_R16G16B16A16_UINT, vk::VK_IMAGE_ASPECT_COLOR_BIT },
47 { RESOURCE_TYPE_IMAGE, tcu::IVec4(128, 128, 0, 0), vk::VK_IMAGE_TYPE_2D, vk::VK_FORMAT_R32G32B32A32_SFLOAT, vk::VK_IMAGE_ASPECT_COLOR_BIT },
49 { RESOURCE_TYPE_IMAGE, tcu::IVec4(64, 64, 8, 0), vk::VK_IMAGE_TYPE_3D, vk::VK_FORMAT_R32_SFLOAT, vk::VK_IMAGE_ASPECT_COLOR_BIT },
52 { RESOURCE_TYPE_IMAGE, tcu::IVec4(128, 128, 0, 0), vk::VK_IMAGE_TYPE_2D, vk::VK_FORMAT_D16_UNORM, vk::VK_IMAGE_ASPECT_DEPTH_BIT }
    [all...]
  /external/deqp/external/vulkancts/modules/vulkan/pipeline/
vktPipelineClearUtil.hpp 37 tcu::IVec4 defaultClearColorInt (const tcu::TextureFormat& format);
vktPipelineClearUtil.cpp 47 tcu::IVec4 defaultClearColorInt (const tcu::TextureFormat& format)
52 const tcu::IVec4 result ((deInt32)deFloatRound(color.x()), (deInt32)deFloatRound(color.y()),
116 const tcu::IVec4 defaultColor = defaultClearColorInt(tcuClearFormat);
  /external/deqp/modules/gles2/performance/
es2pTextureCases.cpp 48 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),
164 IVec4(3,2,1,0), IVec4(2,1,0,3), IVec4(1,0,3,2), IVec4(0,3,2,1) }
    [all...]
  /external/deqp/modules/gles3/performance/
es3pTextureCases.cpp 49 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),
190 IVec4(3,2,1,0), IVec4(2,1,0,3), IVec4(1,0,3,2), IVec4(0,3,2,1) }
    [all...]
  /external/deqp/modules/gles3/functional/
es3fFramebufferBlitTests.cpp 51 using tcu::IVec4;
58 BlitRectCase (Context& context, const char* name, const char* desc, deUint32 filter, const IVec2& srcSize, const IVec4& srcRect, const IVec2& dstSize, const IVec4& dstRect, int cellSize = 8)
156 const IVec4 m_srcRect;
158 const IVec4 m_dstRect;
167 BlitNearestFilterConsistencyCase (Context& context, const char* name, const char* desc, const IVec2& srcSize, const IVec4& srcRect, const IVec2& dstSize, const IVec4& dstRect);
172 BlitNearestFilterConsistencyCase::BlitNearestFilterConsistencyCase (Context& context, const char* name, const char* desc, const IVec2& srcSize, const IVec4& srcRect, const IVec2& dstSize, const IVec4& dstRect)
190 const tcu::IVec4 destinationArea = tcu::IVec4(de::clamp(de::min(m_dstRect.x(), m_dstRect.z()), 0, result.getWidth() (…)
    [all...]
es3fFragmentOutputTests.cpp 58 using tcu::IVec4;
388 static inline IVec4 readIVec4 (const int* ptr, int numComponents)
391 return IVec4(ptr[0],
439 IVec4 c = readIVec4(vertices + (cellY*gridWidth + cellX+1)*numComponents, numComponents);
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...]
es3fASTCDecompressionCases.cpp 66 using tcu::IVec4;
143 IVec4& maxDiffDst)
149 const IVec4 threshold = thresholdRGBA.toIVec();
157 maxDiffDst = IVec4(0);
166 const IVec4 refPix = reference.getPixel(x, y).toIVec();
168 if (refPix == IVec4(255, 0, 255, 255))
175 const IVec4 resPix = result.getPixel(x, y).toIVec();
176 const IVec4 diff = tcu::abs(refPix - resPix);
463 IVec4 maxDiff;
es3fStencilTests.cpp 47 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>& ops)
295 IVec4 viewport = IVec4(viewportX, viewportY, width, height);
316 vector<IVec4> cells;
321 cells.push_back(IVec4(x*cellWidth, y*cellHeight, cellWidth, cellHeight));
  /external/deqp/framework/referencerenderer/
rrVertexAttrib.hpp 152 void readVertexAttrib (tcu::IVec4& dst, const VertexAttrib& vertexAttrib, const int instanceNdx, const int vertexNdx);
164 inline tcu::IVec4 readVertexAttribInt (const VertexAttrib& vertexAttrib, const int instanceNdx, const int vertexNdx)
166 tcu::IVec4 v;
rrRasterizer.hpp 130 TriangleRasterizer (const tcu::IVec4& viewport, const int numSamples, const RasterizationState& state);
145 const tcu::IVec4 m_viewport;
180 SingleSampleLineRasterizer (const tcu::IVec4& viewport);
193 const tcu::IVec4 m_viewport;
221 MultiSampleLineRasterizer (const int numSamples, const tcu::IVec4& viewport);
rrMultisamplePixelBufferAccess.hpp 99 void clear (const MultisamplePixelBufferAccess& access, const tcu::IVec4& color);
  /external/deqp/framework/common/
tcuTexLookupVerifier.hpp 98 Vec4 computeFixedPointThreshold (const IVec4& bits);
99 Vec4 computeFloatingPointThreshold (const IVec4& bits, const Vec4& value);
114 bool isLookupResultValid (const TextureCubeArrayView& texture, const Sampler& sampler, const LookupPrecision& prec, const IVec4& coordBits, const Vec4& coord, const Vec2& lodBounds, const Vec4& result);
117 bool isLevel1DLookupResultValid (const ConstPixelBufferAccess& access, const Sampler& sampler, TexLookupScaleMode scaleMode, const IntLookupPrecision& prec, const float coordX, const int coordY, const IVec4& result);
121 bool isLevel2DLookupResultValid (const ConstPixelBufferAccess& access, const Sampler& sampler, TexLookupScaleMode scaleMode, const IntLookupPrecision& prec, const Vec2& coord, const int coordZ, const IVec4& result);
125 bool isLevel3DLookupResultValid (const ConstPixelBufferAccess& access, const Sampler& sampler, TexLookupScaleMode scaleMode, const IntLookupPrecision& prec, const Vec3& coord, const IVec4& result);
131 bool isGatherOffsetsResultValid (const Texture2DView& texture, const Sampler& sampler, const IntLookupPrecision& prec, const Vec2& coord, int componentNdx, const IVec2 (&offsets)[4], const IVec4& result);
135 bool isGatherOffsetsResultValid (const Texture2DArrayView& texture, const Sampler& sampler, const IntLookupPrecision& prec, const Vec3& coord, int componentNdx, const IVec2 (&offsets)[4], const IVec4& result);
140 bool isGatherResultValid (const TextureCubeView& texture, const Sampler& sampler, const IntLookupPrecision& prec, const Vec3& coord, int componentNdx, const IVec4& result);
tcuVectorType.hpp 46 typedef Vector<int, 4> IVec4;
tcuTextureUtil.cpp 457 IVec4 getFormatMinIntValue (const TextureFormat& format)
463 case TextureFormat::SIGNED_INT8: return IVec4(std::numeric_limits<deInt8>::min());
464 case TextureFormat::SIGNED_INT16: return IVec4(std::numeric_limits<deInt16>::min());
465 case TextureFormat::SIGNED_INT32: return IVec4(std::numeric_limits<deInt32>::min());
469 return IVec4(0);
473 IVec4 getFormatMaxIntValue (const TextureFormat& format)
479 return IVec4(511, 511, 511, 1);
483 case TextureFormat::SIGNED_INT8: return IVec4(std::numeric_limits<deInt8>::max());
484 case TextureFormat::SIGNED_INT16: return IVec4(std::numeric_limits<deInt16>::max());
485 case TextureFormat::SIGNED_INT32: return IVec4(std::numeric_limits<deInt32>::max())
    [all...]
tcuTextureUtil.hpp 103 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);
tcuRGBA.cpp 48 IVec4 RGBA::toIVec (void) const
50 return IVec4(getRed(), getGreen(), getBlue(), getAlpha());
tcuImageCompare.cpp 93 const tcu::IVec4 okColor (0, 255, 0, 255);
94 const tcu::IVec4 errorColor (255, 0, 0, 255);
119 const IVec4 refPix = reference.getPixelInt(x, y, z);
120 const IVec4 cmpPix = result.getPixelInt(x, y, z);
142 const IVec4 deviatedCmpPix = result.getPixelInt(sx, sy, sz);
165 const IVec4 deviatedRefPix = reference.getPixelInt(sx, sy, sz);
303 IVec4 a = ref.getPixelInt(x, y);
304 IVec4 b = cmp.getPixelInt(x, y);
305 IVec4 diff = abs(a - b);
762 IVec4 refPix = reference.getPixelInt(x, y, z)
    [all...]
  /external/deqp/modules/internal/
ditSeedBuilderTests.cpp 32 using tcu::IVec4;
162 addChild(new SeedBuilderTest<IVec4>(m_testCtx, IVec4(0), 73989201u, "ivec4_zero", "Seed from zero vector."));
166 addChild(new SeedBuilderTest<IVec4>(m_testCtx, IVec4(1), 90609878u, "ivec4_one", "Seed from one vector."));
168 addChild(new SeedBuilderTest<IVec4>(m_testCtx, IVec4(1, 2, 3, 4), 6202236u, "ivec4_1_2_3_4", "Seed from (1, 2, 3, 4) vector."));
169 addChild(new SeedBuilderTest<IVec4>(m_testCtx, IVec4(4, 3, 2, 1), 26964618u, "ivec4_4_3_2_1", "Seed from (4, 3, 2, 1) vector."));
  /external/deqp/external/vulkancts/modules/vulkan/texture/
vktSampleVerifierUtil.cpp 677 IVec4& bitSizes,
678 IVec4& bitOffsets,
686 bitSizes = IVec4(4, 4, 0, 0);
687 bitOffsets = IVec4(0, 4, 0, 0);
692 bitSizes = IVec4(5, 6, 5, 0);
693 bitOffsets = IVec4(0, 5, 11, 0);
698 bitSizes = IVec4(5, 5, 5, 0);
699 bitOffsets = IVec4(0, 5, 10, 0);
704 bitSizes = IVec4(4, 4, 4, 4);
705 bitOffsets = IVec4(0, 4, 8, 12)
    [all...]
  /external/deqp/modules/glshared/
glsScissorTests.cpp 69 using tcu::IVec4;
114 void clearEdges (const tcu::PixelBufferAccess& access, const T& color, const IVec4& scissorArea)
178 virtual void render (GLuint program, const IVec4& viewport) const = 0;
205 const IVec4 relScissorArea (int(m_scissorArea.x() * (float)viewport.width),
209 const IVec4 absScissorArea (relScissorArea.x() + viewport.x,
224 log << TestLog::Message << "Viewport area is " << IVec4(viewport.x, viewport.y, viewport.width, viewport.height) << TestLog::EndMessage;
242 render(shader.getProgram(), IVec4(viewport.x, viewport.y, viewport.width, viewport.height));
266 render(shader.getProgram(), IVec4(viewport.x, viewport.y, viewport.width, viewport.height));
274 clearEdges(refImage.getAccess(), IVec4(32, 64, 128, 255), relScissorArea);
299 virtual void render (GLuint program, const IVec4& viewport) const
    [all...]
  /external/deqp/modules/gles31/functional/
es31fTextureFilteringTests.cpp 216 const tcu::IVec4 levelSwz[] =
218 tcu::IVec4(0,1,2,3),
219 tcu::IVec4(2,1,3,0),
220 tcu::IVec4(3,0,1,2),
221 tcu::IVec4(1,3,2,0),
233 const tcu::IVec4 swz = levelSwz[layerFaceNdx % DE_LENGTH_OF_ARRAY(levelSwz)];
377 const tcu::IVec4 coordBits = tcu::IVec4(10);
378 const tcu::IVec4 colorBits = max(getBitsVec(pixelFormat) - (isNearestOnly ? 1 : 2), tcu::IVec4(0)); // 1 inaccurate bit if nearest only, 2 otherwis
    [all...]
  /external/deqp/external/vulkancts/modules/vulkan/fragment_ops/
vktFragmentOperationsScissorMultiViewportTests.cpp 55 using tcu::IVec4;
157 const std::vector<IVec4> scissors)
207 for (std::vector<IVec4>::const_iterator it = scissors.begin(); it != scissors.end(); ++it)
386 std::vector<IVec4> generateScissors (const int numScissors, const IVec2& renderSize)
395 std::vector<IVec4> scissors;
410 scissors.push_back(IVec4(x, y, rectWidth, rectHeight));
449 const std::vector<IVec4>& scissors,
553 const std::vector<IVec4>& scissors,
728 const std::vector<IVec4> scissors = generateScissors(numViewports, renderSize);
    [all...]
  /external/deqp/modules/gles2/functional/
es2fStencilTests.cpp 47 using tcu::IVec4;
180 void executeOps (sglr::Context& context, const IVec4& cell, const vector<StencilOp>& ops);
205 void StencilCase::executeOps (sglr::Context& context, const IVec4& cell, const vector<StencilOp>& ops)
292 IVec4 viewport = IVec4(viewportX, viewportY, width, height);
313 vector<IVec4> cells;
318 cells.push_back(IVec4(x*cellWidth, y*cellHeight, cellWidth, cellHeight));
es2fShaderTextureFunctionTests.cpp 183 using tcu::IVec4;
312 static const IVec4 texCubeSwz[] =
314 IVec4(0,0,1,1),
315 IVec4(1,1,0,0),
316 IVec4(0,1,0,1),
317 IVec4(1,0,1,0),
318 IVec4(0,1,1,0),
319 IVec4(1,0,0,1)
378 const IVec4& swzA = texCubeSwz[face];
379 IVec4 swzB = 1-swzA
    [all...]

Completed in 630 milliseconds

1 2 3 4 5 6 7