Lines Matching refs:tex
1026 ir_texture *tex = new(ctx) ir_texture(op);
1035 tex->set_sampler(sampler);
1039 tex->coordinate = read_rvalue(st, coordinate_expr);
1040 if (tex->coordinate == NULL) {
1059 tex->offsets[0] = offset_x->value();
1060 tex->offsets[1] = offset_y->value();
1061 tex->offsets[2] = offset_z->value();
1065 tex->lod_info.lod = read_rvalue(st, lod_expr);
1066 if (tex->lod_info.lod == NULL) {
1074 tex->projector = NULL;
1076 tex->projector = read_rvalue(st, proj_expr);
1077 if (tex->projector == NULL) {
1090 tex->shadow_comparitor= NULL;
1092 tex->shadow_comparitor = read_rvalue(st, shadow_list);
1093 if (tex->shadow_comparitor == NULL) {
1103 tex->lod_info.bias = read_rvalue(st, lod_expr);
1104 if (tex->lod_info.bias == NULL) {
1110 tex->lod_info.lod = read_rvalue(st, lod_expr);
1111 if (tex->lod_info.lod == NULL) {
1125 tex->lod_info.grad.dPdx = read_rvalue(st, dx_expr);
1126 if (tex->lod_info.grad.dPdx == NULL) {
1130 tex->lod_info.grad.dPdy = read_rvalue(st, dy_expr);
1131 if (tex->lod_info.grad.dPdy == NULL) {
1138 // tex doesn't have any extra parameters and txf was handled earlier.
1142 return tex;