Home
last modified time | relevance | path

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

12345678

/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 …]
/external/deqp/external/vulkancts/modules/vulkan/shaderrender/
DvktShaderRenderTextureFunctionTests.cpp48 using tcu::IVec3;
132 tcu::IVec3 offset;
167 const tcu::IVec3& offset_, in TextureLookupSpec()
243 tcu::IVec3 offset;
427 …fset (const ShaderEvalContext& c, float s, float t, float r, float lod, IVec3 offset) { return c… in texture3DOffset()
1512 static int getMaxTextureSize (TextureType type, const tcu::IVec3& textureSize) in getMaxTextureSize()
1541 static std::string getTextureSizeString (TextureType type, const tcu::IVec3& textureSize) in getTextureSizeString()
1577 static bool isValidCase (TextureType type, const tcu::IVec3& textureSize, int lodBase) in isValidCase()
1596 const tcu::IVec3& textureSize, in createEmptyTexture()
1734 tcu::IVec3 textureSize;
[all …]
/external/deqp/external/vulkancts/modules/vulkan/pipeline/
DvktPipelineFramebufferAttachmentTests.cpp63 using tcu::IVec3;
77 IVec3 renderSize;
78 IVec3 attachmentSize;
195 const IVec3 renderSize, in makeGraphicsPipeline()
273 const IVec3& size, in makeImage()
779 const IVec3 renderSize (32, 32, 1); in testNoAtt()
794 const IVec3 imageDim = IVec3(imageWidth, imageHeight, imageDepth); in testNoAtt()
901 …makeExtent3D(IVec3(imageWidth, imageHeight, imageDepth)), // VkExtent3D imageEx… in testNoAtt()
1030 const IVec3 attachmentSizes[] = in testDifferentAttachmentSizes()
1033 caseDef.attachmentSize + IVec3(10, caseDef.attachmentSize.y() == 1 ? 0 : 15, 0), in testDifferentAttachmentSizes()
[all …]
DvktPipelineImageTests.cpp60 const tcu::IVec3& imageSize,
68 const tcu::IVec3& imageSize,
90 tcu::IVec3 m_imageSize;
102 const tcu::IVec3& imageSize, in ImageTest()
130 const tcu::IVec3& imageSize, in getImageSamplingInstanceParams()
407 std::string getSizeName (VkImageViewType viewType, const tcu::IVec3& size, int arraySize) in getSizeName()
439 using tcu::IVec3; in createImageSizeTests()
441 std::vector<IVec3> imageSizes; in createImageSizeTests()
453 imageSizes.push_back(IVec3(1, 1, 1)); in createImageSizeTests()
454 imageSizes.push_back(IVec3(2, 1, 1)); in createImageSizeTests()
[all …]
/external/deqp/external/vulkancts/modules/vulkan/postmortem/
DvktPostmortemUseAfterFreeTests.cpp118 const tcu::IVec3& localSize,
119 const tcu::IVec3& workSize);
125 const tcu::IVec3& localSize,
126 const tcu::IVec3& workSize);
133 const tcu::IVec3& localSize,
134 const tcu::IVec3& workSize,
139 const tcu::IVec3 m_localSize;
140 const tcu::IVec3 m_workSize;
148 const tcu::IVec3& localSize,
149 const tcu::IVec3& workSize,
[all …]
/external/deqp/external/vulkancts/modules/vulkan/texture/
DvktSampleVerifier.hpp116 tcu::IVec3 size;
145 const tcu::IVec3& baseTexelHi,
146 const tcu::IVec3& baseTexelLo,
147 const tcu::IVec3& texelGridOffsetHi,
148 const tcu::IVec3& texelGridOffsetLo,
158 const tcu::IVec3& gridCoordHi,
159 const tcu::IVec3& gridCoordLo,
184 bool coordOutOfRange (const tcu::IVec3& coord,
188 void fetchTexel (const tcu::IVec3& coordIn,
195 void fetchTexelWrapped (const tcu::IVec3& coord,
[all …]
DvktSampleVerifierUtil.hpp49 const tcu::IVec3 size,
59 void wrapTexelGridCoordLinear (tcu::IVec3& baseTexel,
60 tcu::IVec3& texelGridOffset,
63 void calcTexelBaseOffset (const tcu::IVec3& gridCoord,
65 tcu::IVec3& baseTexel,
66 tcu::IVec3& texelGridOffset);
70 tcu::IVec3& gridCoordMin,
71 tcu::IVec3& gridCoordMax);
73 const tcu::IVec3& levelSize,
DvktSampleVerifier.cpp86 bool SampleVerifier::coordOutOfRange (const IVec3& coord, int compNdx, int level) const in coordOutOfRange()
93 void SampleVerifier::fetchTexelWrapped (const IVec3& coord, in fetchTexelWrapped()
128 void SampleVerifier::fetchTexel (const IVec3& coordIn, in fetchTexel()
135 IVec3 coord = coordIn; in fetchTexel()
290 void SampleVerifier::getFilteredSample1D (const IVec3& texelBase, in getFilteredSample1D()
302 …fetchTexel(texelBase + IVec3(i, 0, 0), layer, level, VK_FILTER_LINEAR, texelsMin[i], texelsMax[i]); in getFilteredSample1D()
322 void SampleVerifier::getFilteredSample2D (const IVec3& texelBase, in getFilteredSample2D()
336 …fetchTexel(texelBase + IVec3(i, j, 0), layer, level, VK_FILTER_LINEAR, texelsMin[2 * j + i], texel… in getFilteredSample2D()
362 void SampleVerifier::getFilteredSample3D (const IVec3& texelBase, in getFilteredSample3D()
378 …fetchTexel(texelBase + IVec3(i, j, k), layer, level, VK_FILTER_LINEAR, texelsMin[4 * k + 2 * j + i… in getFilteredSample3D()
[all …]
/external/deqp/modules/gles31/functional/
Des31fBasicComputeShaderTests.cpp121 …* name, const char* description, int numValues, const tcu::IVec3& localSize, const tcu::IVec3& wor… in UBOToSSBOInvertCase()
236 const tcu::IVec3 m_localSize;
237 const tcu::IVec3 m_workSize;
243 …* name, const char* description, int numValues, const tcu::IVec3& localSize, const tcu::IVec3& wor… in CopyInvertSSBOCase()
359 const tcu::IVec3 m_localSize;
360 const tcu::IVec3 m_workSize;
366 …char* description, int numValues, bool isSized, const tcu::IVec3& localSize, const tcu::IVec3& wor… in InvertSSBOInPlaceCase()
463 const tcu::IVec3 m_localSize;
464 const tcu::IVec3 m_workSize;
470 …char* description, int numValues, bool isSized, const tcu::IVec3& localSize, const tcu::IVec3& wor… in WriteToMultipleSSBOCase()
[all …]
Des31fCopyImageTests.cpp67 using tcu::IVec3;
348 ImageInfo (deUint32 format, deUint32 target, const IVec3& size);
352 const IVec3& getSize (void) const { return m_size; } in getSize()
357 IVec3 m_size;
360 ImageInfo::ImageInfo (deUint32 format, deUint32 target, const IVec3& size) in ImageInfo()
387 const IVec3 size = info.getSize(); in getLevelCount()
405 IVec3 getLevelSize (deUint32 target, const IVec3& baseSize, int level) in getLevelSize()
407 IVec3 size; in getLevelSize()
464 IVec3 m_levelSize;
555 …computeQuadTexCoord3D(texCoord, tcu::Vec3(0.0f, 0.0f, r), tcu::Vec3(1.0f, 1.0f, r), tcu::IVec3(0, … in computeQuadTexCoords()
[all …]
Des31fShaderTextureSizeTests.cpp92 void createTexture (const tcu::IVec3& size);
94 void runShader (tcu::Surface& dst, const tcu::IVec3& size);
105 std::vector<tcu::IVec3> m_iterations;
145 static const tcu::IVec3 testSizes3D[] = in init()
147 tcu::IVec3(1, 1, 1), in init()
148 tcu::IVec3(1, 4, 7), in init()
149 tcu::IVec3(4, 8, 12), in init()
150 tcu::IVec3(21, 11, 9), in init()
151 tcu::IVec3(107, 254, 2), in init()
152 tcu::IVec3(-1, 3, 3), in init()
[all …]
Des31fShaderImageLoadStoreTests.cpp62 using tcu::IVec3;
89 static inline IVec3 defaultImageSize (TextureType type) in defaultImageSize()
93 case TEXTURETYPE_BUFFER: return IVec3(64, 1, 1); in defaultImageSize()
94 case TEXTURETYPE_2D: return IVec3(64, 64, 1); in defaultImageSize()
95 case TEXTURETYPE_CUBE: return IVec3(64, 64, 1); in defaultImageSize()
96 case TEXTURETYPE_3D: return IVec3(64, 64, 8); in defaultImageSize()
97 case TEXTURETYPE_2D_ARRAY: return IVec3(64, 64, 8); in defaultImageSize()
100 return IVec3(-1); in defaultImageSize()
584 const IVec3& getSize (void) const { return m_size; } in getSize()
614 const IVec3 m_size;
[all …]
/external/deqp/external/vulkancts/modules/vulkan/compute/
DvktComputeBasicComputeShaderTests.cpp122 const tcu::IVec3& localSize,
123 const tcu::IVec3& workSize);
129 const tcu::IVec3 m_localSize;
130 const tcu::IVec3 m_workSize;
137 const tcu::IVec3& localSize,
138 const tcu::IVec3& workSize);
143 const tcu::IVec3 m_localSize;
144 const tcu::IVec3 m_workSize;
150 const tcu::IVec3& localSize, in SharedVarTest()
151 const tcu::IVec3& workSize) in SharedVarTest()
[all …]
/external/deqp/external/vulkancts/modules/vulkan/image/
DvktImageSizeTests.cpp57 Texture getTexture (const ImageType imageType, const tcu::IVec3& size) in getTexture()
63 return Texture(imageType, tcu::IVec3(size.x(), 1, 1), 1); in getTexture()
66 return Texture(imageType, tcu::IVec3(size.x(), 1, 1), size.y()); in getTexture()
69 return Texture(imageType, tcu::IVec3(size.x(), size.y(), 1), 1); in getTexture()
72 return Texture(imageType, tcu::IVec3(size.x(), size.y(), 1), size.z()); in getTexture()
75 return Texture(imageType, tcu::IVec3(size.x(), size.x(), 1), 6); in getTexture()
78 return Texture(imageType, tcu::IVec3(size.x(), size.x(), 1), 2*6); in getTexture()
85 return Texture(IMAGE_TYPE_LAST, tcu::IVec3(), 0); in getTexture()
113 inline tcu::IVec3 readIVec3 (const void* const data) in readIVec3()
116 return tcu::IVec3(p[0], p[1], p[2]); in readIVec3()
[all …]
DvktImageTexture.cpp84 …Texture::Texture (const ImageType imageType, const tcu::IVec3& imageLayerSize, const int layers, c… in Texture()
109 tcu::IVec3 Texture::layerSize (const int mipmapLevel) const in layerSize()
111 tcu::IVec3 size = m_layerSize; in layerSize()
139 tcu::IVec3 Texture::size (const int mipmapLevel) const in size()
142 tcu::IVec3 size = layerSize(mipmapLevel); in size()
153 return tcu::IVec3(size.x(), m_numLayers, 1); in size()
158 return tcu::IVec3(size.x(), size.y(), m_numLayers); in size()
162 return tcu::IVec3(); in size()
DvktImageTexture.hpp38 …Texture (const ImageType imageType, const tcu::IVec3& imageLayerSize, const int layers, const in…
42 …tcu::IVec3 layerSize (const int mipLevel = 0) const; //!< Size of a single layer for mipmap l…
46 …tcu::IVec3 size (const int mipLevel = 0) const; //!< Size including number of layers in addi…
55 const tcu::IVec3 m_layerSize;
DvktImageMisalignedCubeTests.cpp58 inline VkImageCreateInfo makeImageCreateInfo (const tcu::IVec3& size, const VkFormat format) in makeImageCreateInfo()
132 const tcu::IVec3& size,
137 const tcu::IVec3& m_size;
141 MisalignedCubeTestInstance::MisalignedCubeTestInstance (Context& context, const tcu::IVec3& size, c… in MisalignedCubeTestInstance()
289 const tcu::IVec3& size,
296 const tcu::IVec3 m_size;
303 const tcu::IVec3& size, in MisalignedCubeTest()
362 static const tcu::IVec3 s_baseImageSizes[] =
364 tcu::IVec3(16, 16, 7),
365 tcu::IVec3(16, 16, 8),
[all …]
/external/deqp/external/vulkancts/modules/vulkan/ycbcr/
DvktYCbCrUtil.hpp142 const tcu::IVec3& size,
143 const tcu::IVec3& bitPitch,
147 const tcu::IVec3& getSize (void) const { return m_size; } in getSize()
148 const tcu::IVec3& getBitPitch (void) const { return m_bitPitch; } in getBitPitch()
152 const tcu::IVec3& pos) const;
153 deUint32 getChannelUint (const tcu::IVec3& pos) const;
154 float getChannel (const tcu::IVec3& pos) const;
155 void setChannel (const tcu::IVec3& pos,
157 void setChannel (const tcu::IVec3& pos,
163 const tcu::IVec3 m_size;
[all …]
/external/deqp/external/openglcts/modules/common/
DglcLimitTest.inl228 std::string LimitCase<tcu::IVec3>::getGLSLDataType() const
240 bool LimitCase<tcu::IVec3>::isEqual(tcu::IVec3 a, tcu::IVec3 b) const
253 bool LimitCase<tcu::IVec3>::isGreater(tcu::IVec3 a, tcu::IVec3 b) const
266 bool LimitCase<tcu::IVec3>::isSmaller(tcu::IVec3 a, tcu::IVec3 b) const
315 tcu::IVec3 LimitCase<tcu::IVec3>::getLimitValue(const Functions& gl) const
317 tcu::IVec3 value(-1);
/external/deqp/external/openglcts/modules/gl/
Dgl4cTextureFilterMinmaxTests.hpp87 tcu::IVec3 m_size;
109 …virtual void generate(const glu::RenderContext& context, tcu::IVec3 size, glw::GLenum format, glw:…
127 …void generate(const glu::RenderContext& context, tcu::IVec3 size, glw::GLenum format, glw::GLenum …
142 …void generate(const glu::RenderContext& context, tcu::IVec3 size, glw::GLenum format, glw::GLenum …
157 …void generate(const glu::RenderContext& context, tcu::IVec3 size, glw::GLenum format, glw::GLenum …
172 …void generate(const glu::RenderContext& context, tcu::IVec3 size, glw::GLenum format, glw::GLenum …
187 …void generate(const glu::RenderContext& context, tcu::IVec3 size, glw::GLenum format, glw::GLenum …
202 …void generate(const glu::RenderContext& context, tcu::IVec3 size, glw::GLenum format, glw::GLenum …
Dgl4cLimitsTests.cpp229 static const Limit<tcu::IVec3> ivec3Limits[] = in init()
231 …{ "max_compute_work_group_count", GL_MAX_COMPUTE_WORK_GROUP_COUNT, tcu::IVec3(65535,65535,65… in init()
232 …{ "max_compute_work_group_size", GL_MAX_COMPUTE_WORK_GROUP_SIZE, tcu::IVec3(1024, 1024, 64),… in init()
261 const Limit<tcu::IVec3>& limit = ivec3Limits[idx]; in init()
262 …addChild(new glcts::LimitCase<tcu::IVec3>(m_context, limit.name, limit.token, limit.boundry, limit… in init()
/external/deqp/framework/common/
DtcuTexture.hpp335 IVec3 calculatePackedPitch (const TextureFormat& format, const IVec3& size);
355 ConstPixelBufferAccess (const TextureFormat& format, const IVec3& size, const void* data);
357 …ConstPixelBufferAccess (const TextureFormat& format, const IVec3& size, const IVec3& pitch, const…
358 …ixelBufferAccess (const TextureFormat& format, const IVec3& size, const IVec3& pitch, const IVec3
361 const IVec3& getSize (void) const { return m_size; } in getSize()
368 const IVec3& getPitch (void) const { return m_pitch; } in getPitch()
369 const IVec3& getDivider (void) const { return m_divider; } in getDivider()
389 … (const Sampler& sampler, Sampler::FilterMode filter, float s, float t, const IVec3& offset) const;
390 …ampler& sampler, Sampler::FilterMode filter, float s, float t, float r, const IVec3& offset) const;
393 …pler& sampler, Sampler::FilterMode filter, float ref, float s, float t, const IVec3& offset) const;
[all …]
/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/external/vulkancts/modules/vulkan/spirv_assembly/
DvktSpvAsmWorkgroupMemoryTests.cpp39 using tcu::IVec3;
291 spec.numWorkGroups = IVec3(1, 1, 1); in addComputeWorkgroupMemoryTests()
318 spec.numWorkGroups = IVec3(1, 1, 1); in addComputeWorkgroupMemoryTests()
350 spec.numWorkGroups = IVec3(1, 1, 1); in addComputeWorkgroupMemoryTests()
383 spec.numWorkGroups = IVec3(1, 1, 1); in addComputeWorkgroupMemoryTests()
409 spec.numWorkGroups = IVec3(1, 1, 1); in addComputeWorkgroupMemoryTests()
439 spec.numWorkGroups = IVec3(1, 1, 1); in addComputeWorkgroupMemoryTests()
472 spec.numWorkGroups = IVec3(1, 1, 1); in addComputeWorkgroupMemoryTests()
508 spec.numWorkGroups = IVec3(1, 1, 1); in addComputeWorkgroupMemoryTests()
538 spec.numWorkGroups = IVec3(1, 1, 1); in addComputeWorkgroupMemoryTests()
[all …]
/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()

12345678