Home
last modified time | relevance | path

Searched refs:IVec3 (Results 1 – 25 of 118) sorted by relevance

12345

/external/deqp/modules/gles3/functional/
Des3fShaderTextureFunctionTests.cpp124 tcu::IVec3 offset;
153 const tcu::IVec3& offset_) in TextureLookupSpec()
221 tcu::IVec3 offset;
240 using tcu::IVec3;
290 … (const gls::ShaderEvalContext& c, float s, float t, float r, float lod, IVec3 offset) { return c… in texture3DOffset()
966 tcu::IVec3 textureSize;
969 tcu::IVec3 expectedSize;
1013 { tcu::IVec3(1, 2, 1), 1, 0, tcu::IVec3(1, 1, 1) }, in iterate()
1014 { tcu::IVec3(1, 2, 1), 0, 0, tcu::IVec3(1, 2, 1) }, in iterate()
1016 { tcu::IVec3(1, 3, 2), 0, 0, tcu::IVec3(1, 3, 2) }, in iterate()
[all …]
Des3fClippingTests.cpp320 tcu::Vec3 IVec3ToVec3 (const tcu::IVec3& v) in IVec3ToVec3()
325 bool pointOnTriangle (const tcu::IVec3& p, const tcu::IVec3& t0, const tcu::IVec3& t1, const tcu::I… in pointOnTriangle()
328 const tcu::IVec3 n = tcu::cross(t1 - t0, t2 - t0); in pointOnTriangle()
329 const tcu::IVec3 d = (p - t0); in pointOnTriangle()
352 bool twoPointClippedTriangleInvisible(const tcu::Vec3& p, const tcu::IVec3& dir1, const tcu::IVec3&… in twoPointClippedTriangleInvisible()
1889 const tcu::IVec3 outside[] = in init()
1892 tcu::IVec3(-1, 0, 0), in init()
1893 tcu::IVec3( 1, 0, 0), in init()
1894 tcu::IVec3( 0, 1, 0), in init()
1895 tcu::IVec3( 0, -1, 0), in init()
[all …]
Des3fCompressedTextureTests.cpp35 using tcu::IVec3;
49 const IVec3 blockSize = tcu::getBlockPixelSize(format); in getASTCFormatShortName()
/external/deqp/external/vulkancts/modules/vulkan/pipeline/
DvktPipelineImageTests.cpp57 const tcu::IVec3& imageSize,
67 tcu::IVec3 m_imageSize;
76 const tcu::IVec3& imageSize, in ImageTest()
256 std::string getSizeName (VkImageViewType viewType, const tcu::IVec3& size, int arraySize) in getSizeName()
288 using tcu::IVec3; in createImageSizeTests()
290 std::vector<IVec3> imageSizes; in createImageSizeTests()
300 imageSizes.push_back(IVec3(1, 1, 1)); in createImageSizeTests()
301 imageSizes.push_back(IVec3(2, 1, 1)); in createImageSizeTests()
302 imageSizes.push_back(IVec3(32, 1, 1)); in createImageSizeTests()
303 imageSizes.push_back(IVec3(128, 1, 1)); in createImageSizeTests()
[all …]
DvktPipelineImageViewTests.cpp70 static tcu::IVec3 getImageSize (VkImageViewType viewType);
198 const tcu::IVec3 imageSize = getImageSize(m_imageViewType); in createInstance()
282 tcu::IVec3 ImageViewTest::getImageSize (VkImageViewType viewType) in getImageSize()
288 return tcu::IVec3(16, 1, 1); in getImageSize()
291 return tcu::IVec3(16); in getImageSize()
297 return tcu::IVec3(16, 16, 1); in getImageSize()
320 const tcu::IVec3 imageSize = getImageSize(viewType); in getNumLevels()
/external/deqp/external/vulkancts/modules/vulkan/compute/
DvktComputeBasicComputeShaderTests.cpp111 const tcu::IVec3& localSize,
112 const tcu::IVec3& workSize);
118 const tcu::IVec3 m_localSize;
119 const tcu::IVec3 m_workSize;
126 const tcu::IVec3& localSize,
127 const tcu::IVec3& workSize);
132 const tcu::IVec3 m_localSize;
133 const tcu::IVec3 m_workSize;
139 const tcu::IVec3& localSize, in SharedVarTest()
140 const tcu::IVec3& workSize) in SharedVarTest()
[all …]
/external/deqp/modules/gles31/functional/
Des31fBasicComputeShaderTests.cpp118 …* name, const char* description, int numValues, const tcu::IVec3& localSize, const tcu::IVec3& wor… in UBOToSSBOInvertCase()
231 const tcu::IVec3 m_localSize;
232 const tcu::IVec3 m_workSize;
238 …* name, const char* description, int numValues, const tcu::IVec3& localSize, const tcu::IVec3& wor… in CopyInvertSSBOCase()
352 const tcu::IVec3 m_localSize;
353 const tcu::IVec3 m_workSize;
359 …char* description, int numValues, bool isSized, const tcu::IVec3& localSize, const tcu::IVec3& wor… in InvertSSBOInPlaceCase()
454 const tcu::IVec3 m_localSize;
455 const tcu::IVec3 m_workSize;
461 …char* description, int numValues, bool isSized, const tcu::IVec3& localSize, const tcu::IVec3& wor… in WriteToMultipleSSBOCase()
[all …]
Des31fCopyImageTests.cpp65 using tcu::IVec3;
260 ImageInfo (deUint32 format, deUint32 target, const IVec3& size);
264 const IVec3& getSize (void) const { return m_size; } in getSize()
269 IVec3 m_size;
272 ImageInfo::ImageInfo (deUint32 format, deUint32 target, const IVec3& size) in ImageInfo()
299 const IVec3 size = info.getSize(); in getLevelCount()
358 IVec3 getTexelBlockPixelSize (deUint32 format) in getTexelBlockPixelSize()
363 return IVec3(1, 1, 1); in getTexelBlockPixelSize()
366 IVec3 getLevelSize (deUint32 target, const IVec3& baseSize, int level) in getLevelSize()
368 IVec3 size; in getLevelSize()
[all …]
Des31fShaderTextureSizeTests.cpp82 void createTexture (const tcu::IVec3& size);
84 void runShader (tcu::Surface& dst, const tcu::IVec3& size);
94 std::vector<tcu::IVec3> m_iterations;
133 static const tcu::IVec3 testSizes3D[] = in init()
135 tcu::IVec3(1, 1, 1), in init()
136 tcu::IVec3(1, 4, 7), in init()
137 tcu::IVec3(4, 8, 12), in init()
138 tcu::IVec3(21, 11, 9), in init()
139 tcu::IVec3(107, 254, 2), in init()
140 tcu::IVec3(-1, 3, 3), in init()
[all …]
Des31fShaderImageLoadStoreTests.cpp62 using tcu::IVec3;
88 static inline IVec3 defaultImageSize (TextureType type) in defaultImageSize()
92 case TEXTURETYPE_BUFFER: return IVec3(64, 1, 1); in defaultImageSize()
93 case TEXTURETYPE_2D: return IVec3(64, 64, 1); in defaultImageSize()
94 case TEXTURETYPE_CUBE: return IVec3(64, 64, 1); in defaultImageSize()
95 case TEXTURETYPE_3D: return IVec3(64, 64, 8); in defaultImageSize()
96 case TEXTURETYPE_2D_ARRAY: return IVec3(64, 64, 8); in defaultImageSize()
99 return IVec3(-1); in defaultImageSize()
576 const IVec3& getSize (void) const { return m_size; } in getSize()
606 const IVec3 m_size;
[all …]
Des31fFboColorbufferTests.cpp56 using tcu::IVec3;
117 …Context& context, const char* name, const char* description, deUint32 texFmt, const IVec3& texSize) in FboColorTexCubeArrayCase()
157 const IVec3& size = m_texSize; in render()
211 const IVec3& viewport = m_texSize; in render()
256 IVec3 m_texSize;
328 colorFormats[fmtNdx], IVec3(128, 128, 12))); in init()
/external/deqp/external/vulkancts/modules/vulkan/image/
DvktImageSizeTests.cpp54 Texture getTexture (const ImageType imageType, const tcu::IVec3& size) in getTexture()
60 return Texture(imageType, tcu::IVec3(size.x(), 1, 1), 1); in getTexture()
63 return Texture(imageType, tcu::IVec3(size.x(), 1, 1), size.y()); in getTexture()
66 return Texture(imageType, tcu::IVec3(size.x(), size.y(), 1), 1); in getTexture()
69 return Texture(imageType, tcu::IVec3(size.x(), size.y(), 1), size.z()); in getTexture()
72 return Texture(imageType, tcu::IVec3(size.x(), size.x(), 1), 6); in getTexture()
75 return Texture(imageType, tcu::IVec3(size.x(), size.x(), 1), 2*6); in getTexture()
82 return Texture(IMAGE_TYPE_LAST, tcu::IVec3(), 0); in getTexture()
110 inline tcu::IVec3 readIVec3 (const void* const data) in readIVec3()
113 return tcu::IVec3(p[0], p[1], p[2]); in readIVec3()
[all …]
DvktImageTexture.hpp38 Texture (const ImageType type, const tcu::IVec3& layerSize, const int layers);
41 tcu::IVec3 layerSize (void) const { return m_layerSize; } //!< Size of a single layer in layerSize()
44 …tcu::IVec3 size (void) const; //!< Size including number of layers in additional dimension (e.…
49 const tcu::IVec3 m_layerSize;
DvktImageTexture.cpp31 Texture::Texture (const ImageType type_, const tcu::IVec3& layerSize_, const int layers) in Texture()
80 tcu::IVec3 Texture::size (void) const in size()
91 return tcu::IVec3(m_layerSize.x(), m_numLayers, 1); in size()
96 return tcu::IVec3(m_layerSize.x(), m_layerSize.y(), m_numLayers); in size()
100 return tcu::IVec3(); in size()
DvktImageAtomicOperationTests.cpp55 using tcu::IVec3;
117 const IVec3& gridSize) in getAtomicFuncArgumentShaderStr()
188 …nt32 getAtomicFuncArgument (const AtomicOperation op, const IVec3& invocationID, const IVec3& grid… in getAtomicFuncArgument()
291 …+ getAtomicFuncArgumentShaderStr(m_operation, "gx", "gy", "gz", IVec3(NUM_INVOCATIONS_PER_PIXEL*gr… in initPrograms()
365 …+ getAtomicFuncArgumentShaderStr(m_operation, "gx", "gy", "gz", IVec3(NUM_INVOCATIONS_PER_PIXEL*gr… in initPrograms()
659 …const IVec3 extendedGridSize = IVec3(NUM_INVOCATIONS_PER_PIXEL*gridSize.x(), gridSize.y(), gridSiz… in verifyResult()
675 const IVec3 gid(x + i*gridSize.x(), y, z); in verifyResult()
689 const IVec3 gid(x + i*gridSize.x(), y, z); in verifyResult()
854 …const IVec3 extendedGridSize = IVec3(NUM_INVOCATIONS_PER_PIXEL*gridSize.x(), gridSize.y(), gridSiz… in verifyResult()
868 IVec3 gid(x + i*gridSize.x(), y, z); in verifyResult()
/external/deqp/framework/common/
DtcuCompressedTexture.cpp70 IVec3 getBlockPixelSize (CompressedTexFormat format) in getBlockPixelSize()
74 return IVec3(4, 4, 1); in getBlockPixelSize()
80 case COMPRESSEDTEXFORMAT_ASTC_4x4_RGBA: return IVec3(4, 4, 1); in getBlockPixelSize()
81 case COMPRESSEDTEXFORMAT_ASTC_5x4_RGBA: return IVec3(5, 4, 1); in getBlockPixelSize()
82 case COMPRESSEDTEXFORMAT_ASTC_5x5_RGBA: return IVec3(5, 5, 1); in getBlockPixelSize()
83 case COMPRESSEDTEXFORMAT_ASTC_6x5_RGBA: return IVec3(6, 5, 1); in getBlockPixelSize()
84 case COMPRESSEDTEXFORMAT_ASTC_6x6_RGBA: return IVec3(6, 6, 1); in getBlockPixelSize()
85 case COMPRESSEDTEXFORMAT_ASTC_8x5_RGBA: return IVec3(8, 5, 1); in getBlockPixelSize()
86 case COMPRESSEDTEXFORMAT_ASTC_8x6_RGBA: return IVec3(8, 6, 1); in getBlockPixelSize()
87 case COMPRESSEDTEXFORMAT_ASTC_8x8_RGBA: return IVec3(8, 8, 1); in getBlockPixelSize()
[all …]
DtcuTexture.hpp301 IVec3 calculatePackedPitch (const TextureFormat& format, const IVec3& size);
321 ConstPixelBufferAccess (const TextureFormat& format, const IVec3& size, const void* data);
323 …ConstPixelBufferAccess (const TextureFormat& format, const IVec3& size, const IVec3& pitch, const…
326 const IVec3& getSize (void) const { return m_size; } in getSize()
333 const IVec3& getPitch (void) const { return m_pitch; } in getPitch()
353 … (const Sampler& sampler, Sampler::FilterMode filter, float s, float t, const IVec3& offset) const;
354 …ampler& sampler, Sampler::FilterMode filter, float s, float t, float r, const IVec3& offset) const;
357 …pler& sampler, Sampler::FilterMode filter, float ref, float s, float t, const IVec3& offset) const;
361 IVec3 m_size;
362 IVec3 m_pitch; //!< (pixelPitch, rowPitch, slicePitch)
[all …]
DtcuTexLookupVerifier.hpp45IVec3 coordBits; //!< Bits per coordinate component before any transformations. Assumed to be fl…
46IVec3 uvwBits; //!< Bits per component in final per-level UV(W) coordinates. Assumed to be fixed…
61IVec3 coordBits; //!< Bits per coordinate component before any transformations. Assumed to be fl…
62IVec3 uvwBits; //!< Bits per component in final per-level UV(W) coordinates. Assumed to be fixed…
DtcuTexCompareVerifier.hpp39IVec3 coordBits; //!< Bits per coordinate component before any transformations. Assumed to be fl…
40IVec3 uvwBits; //!< Bits per component in final per-level UV(W) coordinates. Assumed to be fixed…
DtcuCompressedTexture.hpp81 IVec3 getBlockPixelSize (CompressedTexFormat format);
88 CompressedTexFormat getAstcFormatByBlockSize (const IVec3& size, bool isSRGB);
/external/deqp/framework/referencerenderer/
DrrMultisamplePixelBufferAccess.cpp45 tcu::IVec3(m_access.getHeight(), m_access.getDepth(), 1), in toSinglesampleAccess()
46 …tcu::IVec3(m_access.getRowPitch(), m_access.getSlicePitch(), m_access.getSlicePitch() * m_access.g… in toSinglesampleAccess()
55 tcu::IVec3(1, original.getWidth(), original.getHeight()), in fromSinglesampleAccess()
56 tcu::IVec3(original.getPixelPitch(), original.getPixelPitch(), original.getRowPitch()), in fromSinglesampleAccess()
85 tcu::IVec3(m_access.getHeight(), m_access.getDepth(), 1), in toSinglesampleAccess()
86 …tcu::IVec3(m_access.getRowPitch(), m_access.getSlicePitch(), m_access.getSlicePitch() * m_access.g… in toSinglesampleAccess()
95 tcu::IVec3(1, original.getWidth(), original.getHeight()), in fromSinglesampleAccess()
96 tcu::IVec3(original.getPixelPitch(), original.getPixelPitch(), original.getRowPitch()), in fromSinglesampleAccess()
/external/deqp/modules/internal/
DditSeedBuilderTests.cpp31 using tcu::IVec3;
161 …addChild(new SeedBuilderTest<IVec3>(m_testCtx, IVec3(0), 22277704u, "ivec3_zero", "Seed from zero … in init()
165 …addChild(new SeedBuilderTest<IVec3>(m_testCtx, IVec3(1), 134047100u, "ivec3_one", "Seed from one v… in init()
DditAstcTests.cpp56 const IVec3 blockSize = getBlockPixelSize(format); in getASTCFormatShortName()
70 const IVec3 blockPixelSize = getBlockPixelSize(format); in testDecompress()
139 const IVec3 blockPixelSize = getBlockPixelSize(m_format); in iterate()
/external/deqp/modules/gles2/functional/
Des2fClippingTests.cpp317 tcu::Vec3 IVec3ToVec3 (const tcu::IVec3& v) in IVec3ToVec3()
322 bool pointOnTriangle (const tcu::IVec3& p, const tcu::IVec3& t0, const tcu::IVec3& t1, const tcu::I… in pointOnTriangle()
325 const tcu::IVec3 n = tcu::cross(t1 - t0, t2 - t0); in pointOnTriangle()
326 const tcu::IVec3 d = (p - t0); in pointOnTriangle()
349 bool twoPointClippedTriangleInvisible(const tcu::Vec3& p, const tcu::IVec3& dir1, const tcu::IVec3&… in twoPointClippedTriangleInvisible()
1886 const tcu::IVec3 outside[] = in init()
1889 tcu::IVec3(-1, 0, 0), in init()
1890 tcu::IVec3( 1, 0, 0), in init()
1891 tcu::IVec3( 0, 1, 0), in init()
1892 tcu::IVec3( 0, -1, 0), in init()
[all …]
/external/deqp/external/vulkancts/modules/vulkan/shaderexecutor/
DvktShaderExecutor.hpp146 const tcu::IVec3& texSize,
246 const tcu::IVec3& texSize,
260 const tcu::IVec3& texSize,
376 const tcu::IVec3& texSize,
387 const tcu::IVec3 m_texSize;

12345