Home
last modified time | relevance | path

Searched refs:textureSize (Results 1 - 25 of 40) sorted by relevance

12

/third_party/skia/third_party/externals/dawn/src/tests/end2end/
H A DCopyTests.cpp34 wgpu::Extent3D textureSize; member
144 descriptor.size = textureSpec.textureSize; in GetExpectedTextureData()
155 textureSpec.format, textureSpec.textureSize, textureSpec.copyLevel, dimension); in GetExpectedTextureData()
227 << textureSpec.textureSize.width << " x " << textureSpec.textureSize.height in GetExpectedTextureData()
263 descriptor.size = textureSpec.textureSize; in GetExpectedTextureData()
283 textureSpec.format, textureSpec.textureSize, textureSpec.copyLevel, dimension, in GetExpectedTextureData()
317 << textureSpec.textureSize.width << " x " << textureSpec.textureSize.height in GetExpectedTextureData()
363 srcDescriptor.size = srcSpec.textureSize; in GetExpectedTextureData()
[all...]
H A DCopyTextureForBrowserTests.cpp61 wgpu::Extent3D textureSize = {kDefaultTextureWidth, kDefaultTextureHeight}; member
291 descriptor.size = spec.textureSize; in CreateTexture()
357 outputDesc.size = dstSpec.textureSize.width * dstSpec.textureSize.height * sizeof(uint32_t); in CheckResultInBuiltInComputePipeline()
385 pass.Dispatch(dstSpec.textureSize.width, in CheckResultInBuiltInComputePipeline()
386 dstSpec.textureSize.height); // Verify dst texture content in CheckResultInBuiltInComputePipeline()
393 std::vector<uint32_t> expectResult(dstSpec.textureSize.width * dstSpec.textureSize.height, in CheckResultInBuiltInComputePipeline()
396 dstSpec.textureSize.width * dstSpec.textureSize in CheckResultInBuiltInComputePipeline()
[all...]
H A DSubresourceRenderAttachmentTests.cpp31 uint32_t textureSize, in DoSingleTest()
78 const uint32_t renderTargetSize = textureSize >> baseMipLevel; in DoSingleTest()
28 DoSingleTest(Type type, wgpu::TextureFormat format, wgpu::Texture renderTarget, uint32_t textureSize, uint32_t baseArrayLayer, uint32_t baseMipLevel) DoSingleTest() argument
H A DQueueTests.cpp204 wgpu::Extent3D textureSize;
265 descriptor.size = textureSpec.textureSize;
281 wgpu::Extent3D mipSize = {textureSpec.textureSize.width >> textureSpec.level,
282 textureSpec.textureSize.height >> textureSpec.level,
283 textureSpec.textureSize.depthOrArrayLayers};
313 << textureSpec.textureSize.width << " x " << textureSpec.textureSize.height
353 textureSpec.textureSize = {w, h, d}; in TEST_P()
366 textureSpec.textureSize = {2048, 2048, 2}; in TEST_P()
370 DoTest(textureSpec, MinimumDataSpec(textureSpec.textureSize), textureSpe in TEST_P()
[all...]
/third_party/skia/third_party/externals/angle2/src/tests/perf_tests/
H A DTextureSampling.cpp40 textureSize = 32; in TextureSamplingParams()
46 unsigned int textureSize; member
134 << params.textureSize in initShaders()
199 unsigned int dataSize = params.textureSize * params.textureSize; in initTextures()
220 glTexImage2D(GL_TEXTURE_2D, 0, GL_RGBA, params.textureSize, params.textureSize, 0, GL_RGBA, in initTextures()
H A DClearPerf.cpp33 textureSize = 16; in ClearParams()
41 GLsizei textureSize; member
132 std::vector<float> textureData(params.textureSize * params.textureSize * 4, 0.5); in drawBenchmark()
H A DTexturesPerf.cpp216 size_t textureSize = static_cast<size_t>(1) << params.textureMipCount; in initTextures() local
217 std::vector<GLubyte> textureData(textureSize * textureSize * 4); in initTextures()
232 GLsizei levelSize = static_cast<GLsizei>(textureSize >> mip); in initTextures()
/third_party/vk-gl-cts/external/openglcts/modules/glesext/texture_buffer/
H A DesextcTextureBufferMAXSizeValidation.cpp161 " computeSSBO.outValue.x = uint( textureSize(sampler_buffer) );\n" in getComputeShaderCode()
203 glw::GLint textureSize = 0; in iterate() local
205 gl.getTexLevelParameteriv(m_glExtTokens.TEXTURE_BUFFER, 0, m_glExtTokens.TEXTURE_BUFFER_SIZE, &textureSize); in iterate()
211 if (expectedSize != textureSize) in iterate()
215 << "Result GL_TEXTURE_BUFFER_SIZE_EXT parameter value : " << textureSize << "\n" in iterate()
255 << "Result value (textureSize): " << result[0] << "\n" in iterate()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/shaderrender/
H A DvktShaderRenderTextureGatherTests.cpp1869 const IVec2& textureSize,
1890 const IVec2& textureSize, in TextureGather2DInstance()
1893 , m_textureSize (textureSize) in TextureGather2DInstance()
1968 const IVec2& textureSize,
1995 const IVec2& textureSize, in TextureGather2DCase()
1999 , m_textureSize (textureSize) in TextureGather2DCase()
2047 const IVec3& textureSize) in generate2DArrayCaseIterations()
2053 for (int layerNdx = -1; layerNdx < textureSize.z()+1; layerNdx++) in generate2DArrayCaseIterations()
2089 const IVec3& textureSize,
2110 const IVec3& textureSize, in TextureGather2DArrayInstance()
1888 TextureGather2DInstance(Context& context, const GatherCaseBaseParams& baseParams, const IVec2& textureSize, const vector<GatherArgs>& iterations) TextureGather2DInstance() argument
1981 TextureGather2DCase(tcu::TestContext& testCtx, const string& name, const GatherType gatherType, const OffsetSize offsetSize, const tcu::TextureFormat textureFormat, const tcu::Sampler::CompareMode shadowCompareMode, const tcu::Sampler::WrapMode wrapS, const tcu::Sampler::WrapMode wrapT, const MaybeTextureSwizzle& textureSwizzle, const tcu::Sampler::FilterMode minFilter, const tcu::Sampler::FilterMode magFilter, const LevelMode levelMode, const int baseLevel, const deUint32 flags, const IVec2& textureSize, const ImageBackingMode sparseCase) TextureGather2DCase() argument
2043 generate2DArrayCaseIterations(GatherType gatherType, LevelMode levelMode, const tcu::TextureFormat& textureFormat, const IVec2& offsetRange, const IVec3& textureSize) generate2DArrayCaseIterations() argument
2108 TextureGather2DArrayInstance(Context& context, const GatherCaseBaseParams& baseParams, const IVec3& textureSize, const vector<Gather2DArrayArgs>& iterations) TextureGather2DArrayInstance() argument
2207 TextureGather2DArrayCase(tcu::TestContext& testCtx, const string& name, const GatherType gatherType, const OffsetSize offsetSize, const tcu::TextureFormat textureFormat, const tcu::Sampler::CompareMode shadowCompareMode, const tcu::Sampler::WrapMode wrapS, const tcu::Sampler::WrapMode wrapT, const MaybeTextureSwizzle& textureSwizzle, const tcu::Sampler::FilterMode minFilter, const tcu::Sampler::FilterMode magFilter, const LevelMode levelMode, const int baseLevel, const deUint32 flags, const IVec3& textureSize, const ImageBackingMode sparseCase) TextureGather2DArrayCase() argument
2333 TextureGatherCubeInstance(Context& context, const GatherCaseBaseParams& baseParams, const int textureSize, const vector<GatherCubeArgs>& iterations) TextureGatherCubeInstance() argument
2435 TextureGatherCubeCase(tcu::TestContext& testCtx, const string& name, const tcu::TextureFormat textureFormat, const tcu::Sampler::CompareMode shadowCompareMode, const tcu::Sampler::WrapMode wrapS, const tcu::Sampler::WrapMode wrapT, const MaybeTextureSwizzle& textureSwizzle, const tcu::Sampler::FilterMode minFilter, const tcu::Sampler::FilterMode magFilter, const LevelMode levelMode, const int baseLevel, const deUint32 flags, const int textureSize, const ImageBackingMode sparseCase) TextureGatherCubeCase() argument
2506 makeTextureGatherCase(TextureType textureType, tcu::TestContext& testCtx, const string& name, GatherType gatherType, OffsetSize offsetSize, tcu::TextureFormat textureFormat, tcu::Sampler::CompareMode shadowCompareMode, tcu::Sampler::WrapMode wrapS, tcu::Sampler::WrapMode wrapT, const MaybeTextureSwizzle& texSwizzle, tcu::Sampler::FilterMode minFilter, tcu::Sampler::FilterMode magFilter, LevelMode levelMode, int baseLevel, const IVec3& textureSize, deUint32 flags = 0, const ImageBackingMode sparseCase = ShaderRenderCaseInstance::IMAGE_BACKING_MODE_REGULAR) makeTextureGatherCase() argument
2665 const IVec3& textureSize = textureSizes[textureSizeNdx].size; init() local
[all...]
H A DvktShaderRenderTextureFunctionTests.cpp1548 static int getMaxTextureSize (TextureType type, const tcu::IVec3& textureSize) in getMaxTextureSize() argument
1556 maxSize = textureSize.x(); in getMaxTextureSize()
1563 maxSize = de::max(textureSize.x(), textureSize.y()); in getMaxTextureSize()
1567 maxSize = de::max(textureSize.x(), de::max(textureSize.y(), textureSize.z())); in getMaxTextureSize()
1577 static std::string getTextureSizeString (TextureType type, const tcu::IVec3& textureSize) in getTextureSizeString() argument
1584 str << textureSize.x() << "x1"; in getTextureSizeString()
1589 str << textureSize in getTextureSizeString()
1613 isValidCase(TextureType type, const tcu::IVec3& textureSize, int lodBase) isValidCase() argument
1630 createEmptyTexture(deUint32 format, TextureType type, const tcu::IVec3& textureSize, int numLevels, int lodBase, const tcu::Sampler& sampler) createEmptyTexture() argument
1770 tcu::IVec3 textureSize; global() member
2451 tcu::IVec3 textureSize; global() member
[all...]
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/shaderrender/
H A DvktShaderRenderTextureGatherTests.cpp1881 const IVec2& textureSize,
1902 const IVec2& textureSize, in TextureGather2DInstance()
1905 , m_textureSize (textureSize) in TextureGather2DInstance()
1981 const IVec2& textureSize,
2009 const IVec2& textureSize, in TextureGather2DCase()
2013 , m_textureSize (textureSize) in TextureGather2DCase()
2061 const IVec3& textureSize) in generate2DArrayCaseIterations()
2067 for (int layerNdx = -1; layerNdx < textureSize.z()+1; layerNdx++) in generate2DArrayCaseIterations()
2103 const IVec3& textureSize,
2124 const IVec3& textureSize, in TextureGather2DArrayInstance()
1900 TextureGather2DInstance(Context& context, const GatherCaseBaseParams& baseParams, const IVec2& textureSize, const vector<GatherArgs>& iterations) TextureGather2DInstance() argument
1994 TextureGather2DCase(tcu::TestContext& testCtx, const string& name, const string& description, const GatherType gatherType, const OffsetSize offsetSize, const tcu::TextureFormat textureFormat, const tcu::Sampler::CompareMode shadowCompareMode, const tcu::Sampler::WrapMode wrapS, const tcu::Sampler::WrapMode wrapT, const MaybeTextureSwizzle& textureSwizzle, const tcu::Sampler::FilterMode minFilter, const tcu::Sampler::FilterMode magFilter, const LevelMode levelMode, const int baseLevel, const deUint32 flags, const IVec2& textureSize, const ImageBackingMode sparseCase) TextureGather2DCase() argument
2057 generate2DArrayCaseIterations(GatherType gatherType, LevelMode levelMode, const tcu::TextureFormat& textureFormat, const IVec2& offsetRange, const IVec3& textureSize) generate2DArrayCaseIterations() argument
2122 TextureGather2DArrayInstance(Context& context, const GatherCaseBaseParams& baseParams, const IVec3& textureSize, const vector<Gather2DArrayArgs>& iterations) TextureGather2DArrayInstance() argument
2222 TextureGather2DArrayCase(tcu::TestContext& testCtx, const string& name, const string& description, const GatherType gatherType, const OffsetSize offsetSize, const tcu::TextureFormat textureFormat, const tcu::Sampler::CompareMode shadowCompareMode, const tcu::Sampler::WrapMode wrapS, const tcu::Sampler::WrapMode wrapT, const MaybeTextureSwizzle& textureSwizzle, const tcu::Sampler::FilterMode minFilter, const tcu::Sampler::FilterMode magFilter, const LevelMode levelMode, const int baseLevel, const deUint32 flags, const IVec3& textureSize, const ImageBackingMode sparseCase) TextureGather2DArrayCase() argument
2349 TextureGatherCubeInstance(Context& context, const GatherCaseBaseParams& baseParams, const int textureSize, const vector<GatherCubeArgs>& iterations) TextureGatherCubeInstance() argument
2452 TextureGatherCubeCase(tcu::TestContext& testCtx, const string& name, const string& description, const tcu::TextureFormat textureFormat, const tcu::Sampler::CompareMode shadowCompareMode, const tcu::Sampler::WrapMode wrapS, const tcu::Sampler::WrapMode wrapT, const MaybeTextureSwizzle& textureSwizzle, const tcu::Sampler::FilterMode minFilter, const tcu::Sampler::FilterMode magFilter, const LevelMode levelMode, const int baseLevel, const deUint32 flags, const int textureSize, const ImageBackingMode sparseCase) TextureGatherCubeCase() argument
2524 makeTextureGatherCase(TextureType textureType, tcu::TestContext& testCtx, const string& name, const string& description, GatherType gatherType, OffsetSize offsetSize, tcu::TextureFormat textureFormat, tcu::Sampler::CompareMode shadowCompareMode, tcu::Sampler::WrapMode wrapS, tcu::Sampler::WrapMode wrapT, const MaybeTextureSwizzle& texSwizzle, tcu::Sampler::FilterMode minFilter, tcu::Sampler::FilterMode magFilter, LevelMode levelMode, int baseLevel, const IVec3& textureSize, deUint32 flags = 0, const ImageBackingMode sparseCase = ShaderRenderCaseInstance::IMAGE_BACKING_MODE_REGULAR) makeTextureGatherCase() argument
2683 const IVec3& textureSize = textureSizes[textureSizeNdx].size; init() local
[all...]
H A DvktShaderRenderTextureFunctionTests.cpp1547 static int getMaxTextureSize (TextureType type, const tcu::IVec3& textureSize) in getMaxTextureSize() argument
1555 maxSize = textureSize.x(); in getMaxTextureSize()
1562 maxSize = de::max(textureSize.x(), textureSize.y()); in getMaxTextureSize()
1566 maxSize = de::max(textureSize.x(), de::max(textureSize.y(), textureSize.z())); in getMaxTextureSize()
1576 static std::string getTextureSizeString (TextureType type, const tcu::IVec3& textureSize) in getTextureSizeString() argument
1583 str << textureSize.x() << "x1"; in getTextureSizeString()
1588 str << textureSize in getTextureSizeString()
1612 isValidCase(TextureType type, const tcu::IVec3& textureSize, int lodBase) isValidCase() argument
1629 createEmptyTexture(deUint32 format, TextureType type, const tcu::IVec3& textureSize, int numLevels, int lodBase, const tcu::Sampler& sampler) createEmptyTexture() argument
1769 tcu::IVec3 textureSize; global() member
2450 tcu::IVec3 textureSize; global() member
[all...]
/third_party/vk-gl-cts/modules/gles2/functional/
H A Des2fTextureUnitTests.cpp220 static float calculateLodMax(const Vec4& derivateParts, const tcu::IVec2& textureSize, const Vec2& screenDerivate) in calculateLodMax() argument
222 float dudx = derivateParts.x() * (float)textureSize.x() * screenDerivate.x(); in calculateLodMax()
223 float dudy = derivateParts.y() * (float)textureSize.x() * screenDerivate.y(); in calculateLodMax()
224 float dvdx = derivateParts.z() * (float)textureSize.y() * screenDerivate.x(); in calculateLodMax()
225 float dvdy = derivateParts.w() * (float)textureSize.y() * screenDerivate.y(); in calculateLodMax()
231 static float calculateLodMin(const Vec4& derivateParts, const tcu::IVec2& textureSize, const Vec2& screenDerivate) in calculateLodMin() argument
233 float dudx = derivateParts.x() * (float)textureSize.x() * screenDerivate.x(); in calculateLodMin()
234 float dudy = derivateParts.y() * (float)textureSize.x() * screenDerivate.y(); in calculateLodMin()
235 float dvdx = derivateParts.z() * (float)textureSize.y() * screenDerivate.x(); in calculateLodMin()
236 float dvdy = derivateParts.w() * (float)textureSize in calculateLodMin()
[all...]
H A Des2fVertexTextureTests.cpp109 static inline Vec2 safe2DTexCoords (const Vec2& raw, const IVec2& textureSize) in safe2DTexCoords() argument
111 return safeCoords(raw, textureSize, Vec2(0.5f)); in safe2DTexCoords()
190 PosTexCoordQuadGrid (int gridSize, const IVec2& renderSize, const TexSizeIVec& textureSize, const TexCoordParams& texCoordParams, bool useSafeTexCoords);
202 void initializeTexCoords (const TexSizeIVec& textureSize, const TexCoordParams& texCoordParams, bool useSafeTexCoords);
229 PosTexCoordQuadGrid<TexType>::PosTexCoordQuadGrid (int gridSize, const IVec2& renderSize, const TexSizeIVec& textureSize, const TexCoordParams& texCoordParams, bool useSafeTexCoords) in PosTexCoordQuadGrid() argument
264 initializeTexCoords(textureSize, texCoordParams, useSafeTexCoords); in PosTexCoordQuadGrid()
272 void PosTexCoordQuadGrid<TEXTURETYPE_2D>::initializeTexCoords (const IVec2& textureSize, const TexCoordParams& texCoordParams, bool useSafeTexCoords) in initializeTexCoords() argument
284 m_texCoords.push_back(useSafeTexCoords ? safe2DTexCoords(rawCoord, textureSize) : rawCoord); in initializeTexCoords()
289 void PosTexCoordQuadGrid<TEXTURETYPE_CUBE>::initializeTexCoords (const IVec2& textureSize, const TexCoordParams& texCoordParams, bool useSafeTexCoords) in initializeTexCoords() argument
306 const Vec2 safeFaceCoord = useSafeTexCoords ? safe2DTexCoords(rawFaceCoord, textureSize) in initializeTexCoords()
[all...]
/third_party/vk-gl-cts/modules/gles3/functional/
H A Des3fVertexTextureTests.cpp126 static inline Vec2 safe2DTexCoords (const Vec2& raw, const IVec2& textureSize) in safe2DTexCoords() argument
128 return safeCoords(raw, textureSize, Vec2(0.5f)); in safe2DTexCoords()
131 static inline Vec3 safe2DArrayTexCoords (const Vec3& raw, const IVec3& textureSize) in safe2DArrayTexCoords() argument
133 return safeCoords(raw, textureSize, Vec3(0.5f, 0.5f, 0.0f)); in safe2DArrayTexCoords()
136 static inline Vec3 safe3DTexCoords (const Vec3& raw, const IVec3& textureSize) in safe3DTexCoords() argument
138 return safeCoords(raw, textureSize, Vec3(0.5f)); in safe3DTexCoords()
239 PosTexCoordQuadGrid (int gridSize, const IVec2& renderSize, const TexSizeIVec& textureSize, const TexCoordParams& texCoordParams, bool useSafeTexCoords);
251 void initializeTexCoords (const TexSizeIVec& textureSize, const TexCoordParams& texCoordParams, bool useSafeTexCoords);
278 PosTexCoordQuadGrid<TexType>::PosTexCoordQuadGrid (int gridSize, const IVec2& renderSize, const TexSizeIVec& textureSize, const TexCoordParams& texCoordParams, bool useSafeTexCoords) in PosTexCoordQuadGrid() argument
313 initializeTexCoords(textureSize, texCoordParam in PosTexCoordQuadGrid()
321 initializeTexCoords(const IVec2& textureSize, const TexCoordParams& texCoordParams, bool useSafeTexCoords) initializeTexCoords() argument
338 initializeTexCoords(const IVec2& textureSize, const TexCoordParams& texCoordParams, bool useSafeTexCoords) initializeTexCoords() argument
364 initializeTexCoords(const IVec3& textureSize, const TexCoordParams& texCoordParams, bool useSafeTexCoords) initializeTexCoords() argument
381 initializeTexCoords(const IVec3& textureSize, const TexCoordParams& texCoordParams, bool useSafeTexCoords) initializeTexCoords() argument
[all...]
H A Des3fTextureUnitTests.cpp300 static float calculateLodMax(const tcu::Vector<tcu::Vec2, 3>& derivateParts, const tcu::IVec3& textureSize, const Vec2& screenDerivate) in calculateLodMax() argument
302 float dudx = derivateParts[0].x() * (float)textureSize.x() * screenDerivate.x(); in calculateLodMax()
303 float dudy = derivateParts[0].y() * (float)textureSize.x() * screenDerivate.y(); in calculateLodMax()
304 float dvdx = derivateParts[1].x() * (float)textureSize.y() * screenDerivate.x(); in calculateLodMax()
305 float dvdy = derivateParts[1].y() * (float)textureSize.y() * screenDerivate.y(); in calculateLodMax()
306 float dwdx = derivateParts[2].x() * (float)textureSize.z() * screenDerivate.x(); in calculateLodMax()
307 float dwdy = derivateParts[2].y() * (float)textureSize.z() * screenDerivate.y(); in calculateLodMax()
316 static float calculateLodMin(const tcu::Vector<tcu::Vec2, 3>& derivateParts, const tcu::IVec3& textureSize, const Vec2& screenDerivate) in calculateLodMin() argument
318 float dudx = derivateParts[0].x() * (float)textureSize.x() * screenDerivate.x(); in calculateLodMin()
319 float dudy = derivateParts[0].y() * (float)textureSize in calculateLodMin()
[all...]
/third_party/skia/tests/graphite/
H A DCommandBufferTest.cpp44 SkISize textureSize = { kTextureWidth, kTextureHeight }; in DEF_GRAPHITE_TEST_FOR_CONTEXTS() local
59 auto target = sk_sp<TextureProxy>(new TextureProxy(textureSize, textureInfo)); in DEF_GRAPHITE_TEST_FOR_CONTEXTS()
/third_party/vk-gl-cts/external/openglcts/modules/gl/
H A Dgl4cTextureFilterMinmaxTests.cpp466 glw::GLuint textureId, tcu::IVec2 textureSize, in getDataFromTexture()
471 glw::GLsizei imageLength = textureSize.x() * textureSize.y(); in getDataFromTexture()
486 tcu::IVec2 textureSize, glw::GLenum format, glw::GLenum type) in calcPixelSumValue()
488 std::vector<glw::GLuint> textureData = getDataFromTexture(context, textureId, textureSize, format, type); in calcPixelSumValue()
465 getDataFromTexture(const glu::RenderContext& context, glw::GLuint textureId, tcu::IVec2 textureSize, glw::GLenum format, glw::GLenum type) getDataFromTexture() argument
485 calcPixelSumValue(const glu::RenderContext& context, glw::GLuint textureId, tcu::IVec2 textureSize, glw::GLenum format, glw::GLenum type) calcPixelSumValue() argument
H A Dgl4cTextureFilterMinmaxTests.hpp211 tcu::IVec2 textureSize, glw::GLenum format, glw::GLenum type);
213 glw::GLuint calcPixelSumValue(const glu::RenderContext& context, glw::GLuint textureId, tcu::IVec2 textureSize,
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/pipeline/
H A DvktPipelineImageUtil.cpp783 deUint32 textureSize = 0; in getSize() local
793 textureSize = getNextMultiple(offsetMultiples, textureSize); in getSize()
794 textureSize += level.getWidth() * level.getHeight() * level.getDepth() * level.getFormat().getPixelSize(); in getSize()
798 return textureSize; in getSize()
807 deUint32 textureSize = 0; in getCompressedSize() local
816 textureSize = getNextMultiple(offsetMultiples, textureSize); in getCompressedSize()
817 textureSize += getCompressedLevel(levelNdx, layerNdx).getDataSize(); in getCompressedSize()
821 return textureSize; in getCompressedSize()
[all...]
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/pipeline/
H A DvktPipelineImageUtil.cpp773 deUint32 textureSize = 0; in getSize() local
783 textureSize = getNextMultiple(offsetMultiples, textureSize); in getSize()
784 textureSize += level.getWidth() * level.getHeight() * level.getDepth() * level.getFormat().getPixelSize(); in getSize()
788 return textureSize; in getSize()
797 deUint32 textureSize = 0; in getCompressedSize() local
806 textureSize = getNextMultiple(offsetMultiples, textureSize); in getCompressedSize()
807 textureSize += getCompressedLevel(levelNdx, layerNdx).getDataSize(); in getCompressedSize()
811 return textureSize; in getCompressedSize()
[all...]
/third_party/vk-gl-cts/modules/gles2/stress/
H A Des2sSpecialFloatTests.cpp263 const int textureSize = 32; in drawTestPattern() local
264 std::vector<tcu::Vector<deUint8, 4> > buffer(textureSize*textureSize); in drawTestPattern()
266 for (int x = 0; x < textureSize; ++x) in drawTestPattern()
267 for (int y = 0; y < textureSize; ++y) in drawTestPattern()
271 const deUint8 redComponent = (deUint8)de::clamp(de::abs((float)x / (float)textureSize - 0.5f) * 255.0f + de::abs((float)y / (float)textureSize - 0.5f) * 255.0f, 0.0f, 255.0f); in drawTestPattern()
273 buffer[x * textureSize + y] = tcu::Vector<deUint8, 4>(redComponent, 255, 255, 255); in drawTestPattern()
278 gl.texImage2D(GL_TEXTURE_2D, 0, GL_RGBA, textureSize, textureSize, in drawTestPattern()
[all...]
/third_party/vk-gl-cts/external/openglcts/modules/common/
H A DglcTextureCompatibilityTests.cpp117 SubImageFormatTest(deqp::Context& context, const TestParameters testParam, glw::GLsizei textureSize);
143 SubImageFormatTest::SubImageFormatTest (deqp::Context& context, const TestParameters testParams, glw::GLsizei textureSize) in SubImageFormatTest() argument
146 , m_textureSize (textureSize) in SubImageFormatTest()
/third_party/vk-gl-cts/modules/gles31/functional/
H A Des31fTextureGatherTests.cpp1658 const IVec2& textureSize) in TextureGather2DCase()
1660 , m_textureSize (textureSize) in TextureGather2DCase()
1748 const IVec3& textureSize)
1750 , m_textureSize (textureSize)
1880 int textureSize)
1882 , m_textureSize (textureSize)
2019 const IVec3& textureSize,
2026 wrapS, wrapT, texSwizzle, minFilter, magFilter, baseLevel, flags, textureSize.swizzle(0, 1));
2030 wrapS, wrapT, texSwizzle, minFilter, magFilter, baseLevel, flags, textureSize);
2036 wrapS, wrapT, texSwizzle, minFilter, magFilter, baseLevel, flags, textureSize
1644 TextureGather2DCase(Context& context, const char* name, const char* description, GatherType gatherType, OffsetSize offsetSize, tcu::TextureFormat textureFormat, tcu::Sampler::CompareMode shadowCompareMode, tcu::Sampler::WrapMode wrapS, tcu::Sampler::WrapMode wrapT, const MaybeTextureSwizzle& texSwizzle, tcu::Sampler::FilterMode minFilter, tcu::Sampler::FilterMode magFilter, int baseLevel, deUint32 flags, const IVec2& textureSize) TextureGather2DCase() argument
[all...]
H A Des31fShaderImageLoadStoreTests.cpp861 const IVec3& textureSize, in readIntegerTextureViaFBOAndVerify()
871 const int numSlicesOrFaces = textureType == TEXTURETYPE_CUBE ? 6 : textureSize.z(); in readIntegerTextureViaFBOAndVerify()
874 tcu::TextureLevel resultSlice (textureFormat, textureSize.x(), textureSize.y()); in readIntegerTextureViaFBOAndVerify()
918 const IVec3& textureSize, in readFloatOrNormTextureWithLookupsAndVerify()
934 " vec4 color[" + toString(textureSize.x()*textureSize.y()) + "];\n" in readFloatOrNormTextureWithLookupsAndVerify()
949 " highp float s = (float(gx) + 0.5) / float(" + toString(textureSize.x()) + ");\n" in readFloatOrNormTextureWithLookupsAndVerify()
950 " highp float t = (float(gy) + 0.5) / float(" + toString(textureType == TEXTURETYPE_CUBE ? textureSize.x() : textureSize in readFloatOrNormTextureWithLookupsAndVerify()
856 readIntegerTextureViaFBOAndVerify(const RenderContext& renderCtx, glu::CallLogWrapper& glLog, deUint32 textureGL, TextureType textureType, const TextureFormat& textureFormat, const IVec3& textureSize, const ImageLayerVerifier& verifyLayer) readIntegerTextureViaFBOAndVerify() argument
913 readFloatOrNormTextureWithLookupsAndVerify(const RenderContext& renderCtx, glu::CallLogWrapper& glLog, deUint32 textureGL, TextureType textureType, const TextureFormat& textureFormat, const IVec3& textureSize, const ImageLayerVerifier& verifyLayer) readFloatOrNormTextureWithLookupsAndVerify() argument
[all...]

Completed in 47 milliseconds

12