Lines Matching defs:texcoord
529 /* Texcoord override from bumpmapping. */
532 /* Reg containing texcoord for a texture unit,
920 ir_rvalue *texcoord;
923 texcoord = get_current_attrib(p, VERT_ATTRIB_TEX0 + unit);
925 texcoord = new(p->mem_ctx) ir_dereference_variable(p->texcoord_tex[unit]);
929 texcoord = new(p->mem_ctx) ir_dereference_variable(tc_array);
931 texcoord = new(p->mem_ctx) ir_dereference_array(texcoord, index);
1025 tex->coordinate = new(p->mem_ctx) ir_swizzle(texcoord, 0, 1, 2, 3, coords);
1028 texcoord = texcoord->clone(p->mem_ctx, NULL);
1029 tex->shadow_comparitor = new(p->mem_ctx) ir_swizzle(texcoord,
1035 texcoord = texcoord->clone(p->mem_ctx, NULL);
1036 tex->projector = swizzle_w(texcoord);
1097 ir_rvalue *texcoord;
1105 texcoord = new(p->mem_ctx) ir_dereference_variable(tc_array);
1107 texcoord = new(p->mem_ctx) ir_dereference_array(texcoord, index);
1118 texcoord = smear(p, texcoord);
1120 /* bump_texcoord = texcoord */
1121 ir_variable *bumped = p->make_temp(texcoord->type, "bump_texcoord");
1123 p->emit(assign(bumped, texcoord));