Lines Matching +defs:tmp +defs:p
385 static struct ureg get_temp( struct tnl_program *p ) in get_temp()
401 static struct ureg reserve_temp( struct tnl_program *p ) in reserve_temp()
409 static void release_temp( struct tnl_program *p, struct ureg reg ) in release_temp()
417 static void release_temps( struct tnl_program *p ) in release_temps()
423 static struct ureg register_param4(struct tnl_program *p, in register_param4()
440 #define register_param1(p,s0) register_param4(p,s0,0,0,0) argument
441 #define register_param2(p,s0,s1) register_param4(p,s0,s1,0,0) argument
442 #define register_param3(p,s0,s1,s2) register_param4(p,s0,s1,s2,0) argument
449 static struct ureg register_input( struct tnl_program *p, GLuint input ) in register_input()
466 static struct ureg register_output( struct tnl_program *p, GLuint output ) in register_output()
473 static struct ureg register_const4f( struct tnl_program *p, in register_const4f()
492 #define register_const1f(p, s0) register_const4f(p, s0, 0, 0, 1) argument
493 #define register_scalar_const(p, s0) register_const4f(p, s0, s0, s0, s0) argument
494 #define register_const2f(p, s0, s1) register_const4f(p, s0, s1, 0, 1) argument
495 #define register_const3f(p, s0, s1, s2) register_const4f(p, s0, s1, s2, 1) argument
503 static struct ureg get_identity_param( struct tnl_program *p ) in get_identity_param()
511 static void register_matrix_param5( struct tnl_program *p, in register_matrix_param5()
570 static void emit_op3fn(struct tnl_program *p, in emit_op3fn()
622 #define emit_op3(p, op, dst, mask, src0, src1, src2) \ argument
625 #define emit_op2(p, op, dst, mask, src0, src1) \ argument
628 #define emit_op1(p, op, dst, mask, src0) \ argument
632 static struct ureg make_temp( struct tnl_program *p, struct ureg reg ) in make_temp()
649 static void emit_matrix_transform_vec4( struct tnl_program *p, in emit_matrix_transform_vec4()
665 static void emit_transpose_matrix_transform_vec4( struct tnl_program *p, in emit_transpose_matrix_transform_vec4()
670 struct ureg tmp; in emit_transpose_matrix_transform_vec4() local
687 static void emit_matrix_transform_vec3( struct tnl_program *p, in emit_matrix_transform_vec3()
698 static void emit_normalize_vec3( struct tnl_program *p, in emit_normalize_vec3()
702 struct ureg tmp = get_temp(p); in emit_normalize_vec3() local
710 static void emit_passthrough( struct tnl_program *p, in emit_passthrough()
719 static struct ureg get_eye_position( struct tnl_program *p ) in get_eye_position()
745 static struct ureg get_eye_position_z( struct tnl_program *p ) in get_eye_position_z()
766 static struct ureg get_eye_position_normalized( struct tnl_program *p ) in get_eye_position_normalized()
778 static struct ureg get_transformed_normal( struct tnl_program *p ) in get_transformed_normal()
826 static void build_hpos( struct tnl_program *p ) in build_hpos()
867 static void set_material_flags( struct tnl_program *p ) in set_material_flags()
882 static struct ureg get_material( struct tnl_program *p, GLuint side, in get_material()
915 static struct ureg get_scenecolor( struct tnl_program *p, GLuint side ) in get_scenecolor()
922 struct ureg tmp = make_temp(p, material_diffuse); in get_scenecolor() local
932 static struct ureg get_lightprod( struct tnl_program *p, GLuint light, in get_lightprod()
949 static struct ureg calculate_light_attenuation( struct tnl_program *p, in calculate_light_attenuation()
1016 static void emit_degenerate_lit( struct tnl_program *p, in emit_degenerate_lit()
1041 static void build_lighting( struct tnl_program *p ) in build_lighting()
1245 struct ureg tmp = get_temp(p); in build_lighting() local
1312 struct ureg tmp = get_temp(p); in build_lighting() local
1388 static void build_fog( struct tnl_program *p ) in build_fog()
1395 struct ureg tmp = get_temp(p); in build_fog() local
1423 static void build_reflect_texgen( struct tnl_program *p, in build_reflect_texgen()
1429 struct ureg tmp = get_temp(p); in build_reflect_texgen() local
1442 static void build_sphere_texgen( struct tnl_program *p, in build_sphere_texgen()
1448 struct ureg tmp = get_temp(p); in build_sphere_texgen() local
1485 static void build_texture_transform( struct tnl_program *p ) in build_texture_transform()
1605 static void build_atten_pointsize( struct tnl_program *p ) in build_atten_pointsize()
1643 static void build_array_pointsize( struct tnl_program *p ) in build_array_pointsize()
1651 static void build_tnl_program( struct tnl_program *p ) in build_tnl_program()
1703 struct tnl_program p; in create_new_program() local