Searched refs:transformed_normal (Results 1 – 1 of 1) sorted by relevance
/external/mesa3d/src/mesa/main/ |
D | ffvertex_prog.c | 311 struct ureg transformed_normal; member 771 if (is_undef(p->transformed_normal) && in get_transformed_normal() 776 p->transformed_normal = register_input(p, VERT_ATTRIB_NORMAL ); in get_transformed_normal() 778 else if (is_undef(p->transformed_normal)) in get_transformed_normal() 782 struct ureg transformed_normal = reserve_temp(p); in get_transformed_normal() local 790 emit_matrix_transform_vec3( p, transformed_normal, mvinv, normal ); in get_transformed_normal() 791 normal = transformed_normal; in get_transformed_normal() 797 emit_normalize_vec3( p, transformed_normal, normal ); in get_transformed_normal() 798 normal = transformed_normal; in get_transformed_normal() 806 emit_op2( p, OPCODE_MUL, transformed_normal, 0, normal, rescale ); in get_transformed_normal() [all …]
|