2011/4/29 Stefan Dösinger <stefandoesin...@gmx.at>: >> + shader_addline(buffer, "TEMP TB;\n"); > Which shader instruction uses this? Afair vertex shaders should only use TA, > but there's no proper infrastructure that manages that. >
AFAICS, TB could get used in shader_hw_pow(): ... shader_arb_get_src_param(ins, &ins->src[1], 1, src1); ... where the '1' in the third argument means that shader_arb_get_src_param() is allowed to use TB as temporary storage. There may be other pieces of code with the same assumption, I didn't look deeper.