Lines Matching refs:m_lookupSpec
520 TextureLookupSpec m_lookupSpec; member in deqp::gles3::Functional::ShaderTextureFunctionCase
534 , m_lookupSpec (lookup) in ShaderTextureFunctionCase()
556 Vec4 s = m_lookupSpec.maxCoord-m_lookupSpec.minCoord; in init()
557 Vec4 b = m_lookupSpec.minCoord; in init()
570 bool hasLodBias = functionHasLod(m_lookupSpec.function) || m_lookupSpec.useBias; in init()
571 bool isGrad = functionHasGrad(m_lookupSpec.function); in init()
576 float s = m_lookupSpec.maxLodBias-m_lookupSpec.minLodBias; in init()
577 float b = m_lookupSpec.minLodBias; in init()
590 Vec3 sx = m_lookupSpec.maxDX-m_lookupSpec.minDX; in init()
591 Vec3 sy = m_lookupSpec.maxDY-m_lookupSpec.minDY; in init()
594 sx.x()/2.0f, sx.x()/2.0f, 0.f, m_lookupSpec.minDX.x(), in init()
595 sx.y()/2.0f, sx.y()/2.0f, 0.0f, m_lookupSpec.minDX.y(), in init()
596 sx.z()/2.0f, sx.z()/2.0f, 0.0f, m_lookupSpec.minDX.z(), in init()
601 -sy.x()/2.0f, -sy.x()/2.0f, 0.f, m_lookupSpec.maxDY.x(), in init()
602 -sy.y()/2.0f, -sy.y()/2.0f, 0.0f, m_lookupSpec.maxDY.y(), in init()
603 -sy.z()/2.0f, -sy.z()/2.0f, 0.0f, m_lookupSpec.maxDY.z(), in init()
633 bool isProj = functionHasProj(m_lookupSpec.function); in initTexture()
635 m_lookupSpec.function); // LOD can vary significantly in initTexture()
636 …float proj = isProj ? 1.0f/m_lookupSpec.minCoord[m_lookupSpec.function == FUNCTION_TEXTUREPR… in initTexture()
661 …float dudx = (m_lookupSpec.maxCoord[0]-m_lookupSpec.minCoord[0])*proj*m_textureSpec.width / (float… in initTexture()
662 …float dvdy = (m_lookupSpec.maxCoord[1]-m_lookupSpec.minCoord[1])*proj*m_textureSpec.height / (floa… in initTexture()
712 DE_ASSERT(de::abs(m_lookupSpec.minCoord[2] - m_lookupSpec.maxCoord[2]) < 0.005); in initTexture()
713 …_ASSERT(de::abs(m_lookupSpec.minCoord[0]) < de::abs(m_lookupSpec.minCoord[2]) && de::abs(m_lookupS… in initTexture()
714 …_ASSERT(de::abs(m_lookupSpec.minCoord[1]) < de::abs(m_lookupSpec.minCoord[2]) && de::abs(m_lookupS… in initTexture()
716 …rds c00 = tcu::getCubeFaceCoords(Vec3(m_lookupSpec.minCoord[0]*proj, m_lookupSpec.minCoord[1]*pro… in initTexture()
717 …rds c10 = tcu::getCubeFaceCoords(Vec3(m_lookupSpec.maxCoord[0]*proj, m_lookupSpec.minCoord[1]*pro… in initTexture()
718 …rds c01 = tcu::getCubeFaceCoords(Vec3(m_lookupSpec.minCoord[0]*proj, m_lookupSpec.maxCoord[1]*pro… in initTexture()
755 …float dudx = (m_lookupSpec.maxCoord[0]-m_lookupSpec.minCoord[0])*proj*m_textureSpec.width / (float… in initTexture()
756 …float dvdy = (m_lookupSpec.maxCoord[1]-m_lookupSpec.minCoord[1])*proj*m_textureSpec.height / (floa… in initTexture()
785 …float dudx = (m_lookupSpec.maxCoord[0]-m_lookupSpec.minCoord[0])*proj*m_textureSpec.width / (floa… in initTexture()
786 …float dvdy = (m_lookupSpec.maxCoord[1]-m_lookupSpec.minCoord[1])*proj*m_textureSpec.height / (flo… in initTexture()
787 …float dwdx = (m_lookupSpec.maxCoord[2]-m_lookupSpec.minCoord[2])*0.5f*proj*m_textureSpec.depth / (… in initTexture()
788 …float dwdy = (m_lookupSpec.maxCoord[2]-m_lookupSpec.minCoord[2])*0.5f*proj*m_textureSpec.depth / (… in initTexture()
803 m_lookupParams.offset = m_lookupSpec.offset; in initTexture()
808 Function function = m_lookupSpec.function; in initShaderSources()
815 bool hasLodBias = functionHasLod(m_lookupSpec.function) || m_lookupSpec.useBias; in initShaderSources()
840 switch (m_lookupSpec.function) in initShaderSources()
922 if (m_lookupSpec.useOffset) in initShaderSources()
945 if (m_lookupSpec.useOffset) in initShaderSources()
954 op << m_lookupSpec.offset[ndx]; in initShaderSources()
959 if (m_lookupSpec.useBias) in initShaderSources()