Searched refs:transformed_normal (Results 1 – 1 of 1) sorted by relevance
/external/mesa3d/src/mesa/main/ |
D | ffvertex_prog.c | 317 struct ureg transformed_normal; member 789 if (is_undef(p->transformed_normal) && in get_transformed_normal() 794 p->transformed_normal = register_input(p, VERT_ATTRIB_NORMAL ); in get_transformed_normal() 796 else if (is_undef(p->transformed_normal)) in get_transformed_normal() 800 struct ureg transformed_normal = reserve_temp(p); in get_transformed_normal() local 808 emit_matrix_transform_vec3( p, transformed_normal, mvinv, normal ); in get_transformed_normal() 809 normal = transformed_normal; in get_transformed_normal() 815 emit_normalize_vec3( p, transformed_normal, normal ); in get_transformed_normal() 816 normal = transformed_normal; in get_transformed_normal() 824 emit_op2( p, OPCODE_MUL, transformed_normal, 0, normal, rescale ); in get_transformed_normal() [all …]
|