Lines Matching refs:tex
921 { "tex", s_type, s_sampler, s_coord, s_offset, s_proj, s_shadow };
944 ir_texture *tex = new(mem_ctx) ir_texture(op);
950 tex->opcode_string());
958 tex->opcode_string());
961 tex->set_sampler(sampler, type);
965 tex->coordinate = read_rvalue(s_coord);
966 if (tex->coordinate == NULL) {
968 tex->opcode_string());
975 tex->offset = read_rvalue(s_offset);
976 if (tex->offset == NULL) {
986 tex->projector = NULL;
988 tex->projector = read_rvalue(s_proj);
989 if (tex->projector == NULL) {
991 tex->opcode_string());
997 tex->shadow_comparitor = NULL;
999 tex->shadow_comparitor = read_rvalue(s_shadow);
1000 if (tex->shadow_comparitor == NULL) {
1002 tex->opcode_string());
1010 tex->lod_info.bias = read_rvalue(s_lod);
1011 if (tex->lod_info.bias == NULL) {
1019 tex->lod_info.lod = read_rvalue(s_lod);
1020 if (tex->lod_info.lod == NULL) {
1022 tex->opcode_string());
1033 tex->lod_info.grad.dPdx = read_rvalue(s_dx);
1034 if (tex->lod_info.grad.dPdx == NULL) {
1038 tex->lod_info.grad.dPdy = read_rvalue(s_dy);
1039 if (tex->lod_info.grad.dPdy == NULL) {
1046 // tex doesn't have any extra parameters.
1049 return tex;