Lines Matching refs:bias
66 …rfaceAccess& dst, const float coords[4*3], const Vec4& wCoord, const Vec3& scale, const Vec3& bias) in renderReference() argument
89 … float r = projectedTriInterpolate(triR[triNdx], triW[triNdx], triNx, triNy) * scale[0] + bias[0]; in renderReference()
90 … float g = projectedTriInterpolate(triG[triNdx], triW[triNdx], triNx, triNy) * scale[1] + bias[1]; in renderReference()
91 … float b = projectedTriInterpolate(triB[triNdx], triW[triNdx], triNx, triNy) * scale[2] + bias[2]; in renderReference()
219 tcu::Vec3 bias = -1.0f*m_min*scale; in iterate() local
222 (0.0f - bias[0])/scale[0], (0.5f - bias[1])/scale[1], (1.0f - bias[2])/scale[2], in iterate()
223 (0.5f - bias[0])/scale[0], (1.0f - bias[1])/scale[1], (0.5f - bias[2])/scale[2], in iterate()
224 (0.5f - bias[0])/scale[0], (0.0f - bias[1])/scale[1], (0.5f - bias[2])/scale[2], in iterate()
225 (1.0f - bias[0])/scale[0], (0.5f - bias[1])/scale[1], (0.0f - bias[2])/scale[2] in iterate()
228 …g::Message << "a_coords = " << ((tcu::Vec3(0.0f) - bias)/scale) << " -> " << ((tcu::Vec3(1.0f) - b… in iterate()
230 log << TestLog::Message << "u_bias = " << bias << TestLog::EndMessage; in iterate()
234 TCU_CHECK(isValidFloatVec(m_precision, bias)); in iterate()
238 TCU_CHECK(isValidFloat(m_precision, coords[ndx] * scale[ndx % 3] + bias[ndx % 3])); in iterate()
257 glUniform3f(glGetUniformLocation(program.getProgram(), "u_bias"), bias.x(), bias.y(), bias.z()); in iterate()
270 …rfaceAccess(reference, m_context.getRenderTarget().getPixelFormat()), coords, wCoord, scale, bias); in iterate()