Lines Matching refs:textureFunction
1233 const TextureFunction textureFunction(node->getName()); in visitAggregate() local
1238 if(textureFunction.proj) in visitAggregate()
1265 switch(textureFunction.method) in visitAggregate()
1269 TIntermNode* offset = textureFunction.offset ? arg[2] : 0; in visitAggregate()
1271 if(argumentCount == 2 || (textureFunction.offset && argumentCount == 3)) in visitAggregate()
1273 …Instruction *tex = emit(textureFunction.offset ? sw::Shader::OPCODE_TEXOFFSET : sw::Shader::OPCODE… in visitAggregate()
1276 else if(argumentCount == 3 || (textureFunction.offset && argumentCount == 4)) // bias in visitAggregate()
1278 … Instruction *bias = emit(sw::Shader::OPCODE_MOV, &coord, arg[textureFunction.offset ? 3 : 2]); in visitAggregate()
1281 …Instruction *tex = emit(textureFunction.offset ? sw::Shader::OPCODE_TEXOFFSET : sw::Shader::OPCODE… in visitAggregate()
1293 emit(textureFunction.offset ? sw::Shader::OPCODE_TEXLDLOFFSET : sw::Shader::OPCODE_TEXLDL, in visitAggregate()
1294 result, &coord, arg[0], textureFunction.offset ? arg[3] : nullptr); in visitAggregate()
1299 if(argumentCount == 3 || (textureFunction.offset && argumentCount == 4)) in visitAggregate()
1301 TIntermNode *offset = textureFunction.offset ? arg[3] : nullptr; in visitAggregate()
1303 … emit(textureFunction.offset ? sw::Shader::OPCODE_TEXELFETCHOFFSET : sw::Shader::OPCODE_TEXELFETCH, in visitAggregate()
1311 if(argumentCount == 4 || (textureFunction.offset && argumentCount == 5)) in visitAggregate()
1313 TIntermNode *offset = textureFunction.offset ? arg[4] : nullptr; in visitAggregate()
1315 emit(textureFunction.offset ? sw::Shader::OPCODE_TEXGRADOFFSET : sw::Shader::OPCODE_TEXGRAD, in visitAggregate()
1325 UNREACHABLE(textureFunction.method); in visitAggregate()