Home
last modified time | relevance | path

Searched refs:ttr (Results 1 – 4 of 4) sorted by relevance

/external/mesa3d/src/gallium/drivers/r300/
Dr300_tgsi_to_rc.c174 struct tgsi_to_rc * ttr, in translate_register_index() argument
179 return ttr->immediate_offset + index; in translate_register_index()
185 struct tgsi_to_rc * ttr, in transform_dstreg() argument
190 dst->Index = translate_register_index(ttr, src->Register.File, src->Register.Index); in transform_dstreg()
194 ttr->error = TRUE; in transform_dstreg()
201 struct tgsi_to_rc * ttr, in transform_srcreg() argument
208 dst->Index = translate_register_index(ttr, src->Register.File, src->Register.Index); in transform_srcreg()
218 for (i = 0; i < ttr->imms_to_swizzle_count; i++) { in transform_srcreg()
219 if (ttr->imms_to_swizzle[i].index == src->Register.Index) { in transform_srcreg()
224 dst->Swizzle |= GET_SWZ(ttr->imms_to_swizzle[i].swizzle, in transform_srcreg()
[all …]
Dr300_vs.c208 struct tgsi_to_rc ttr; in r300_translate_vertex_shader() local
234 ttr.compiler = &compiler.Base; in r300_translate_vertex_shader()
235 ttr.info = &vs->info; in r300_translate_vertex_shader()
236 ttr.use_half_swizzles = FALSE; in r300_translate_vertex_shader()
238 r300_tgsi_to_rc(&ttr, vs->state.tokens); in r300_translate_vertex_shader()
240 if (ttr.error) { in r300_translate_vertex_shader()
Dr300_fs.c433 struct tgsi_to_rc ttr; in r300_translate_fragment_shader() local
482 ttr.compiler = &compiler.Base; in r300_translate_fragment_shader()
483 ttr.info = &shader->info; in r300_translate_fragment_shader()
484 ttr.use_half_swizzles = TRUE; in r300_translate_fragment_shader()
486 r300_tgsi_to_rc(&ttr, tokens); in r300_translate_fragment_shader()
488 if (ttr.error) { in r300_translate_fragment_shader()
Dr300_tgsi_to_rc.h55 void r300_tgsi_to_rc(struct tgsi_to_rc * ttr, const struct tgsi_token * tokens);