• Home
  • Raw
  • Download

Lines Matching refs:ureg

295 struct ureg {  struct
314 struct ureg eye_position; argument
315 struct ureg eye_position_z;
316 struct ureg eye_position_normalized;
317 struct ureg transformed_normal;
318 struct ureg identity;
325 static const struct ureg undef = {
343 static struct ureg make_ureg(GLuint file, GLint idx) in make_ureg()
345 struct ureg reg; in make_ureg()
356 static struct ureg negate( struct ureg reg ) in negate()
363 static struct ureg swizzle( struct ureg reg, int x, int y, int z, int w ) in swizzle()
373 static struct ureg swizzle1( struct ureg reg, int x ) in swizzle1()
379 static struct ureg get_temp( struct tnl_program *p ) in get_temp()
395 static struct ureg reserve_temp( struct tnl_program *p ) in reserve_temp()
397 struct ureg temp = get_temp( p ); in reserve_temp()
403 static void release_temp( struct tnl_program *p, struct ureg reg ) in release_temp()
417 static struct ureg register_param5(struct tnl_program *p, in register_param5()
446 static struct ureg register_input( struct tnl_program *p, GLuint input ) in register_input()
463 static struct ureg register_output( struct tnl_program *p, GLuint output ) in register_output()
470 static struct ureg register_const4f( struct tnl_program *p, in register_const4f()
494 static GLboolean is_undef( struct ureg reg ) in is_undef()
500 static struct ureg get_identity_param( struct tnl_program *p ) in get_identity_param()
514 struct ureg *matrix ) in register_matrix_param5()
527 struct ureg reg ) in emit_arg()
541 struct ureg reg, GLuint mask ) in emit_dst()
574 struct ureg dest, in emit_op3fn()
576 struct ureg src0, in emit_op3fn()
577 struct ureg src1, in emit_op3fn()
578 struct ureg src2, in emit_op3fn()
636 static struct ureg make_temp( struct tnl_program *p, struct ureg reg ) in make_temp()
642 struct ureg temp = get_temp(p); in make_temp()
654 struct ureg dest, in emit_matrix_transform_vec4()
655 const struct ureg *mat, in emit_matrix_transform_vec4()
656 struct ureg src) in emit_matrix_transform_vec4()
670 struct ureg dest, in emit_transpose_matrix_transform_vec4()
671 const struct ureg *mat, in emit_transpose_matrix_transform_vec4()
672 struct ureg src) in emit_transpose_matrix_transform_vec4()
674 struct ureg tmp; in emit_transpose_matrix_transform_vec4()
692 struct ureg dest, in emit_matrix_transform_vec3()
693 const struct ureg *mat, in emit_matrix_transform_vec3()
694 struct ureg src) in emit_matrix_transform_vec3()
703 struct ureg dest, in emit_normalize_vec3()
704 struct ureg src ) in emit_normalize_vec3()
710 struct ureg tmp = get_temp(p); in emit_normalize_vec3()
723 struct ureg out = register_output(p, output); in emit_passthrough()
728 static struct ureg get_eye_position( struct tnl_program *p ) in get_eye_position()
731 struct ureg pos = register_input( p, VERT_ATTRIB_POS ); in get_eye_position()
732 struct ureg modelview[4]; in get_eye_position()
754 static struct ureg get_eye_position_z( struct tnl_program *p ) in get_eye_position_z()
760 struct ureg pos = register_input( p, VERT_ATTRIB_POS ); in get_eye_position_z()
761 struct ureg modelview[4]; in get_eye_position_z()
775 static struct ureg get_eye_position_normalized( struct tnl_program *p ) in get_eye_position_normalized()
778 struct ureg eye = get_eye_position(p); in get_eye_position_normalized()
787 static struct ureg get_transformed_normal( struct tnl_program *p ) in get_transformed_normal()
798 struct ureg normal = register_input(p, VERT_ATTRIB_NORMAL ); in get_transformed_normal()
799 struct ureg mvinv[3]; in get_transformed_normal()
800 struct ureg transformed_normal = reserve_temp(p); in get_transformed_normal()
821 struct ureg rescale = register_param2(p, STATE_INTERNAL, in get_transformed_normal()
838 struct ureg pos = register_input( p, VERT_ATTRIB_POS ); in build_hpos()
839 struct ureg hpos = register_output( p, VERT_RESULT_HPOS ); in build_hpos()
840 struct ureg mvp[4]; in build_hpos()
878 static struct ureg get_material( struct tnl_program *p, GLuint side, in get_material()
911 static struct ureg get_scenecolor( struct tnl_program *p, GLuint side ) in get_scenecolor()
914 struct ureg lm_ambient = register_param1(p, STATE_LIGHTMODEL_AMBIENT); in get_scenecolor()
915 struct ureg material_emission = get_material(p, side, STATE_EMISSION); in get_scenecolor()
916 struct ureg material_ambient = get_material(p, side, STATE_AMBIENT); in get_scenecolor()
917 struct ureg material_diffuse = get_material(p, side, STATE_DIFFUSE); in get_scenecolor()
918 struct ureg tmp = make_temp(p, material_diffuse); in get_scenecolor()
928 static struct ureg get_lightprod( struct tnl_program *p, GLuint light, in get_lightprod()
933 struct ureg light_value = in get_lightprod()
935 struct ureg material_value = get_material(p, side, property); in get_lightprod()
936 struct ureg tmp = get_temp(p); in get_lightprod()
945 static struct ureg calculate_light_attenuation( struct tnl_program *p, in calculate_light_attenuation()
947 struct ureg VPpli, in calculate_light_attenuation()
948 struct ureg dist ) in calculate_light_attenuation()
950 struct ureg attenuation = register_param3(p, STATE_LIGHT, i, in calculate_light_attenuation()
952 struct ureg att = undef; in calculate_light_attenuation()
957 struct ureg spot_dir_norm = register_param3(p, STATE_INTERNAL, in calculate_light_attenuation()
959 struct ureg spot = get_temp(p); in calculate_light_attenuation()
960 struct ureg slt = get_temp(p); in calculate_light_attenuation()
1009 struct ureg lit, in emit_degenerate_lit()
1010 struct ureg dots ) in emit_degenerate_lit()
1012 struct ureg id = get_identity_param(p); /* id = {0,0,0,1} */ in emit_degenerate_lit()
1038 struct ureg normal = get_transformed_normal(p); in build_lighting()
1039 struct ureg lit = get_temp(p); in build_lighting()
1040 struct ureg dots = get_temp(p); in build_lighting()
1041 struct ureg _col0 = undef, _col1 = undef; in build_lighting()
1042 struct ureg _bfc0 = undef, _bfc1 = undef; in build_lighting()
1061 struct ureg shininess = get_material(p, 0, STATE_SHININESS); in build_lighting()
1078 struct ureg shininess = get_material(p, 1, STATE_SHININESS); in build_lighting()
1094 struct ureg res0 = register_output( p, VERT_RESULT_COL0 ); in build_lighting()
1099 struct ureg res1 = register_output( p, VERT_RESULT_COL1 ); in build_lighting()
1104 struct ureg res0 = register_output( p, VERT_RESULT_BFC0 ); in build_lighting()
1109 struct ureg res1 = register_output( p, VERT_RESULT_BFC1 ); in build_lighting()
1120 struct ureg half = undef; in build_lighting()
1121 struct ureg att = undef, VPpli = undef; in build_lighting()
1122 struct ureg dist = undef; in build_lighting()
1129 struct ureg Ppli = register_param3(p, STATE_INTERNAL, in build_lighting()
1131 struct ureg V = get_eye_position(p); in build_lighting()
1157 struct ureg eye_hat = get_eye_position_normalized(p); in build_lighting()
1165 struct ureg z_dir = swizzle(get_identity_param(p),X,Y,W,Z); in build_lighting()
1185 struct ureg ambient = get_lightprod(p, i, 0, STATE_AMBIENT); in build_lighting()
1186 struct ureg diffuse = get_lightprod(p, i, 0, STATE_DIFFUSE); in build_lighting()
1187 struct ureg specular = get_lightprod(p, i, 0, STATE_SPECULAR); in build_lighting()
1188 struct ureg res0, res1; in build_lighting()
1240 struct ureg ambient = get_lightprod(p, i, 1, STATE_AMBIENT); in build_lighting()
1241 struct ureg diffuse = get_lightprod(p, i, 1, STATE_DIFFUSE); in build_lighting()
1242 struct ureg specular = get_lightprod(p, i, 1, STATE_SPECULAR); in build_lighting()
1243 struct ureg res0, res1; in build_lighting()
1312 struct ureg fog = register_output(p, VERT_RESULT_FOGC); in build_fog()
1313 struct ureg input; in build_fog()
1346 struct ureg dest, in build_reflect_texgen()
1349 struct ureg normal = get_transformed_normal(p); in build_reflect_texgen()
1350 struct ureg eye_hat = get_eye_position_normalized(p); in build_reflect_texgen()
1351 struct ureg tmp = get_temp(p); in build_reflect_texgen()
1365 struct ureg dest, in build_sphere_texgen()
1368 struct ureg normal = get_transformed_normal(p); in build_sphere_texgen()
1369 struct ureg eye_hat = get_eye_position_normalized(p); in build_sphere_texgen()
1370 struct ureg tmp = get_temp(p); in build_sphere_texgen()
1371 struct ureg half = register_scalar_const(p, .5); in build_sphere_texgen()
1372 struct ureg r = get_temp(p); in build_sphere_texgen()
1373 struct ureg inv_m = get_temp(p); in build_sphere_texgen()
1374 struct ureg id = get_identity_param(p); in build_sphere_texgen()
1423 struct ureg out = register_output(p, VERT_RESULT_TEX0 + i); in build_texture_transform()
1424 struct ureg out_texgen = undef; in build_texture_transform()
1446 struct ureg obj = register_input(p, VERT_ATTRIB_POS); in build_texture_transform()
1447 struct ureg plane = in build_texture_transform()
1456 struct ureg eye = get_eye_position(p); in build_texture_transform()
1457 struct ureg plane = in build_texture_transform()
1488 struct ureg normal = get_transformed_normal(p); in build_texture_transform()
1493 struct ureg in = register_input(p, VERT_ATTRIB_TEX0+i); in build_texture_transform()
1499 struct ureg texmat[4]; in build_texture_transform()
1500 struct ureg in = (!is_undef(out_texgen) ? in build_texture_transform()
1529 struct ureg eye = get_eye_position_z(p); in build_atten_pointsize()
1530 struct ureg state_size = register_param2(p, STATE_INTERNAL, STATE_POINT_SIZE_CLAMPED); in build_atten_pointsize()
1531 struct ureg state_attenuation = register_param1(p, STATE_POINT_ATTENUATION); in build_atten_pointsize()
1532 struct ureg out = register_output(p, VERT_RESULT_PSIZ); in build_atten_pointsize()
1533 struct ureg ut = get_temp(p); in build_atten_pointsize()
1567 struct ureg in = register_input(p, VERT_ATTRIB_POINT_SIZE); in build_array_pointsize()
1568 struct ureg out = register_output(p, VERT_RESULT_PSIZ); in build_array_pointsize()