Lines Matching defs:tex
698 TexInstruction *tex = asTex();
699 moveSourcesAdjustIndex(tex->tex.rIndirectSrc, s, delta);
700 moveSourcesAdjustIndex(tex->tex.sIndirectSrc, s, delta);
906 : Instruction(fn, op, TYPE_F32), tex()
908 tex.rIndirectSrc = -1;
909 tex.sIndirectSrc = -1;
929 TexInstruction *tex = (i ? static_cast<TexInstruction *>(i) :
932 Instruction::clone(pol, tex);
934 tex->tex = this->tex;
937 for (unsigned int c = 0; c < tex->tex.target.getDim(); ++c) {
938 tex->dPdx[c].set(dPdx[c]);
939 tex->dPdy[c].set(dPdy[c]);
943 for (int n = 0; n < tex->tex.useOffsets; ++n)
945 tex->offset[n][c].set(offset[n][c]);
947 return tex;
1088 int p = ((tex.rIndirectSrc < 0) && v) ? srcs.size() : tex.rIndirectSrc;
1090 tex.rIndirectSrc = p;
1099 int p = ((tex.sIndirectSrc < 0) && v) ? srcs.size() : tex.sIndirectSrc;
1101 tex.sIndirectSrc = p;