Lines Matching refs:m_lookupSpec
457 TextureLookupSpec m_lookupSpec; member in deqp::gles3::Functional::ShaderTextureFunctionCase
471 , m_lookupSpec (lookup) in ShaderTextureFunctionCase()
493 Vec4 s = m_lookupSpec.maxCoord-m_lookupSpec.minCoord; in init()
494 Vec4 b = m_lookupSpec.minCoord; in init()
507 bool hasLodBias = functionHasLod(m_lookupSpec.function) || m_lookupSpec.useBias; in init()
508 bool isGrad = functionHasGrad(m_lookupSpec.function); in init()
513 float s = m_lookupSpec.maxLodBias-m_lookupSpec.minLodBias; in init()
514 float b = m_lookupSpec.minLodBias; in init()
527 Vec3 sx = m_lookupSpec.maxDX-m_lookupSpec.minDX; in init()
528 Vec3 sy = m_lookupSpec.maxDY-m_lookupSpec.minDY; in init()
531 sx.x()/2.0f, sx.x()/2.0f, 0.f, m_lookupSpec.minDX.x(), in init()
532 sx.y()/2.0f, sx.y()/2.0f, 0.0f, m_lookupSpec.minDX.y(), in init()
533 sx.z()/2.0f, sx.z()/2.0f, 0.0f, m_lookupSpec.minDX.z(), in init()
538 -sy.x()/2.0f, -sy.x()/2.0f, 0.f, m_lookupSpec.maxDY.x(), in init()
539 -sy.y()/2.0f, -sy.y()/2.0f, 0.0f, m_lookupSpec.maxDY.y(), in init()
540 -sy.z()/2.0f, -sy.z()/2.0f, 0.0f, m_lookupSpec.maxDY.z(), in init()
570 bool isProj = functionHasProj(m_lookupSpec.function); in initTexture()
572 m_lookupSpec.function); // LOD can vary significantly in initTexture()
573 …float proj = isProj ? 1.0f/m_lookupSpec.minCoord[m_lookupSpec.function == FUNCTION_TEXTUREPR… 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()
649 DE_ASSERT(de::abs(m_lookupSpec.minCoord[2] - m_lookupSpec.maxCoord[2]) < 0.005); in initTexture()
650 …_ASSERT(de::abs(m_lookupSpec.minCoord[0]) < de::abs(m_lookupSpec.minCoord[2]) && de::abs(m_lookupS… in initTexture()
651 …_ASSERT(de::abs(m_lookupSpec.minCoord[1]) < de::abs(m_lookupSpec.minCoord[2]) && de::abs(m_lookupS… in initTexture()
653 …rds c00 = tcu::getCubeFaceCoords(Vec3(m_lookupSpec.minCoord[0]*proj, m_lookupSpec.minCoord[1]*pro… in initTexture()
654 …rds c10 = tcu::getCubeFaceCoords(Vec3(m_lookupSpec.maxCoord[0]*proj, m_lookupSpec.minCoord[1]*pro… in initTexture()
655 …rds c01 = tcu::getCubeFaceCoords(Vec3(m_lookupSpec.minCoord[0]*proj, m_lookupSpec.maxCoord[1]*pro… in initTexture()
692 …float dudx = (m_lookupSpec.maxCoord[0]-m_lookupSpec.minCoord[0])*proj*(float)m_textureSpec.width /… in initTexture()
693 …float dvdy = (m_lookupSpec.maxCoord[1]-m_lookupSpec.minCoord[1])*proj*(float)m_textureSpec.height … in initTexture()
722 …float dudx = (m_lookupSpec.maxCoord[0]-m_lookupSpec.minCoord[0])*proj*(float)m_textureSpec.width … in initTexture()
723 …float dvdy = (m_lookupSpec.maxCoord[1]-m_lookupSpec.minCoord[1])*proj*(float)m_textureSpec.height … in initTexture()
724 …float dwdx = (m_lookupSpec.maxCoord[2]-m_lookupSpec.minCoord[2])*0.5f*proj*(float)m_textureSpec.de… in initTexture()
725 …float dwdy = (m_lookupSpec.maxCoord[2]-m_lookupSpec.minCoord[2])*0.5f*proj*(float)m_textureSpec.de… in initTexture()
740 m_lookupParams.offset = m_lookupSpec.offset; in initTexture()
745 Function function = m_lookupSpec.function; in initShaderSources()
752 bool hasLodBias = functionHasLod(m_lookupSpec.function) || m_lookupSpec.useBias; in initShaderSources()
777 switch (m_lookupSpec.function) in initShaderSources()
859 if (m_lookupSpec.useOffset) in initShaderSources()
882 if (m_lookupSpec.useOffset) in initShaderSources()
891 op << m_lookupSpec.offset[ndx]; in initShaderSources()
896 if (m_lookupSpec.useBias) in initShaderSources()