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 777 if (is_undef(p->transformed_normal) && in get_transformed_normal() 782 p->transformed_normal = register_input(p, VERT_ATTRIB_NORMAL ); in get_transformed_normal() 784 else if (is_undef(p->transformed_normal)) in get_transformed_normal() 788 struct ureg transformed_normal = reserve_temp(p); in get_transformed_normal() local 796 emit_matrix_transform_vec3( p, transformed_normal, mvinv, normal ); in get_transformed_normal() 797 normal = transformed_normal; in get_transformed_normal() 803 emit_normalize_vec3( p, transformed_normal, normal ); in get_transformed_normal() 804 normal = transformed_normal; in get_transformed_normal() 812 emit_op2( p, OPCODE_MUL, transformed_normal, 0, normal, rescale ); in get_transformed_normal() [all …]
|