Home
last modified time | relevance | path

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

123456789

/third_party/vk-gl-cts/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 …]
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/shaderrender/
DvktShaderRenderTextureFunctionTests.cpp49 using tcu::IVec3;
133 tcu::IVec3 offset;
168 const tcu::IVec3& offset_, in TextureLookupSpec()
244 tcu::IVec3 offset;
428 …fset (const ShaderEvalContext& c, float s, float t, float r, float lod, IVec3 offset) { return c… in texture3DOffset()
1541 static int getMaxTextureSize (TextureType type, const tcu::IVec3& textureSize) in getMaxTextureSize()
1570 static std::string getTextureSizeString (TextureType type, const tcu::IVec3& textureSize) in getTextureSizeString()
1606 static bool isValidCase (TextureType type, const tcu::IVec3& textureSize, int lodBase) in isValidCase()
1625 const tcu::IVec3& textureSize, in createEmptyTexture()
1763 tcu::IVec3 textureSize;
[all …]
/third_party/vk-gl-cts/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 …]
/third_party/vk-gl-cts/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 …]
/third_party/vk-gl-cts/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 …]
/third_party/vk-gl-cts/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 …]
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 …]
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,
/third_party/vk-gl-cts/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 …]
/third_party/vk-gl-cts/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()
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 …]
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;
/third_party/vk-gl-cts/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 …]
/third_party/vk-gl-cts/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()
391 … (const Sampler& sampler, Sampler::FilterMode filter, float s, float t, const IVec3& offset) const;
392 …ampler& sampler, Sampler::FilterMode filter, float s, float t, float r, const IVec3& offset) const;
395 …pler& sampler, Sampler::FilterMode filter, float ref, float s, float t, const IVec3& offset) const;
[all …]
DtcuCompressedTexture.cpp96 IVec3 getBlockPixelSize (CompressedTexFormat format) in getBlockPixelSize()
100 return IVec3(4, 4, 1); in getBlockPixelSize()
106 case COMPRESSEDTEXFORMAT_ASTC_4x4_RGBA: return IVec3(4, 4, 1); in getBlockPixelSize()
107 case COMPRESSEDTEXFORMAT_ASTC_5x4_RGBA: return IVec3(5, 4, 1); in getBlockPixelSize()
108 case COMPRESSEDTEXFORMAT_ASTC_5x5_RGBA: return IVec3(5, 5, 1); in getBlockPixelSize()
109 case COMPRESSEDTEXFORMAT_ASTC_6x5_RGBA: return IVec3(6, 5, 1); in getBlockPixelSize()
110 case COMPRESSEDTEXFORMAT_ASTC_6x6_RGBA: return IVec3(6, 6, 1); in getBlockPixelSize()
111 case COMPRESSEDTEXFORMAT_ASTC_8x5_RGBA: return IVec3(8, 5, 1); in getBlockPixelSize()
112 case COMPRESSEDTEXFORMAT_ASTC_8x6_RGBA: return IVec3(8, 6, 1); in getBlockPixelSize()
113 case COMPRESSEDTEXFORMAT_ASTC_8x8_RGBA: return IVec3(8, 8, 1); in getBlockPixelSize()
[all …]
/third_party/vk-gl-cts/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 …
/third_party/vk-gl-cts/external/openglcts/modules/common/
DglcLimitTest.inl252 std::string LimitCase<tcu::IVec3>::getGLSLDataType() const
264 bool LimitCase<tcu::IVec3>::isEqual(tcu::IVec3 a, tcu::IVec3 b) const
277 bool LimitCase<tcu::IVec3>::isGreater(tcu::IVec3 a, tcu::IVec3 b) const
290 bool LimitCase<tcu::IVec3>::isSmaller(tcu::IVec3 a, tcu::IVec3 b) const
339 tcu::IVec3 LimitCase<tcu::IVec3>::getLimitValue(const Functions& gl) const
341 tcu::IVec3 value(-1);
/third_party/vk-gl-cts/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()
/third_party/vk-gl-cts/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()
440 spec.numWorkGroups = IVec3(1, 1, 1); in addComputeWorkgroupMemoryTests()
473 spec.numWorkGroups = IVec3(1, 1, 1); in addComputeWorkgroupMemoryTests()
509 spec.numWorkGroups = IVec3(1, 1, 1); in addComputeWorkgroupMemoryTests()
539 spec.numWorkGroups = IVec3(1, 1, 1); in addComputeWorkgroupMemoryTests()
[all …]
/third_party/vk-gl-cts/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()

123456789