Lines Matching defs:texcoord
390 const GLfloat texcoord[4], GLfloat lodBias,
402 machine->FetchTexelDeriv(ctx, texcoord,
408 machine->FetchTexelLod(ctx, texcoord, lodBias, unit, color);
1651 GLfloat texcoord[4], color[4];
1652 fetch_vector4(&inst->SrcReg[0], machine, texcoord);
1654 /* For TEX, texcoord.Q should not be used and its value should not
1657 * which is effectively what happens when the texcoord swizzle
1660 texcoord[3] = 1.0f;
1662 fetch_texel(ctx, machine, inst, texcoord, 0.0, color);
1668 texcoord[0], texcoord[1], texcoord[2], texcoord[3]);
1676 GLfloat texcoord[4], color[4], lodBias;
1678 fetch_vector4(&inst->SrcReg[0], machine, texcoord);
1680 /* texcoord[3] is the bias to add to lambda */
1681 lodBias = texcoord[3];
1683 fetch_texel(ctx, machine, inst, texcoord, lodBias, color);
1690 texcoord[0],
1691 texcoord[1],
1692 texcoord[2],
1693 texcoord[3],
1703 GLfloat texcoord[4], dtdx[4], dtdy[4], color[4];
1704 fetch_vector4(&inst->SrcReg[0], machine, texcoord);
1707 machine->FetchTexelDeriv(ctx, texcoord, dtdx, dtdy,
1716 GLfloat texcoord[4], color[4], lod;
1718 fetch_vector4(&inst->SrcReg[0], machine, texcoord);
1720 /* texcoord[3] is the LOD */
1721 lod = texcoord[3];
1723 machine->FetchTexelLod(ctx, texcoord, lod,
1732 GLfloat texcoord[4], color[4];
1734 fetch_vector4(&inst->SrcReg[0], machine, texcoord);
1735 /* Not so sure about this test - if texcoord[3] is
1739 if (texcoord[3] != 0.0) {
1740 texcoord[0] /= texcoord[3];
1741 texcoord[1] /= texcoord[3];
1742 texcoord[2] /= texcoord[3];
1745 fetch_texel(ctx, machine, inst, texcoord, 0.0, color);
1755 GLfloat texcoord[4], color[4];
1757 fetch_vector4(&inst->SrcReg[0], machine, texcoord);
1759 texcoord[3] != 0.0) {
1760 texcoord[0] /= texcoord[3];
1761 texcoord[1] /= texcoord[3];
1762 texcoord[2] /= texcoord[3];
1765 fetch_texel(ctx, machine, inst, texcoord, 0.0, color);