Home
last modified time | relevance | path

Searched refs:m_textureSpec (Results 1 – 4 of 4) sorted by relevance

/external/deqp/external/openglcts/modules/glesext/texture_shadow_lod/
DesextcTextureShadowLodFunctionsTest.cpp324 TextureSpec m_textureSpec; member in deqp::Functional::TextureShadowLodTestCase
341 , m_textureSpec(texture) in TextureShadowLodTestCase()
384 if (m_textureSpec.type == TEXTURETYPE_CUBE_MAP_ARRAY) in init()
407 if (m_textureSpec.type == TEXTURETYPE_CUBE_MAP_ARRAY) in init()
475 tcu::TextureFormat texFmt = glu::mapGLInternalFormat(m_textureSpec.format); in initTexture()
481 switch (m_textureSpec.type) in initTexture()
485 float levelStep = isAutoLod ? 0.0f : 1.0f / (float)de::max(1, m_textureSpec.numLevels - 1); in initTexture()
488 int baseCellSize = de::min(m_textureSpec.width / 4, m_textureSpec.height / 4); in initTexture()
490 …m_texture2D = new glu::Texture2D(m_renderCtx, m_textureSpec.format, m_textureSpec.width, m_texture… in initTexture()
491 for (int level = 0; level < m_textureSpec.numLevels; level++) in initTexture()
[all …]
/external/deqp/modules/gles2/functional/
Des2fShaderTextureFunctionTests.cpp237 TextureSpec m_textureSpec; member in deqp::gles2::Functional::ShaderTextureFunctionCase
249 , m_textureSpec (texture) in ShaderTextureFunctionCase()
323 …tcu::TextureFormat texFmt = glu::mapGLTransferFormat(m_textureSpec.format, m_textureSpec.dataTy… in initTexture()
329 switch (m_textureSpec.type) in initTexture()
333 float cStep = 1.0f / (float)de::max(1, m_textureSpec.numLevels-1); in initTexture()
336 int baseCellSize = de::min(m_textureSpec.width/4, m_textureSpec.height/4); in initTexture()
338 …D = new glu::Texture2D(m_renderCtx, m_textureSpec.format, m_textureSpec.dataType, m_textureSpec.wi… in initTexture()
339 for (int level = 0; level < m_textureSpec.numLevels; level++) in initTexture()
352 …float dudx = (m_lookupSpec.maxCoord[0]-m_lookupSpec.minCoord[0])*proj*(float)m_textureSpec.width /… in initTexture()
353 …float dvdy = (m_lookupSpec.maxCoord[1]-m_lookupSpec.minCoord[1])*proj*(float)m_textureSpec.height … in initTexture()
[all …]
/external/deqp/external/vulkancts/modules/vulkan/shaderrender/
DvktShaderRenderTextureFunctionTests.cpp736 const TextureSpec& m_textureSpec; member in vkt::sr::__anona427751b0111::ShaderTextureFunctionInstance
751 , m_textureSpec (textureSpec) in ShaderTextureFunctionInstance()
754 checkDeviceFeatures(m_context, m_textureSpec.type); in ShaderTextureFunctionInstance()
855 tcu::TextureFormat texFmt = glu::mapGLInternalFormat(m_textureSpec.format); in initTexture()
864 switch (m_textureSpec.type) in initTexture()
868 float levelStep = isAutoLod ? 0.0f : 1.0f / (float)de::max(1, m_textureSpec.numLevels-1); in initTexture()
871 int baseCellSize = de::min(m_textureSpec.width/4, m_textureSpec.height/4); in initTexture()
874 …D = de::MovePtr<tcu::Texture2D>(new tcu::Texture2D(texFmt, m_textureSpec.width, m_textureSpec.heig… in initTexture()
876 for (int level = 0; level < m_textureSpec.numLevels; level++) in initTexture()
888 …float dudx = (m_lookupSpec.maxCoord[0]-m_lookupSpec.minCoord[0])*proj*(float)m_textureSpec.width /… in initTexture()
[all …]
/external/deqp/modules/gles3/functional/
Des3fShaderTextureFunctionTests.cpp458 TextureSpec m_textureSpec; member in deqp::gles3::Functional::ShaderTextureFunctionCase
472 , m_textureSpec (texture) in ShaderTextureFunctionCase()
567 tcu::TextureFormat texFmt = glu::mapGLInternalFormat(m_textureSpec.format); in initTexture()
575 switch (m_textureSpec.type) in initTexture()
579 float levelStep = isAutoLod ? 0.0f : 1.0f / (float)de::max(1, m_textureSpec.numLevels-1); in initTexture()
582 int baseCellSize = de::min(m_textureSpec.width/4, m_textureSpec.height/4); in initTexture()
584 …m_texture2D = new glu::Texture2D(m_renderCtx, m_textureSpec.format, m_textureSpec.width, m_texture… in initTexture()
585 for (int level = 0; level < m_textureSpec.numLevels; level++) in initTexture()
598 …float dudx = (m_lookupSpec.maxCoord[0]-m_lookupSpec.minCoord[0])*proj*(float)m_textureSpec.width /… in initTexture()
599 …float dvdy = (m_lookupSpec.maxCoord[1]-m_lookupSpec.minCoord[1])*proj*(float)m_textureSpec.height … in initTexture()
[all …]