/third_party/mesa3d/src/gallium/auxiliary/draw/ |
H A D | draw_pt_post_vs.c | 144 ASSIGN_4V( pvs->draw->plane[0], -1, 0, 0, 1 ); in draw_pt_post_vs_prepare() 145 ASSIGN_4V( pvs->draw->plane[1], 1, 0, 0, 1 ); in draw_pt_post_vs_prepare() 146 ASSIGN_4V( pvs->draw->plane[2], 0, -1, 0, 1 ); in draw_pt_post_vs_prepare() 147 ASSIGN_4V( pvs->draw->plane[3], 0, 1, 0, 1 ); in draw_pt_post_vs_prepare() 151 ASSIGN_4V( pvs->draw->plane[0], -0.5, 0, 0, 1 ); in draw_pt_post_vs_prepare() 152 ASSIGN_4V( pvs->draw->plane[1], 0.5, 0, 0, 1 ); in draw_pt_post_vs_prepare() 153 ASSIGN_4V( pvs->draw->plane[2], 0, -0.5, 0, 1 ); in draw_pt_post_vs_prepare() 154 ASSIGN_4V( pvs->draw->plane[3], 0, 0.5, 0, 1 ); in draw_pt_post_vs_prepare() 160 ASSIGN_4V( pvs->draw->plane[4], 0, 0, 1, 0 ); in draw_pt_post_vs_prepare() 163 ASSIGN_4V( pv in draw_pt_post_vs_prepare() [all...] |
H A D | draw_context.c | 149 ASSIGN_4V( draw->plane[0], -1, 0, 0, 1 ); in draw_init() 150 ASSIGN_4V( draw->plane[1], 1, 0, 0, 1 ); in draw_init() 151 ASSIGN_4V( draw->plane[2], 0, -1, 0, 1 ); in draw_init() 152 ASSIGN_4V( draw->plane[3], 0, 1, 0, 1 ); in draw_init() 153 ASSIGN_4V( draw->plane[4], 0, 0, 1, 1 ); /* yes these are correct */ in draw_init() 154 ASSIGN_4V( draw->plane[5], 0, 0, -1, 1 ); /* mesa's a bit wonky */ in draw_init()
|
H A D | draw_pipe_aapoint.c | 545 ASSIGN_4V(tex, -1, -1, k, 1); in aapoint_point() 548 ASSIGN_4V(tex, 1, -1, k, 1); in aapoint_point() 551 ASSIGN_4V(tex, 1, 1, k, 1); in aapoint_point() 554 ASSIGN_4V(tex, -1, 1, k, 1); in aapoint_point()
|
H A D | draw_pipe_aaline.c | 464 ASSIGN_4V(tex, -half_width, half_width, -half_length, half_length); in aaline_line() 467 ASSIGN_4V(tex, half_width, half_width, -half_length, half_length); in aaline_line() 470 ASSIGN_4V(tex, -half_width, half_width, half_length, half_length); in aaline_line() 473 ASSIGN_4V(tex, half_width, half_width, half_length, half_length); in aaline_line()
|
/third_party/mesa3d/src/mesa/main/ |
H A D | light.c | 575 ASSIGN_4V(fparam, 0.0F, 0.0F, 0.0F, 0.0F); in _mesa_LightModeliv() 1185 ASSIGN_4V( lu->Ambient, 0.0, 0.0, 0.0, 1.0 ); in init_light() 1187 ASSIGN_4V( lu->Diffuse, 1.0, 1.0, 1.0, 1.0 ); in init_light() 1188 ASSIGN_4V( lu->Specular, 1.0, 1.0, 1.0, 1.0 ); in init_light() 1191 ASSIGN_4V( lu->Diffuse, 0.0, 0.0, 0.0, 1.0 ); in init_light() 1192 ASSIGN_4V( lu->Specular, 0.0, 0.0, 0.0, 1.0 ); in init_light() 1194 ASSIGN_4V( lu->EyePosition, 0.0, 0.0, 1.0, 0.0 ); in init_light() 1214 ASSIGN_4V( lm->Ambient, 0.2F, 0.2F, 0.2F, 1.0F ); in init_lightmodel() 1229 ASSIGN_4V( m->Attrib[MAT_ATTRIB_FRONT_AMBIENT], 0.2F, 0.2F, 0.2F, 1.0F ); in init_material() 1230 ASSIGN_4V( in init_material() [all...] |
H A D | texstate.c | 1070 ASSIGN_4V( texUnit->EnvColor, 0.0, 0.0, 0.0, 0.0 ); in _mesa_init_texture() 1087 ASSIGN_4V( texUnit->ObjectPlane[GEN_S], 1.0, 0.0, 0.0, 0.0 ); in _mesa_init_texture() 1088 ASSIGN_4V( texUnit->ObjectPlane[GEN_T], 0.0, 1.0, 0.0, 0.0 ); in _mesa_init_texture() 1089 ASSIGN_4V( texUnit->ObjectPlane[GEN_R], 0.0, 0.0, 0.0, 0.0 ); in _mesa_init_texture() 1090 ASSIGN_4V( texUnit->ObjectPlane[GEN_Q], 0.0, 0.0, 0.0, 0.0 ); in _mesa_init_texture() 1091 ASSIGN_4V( texUnit->EyePlane[GEN_S], 1.0, 0.0, 0.0, 0.0 ); in _mesa_init_texture() 1092 ASSIGN_4V( texUnit->EyePlane[GEN_T], 0.0, 1.0, 0.0, 0.0 ); in _mesa_init_texture() 1093 ASSIGN_4V( texUnit->EyePlane[GEN_R], 0.0, 0.0, 0.0, 0.0 ); in _mesa_init_texture() 1094 ASSIGN_4V( texUnit->EyePlane[GEN_Q], 0.0, 0.0, 0.0, 0.0 ); in _mesa_init_texture()
|
H A D | fog.c | 76 ASSIGN_4V(p, 0.0F, 0.0F, 0.0F, 0.0F); in _mesa_Fogiv() 206 ASSIGN_4V( ctx->Fog.Color, 0.0, 0.0, 0.0, 0.0 ); in _mesa_init_fog() 207 ASSIGN_4V( ctx->Fog.ColorUnclamped, 0.0, 0.0, 0.0, 0.0 ); in _mesa_init_fog()
|
H A D | macros.h | 324 ASSIGN_4V( DST, 0, 0, 0, 1 ); \ 643 ASSIGN_4V(dst, FLOAT_AS_UNION(0), FLOAT_AS_UNION(0), in COPY_CLEAN_4V_TYPE_AS_UNION() 647 ASSIGN_4V(dst, INT_AS_UNION(0), INT_AS_UNION(0), in COPY_CLEAN_4V_TYPE_AS_UNION() 651 ASSIGN_4V(dst, UINT_AS_UNION(0), UINT_AS_UNION(0), in COPY_CLEAN_4V_TYPE_AS_UNION() 655 ASSIGN_4V(dst, FLOAT_AS_UNION(0), FLOAT_AS_UNION(0), in COPY_CLEAN_4V_TYPE_AS_UNION()
|
H A D | rastpos.c | 156 ASSIGN_4V(specularColor, 0.0, 0.0, 0.0, 1.0); in shade_rastpos() 983 ASSIGN_4V( ctx->Current.RasterPos, 0.0, 0.0, 0.0, 1.0 ); in _mesa_init_rastpos() 985 ASSIGN_4V( ctx->Current.RasterColor, 1.0, 1.0, 1.0, 1.0 ); in _mesa_init_rastpos() 986 ASSIGN_4V( ctx->Current.RasterSecondaryColor, 0.0, 0.0, 0.0, 1.0 ); in _mesa_init_rastpos() 988 ASSIGN_4V( ctx->Current.RasterTexCoords[i], 0.0, 0.0, 0.0, 1.0 ); in _mesa_init_rastpos()
|
H A D | context.c | 286 ASSIGN_4V( ctx->Current.Attrib[i], 0.0, 0.0, 0.0, 1.0 ); in _mesa_init_current() 290 ASSIGN_4V( ctx->Current.Attrib[VERT_ATTRIB_NORMAL], 0.0, 0.0, 1.0, 1.0 ); in _mesa_init_current() 291 ASSIGN_4V( ctx->Current.Attrib[VERT_ATTRIB_COLOR0], 1.0, 1.0, 1.0, 1.0 ); in _mesa_init_current() 292 ASSIGN_4V( ctx->Current.Attrib[VERT_ATTRIB_COLOR1], 0.0, 0.0, 0.0, 1.0 ); in _mesa_init_current() 293 ASSIGN_4V( ctx->Current.Attrib[VERT_ATTRIB_COLOR_INDEX], 1.0, 0.0, 0.0, 1.0 ); in _mesa_init_current() 294 ASSIGN_4V( ctx->Current.Attrib[VERT_ATTRIB_EDGEFLAG], 1.0, 0.0, 0.0, 1.0 ); in _mesa_init_current()
|
H A D | blend.c | 1183 ASSIGN_4V( ctx->Color.ClearColor.f, 0, 0, 0, 0 ); in _mesa_init_color() 1196 ASSIGN_4V( ctx->Color.BlendColor, 0.0, 0.0, 0.0, 0.0 ); in _mesa_init_color() 1197 ASSIGN_4V( ctx->Color.BlendColorUnclamped, 0.0, 0.0, 0.0, 0.0 ); in _mesa_init_color()
|
H A D | arbprogram.c | 540 ASSIGN_4V(param, x, y, z, w); in _mesa_ProgramEnvParameter4fARB() 650 ASSIGN_4V(param, x, y, z, w); in _mesa_ProgramLocalParameter4fARB() 675 ASSIGN_4V(param, x, y, z, w); in _mesa_NamedProgramLocalParameter4fEXT()
|
H A D | accum.c | 449 ASSIGN_4V( ctx->Accum.ClearColor, 0.0, 0.0, 0.0, 0.0 ); in _mesa_init_accum()
|
H A D | matrix.c | 1094 ASSIGN_4V( ctx->Transform.EyeUserPlane[i], 0.0, 0.0, 0.0, 0.0 ); in _mesa_init_transform()
|
H A D | dlist.c | 2745 ASSIGN_4V(p, 0.0F, 0.0F, 0.0F, 0.0F); in save_Fogiv() 3009 ASSIGN_4V(fparam, 0.0F, 0.0F, 0.0F, 0.0F); in save_LightModeliv() 6149 ASSIGN_4V(ctx->ListState.CurrentAttrib[index], x, y, z, w); in save_Attr32bit()
|
/third_party/mesa3d/src/mesa/vbo/ |
H A D | vbo_exec_eval.c | 137 ASSIGN_4V(data, FLOAT_AS_UNION(0), FLOAT_AS_UNION(0), in vbo_exec_do_EvalCoord1f() 157 ASSIGN_4V(vertex, 0, 0, 0, 1); in vbo_exec_do_EvalCoord1f() 185 ASSIGN_4V(data, FLOAT_AS_UNION(0), FLOAT_AS_UNION(0), in vbo_exec_do_EvalCoord2f() 208 ASSIGN_4V(vertex, 0, 0, 0, 1); in vbo_exec_do_EvalCoord2f()
|
/third_party/mesa3d/src/mesa/math/ |
H A D | m_debug_xform.c | 215 ASSIGN_4V( d[i], 0.0, 0.0, 0.0, 1.0 ); in test_transform_function() 216 ASSIGN_4V( s[i], 0.0, 0.0, 0.0, 1.0 ); in test_transform_function()
|
H A D | m_debug_clip.c | 249 ASSIGN_4V( d[i], 0.0, 0.0, 0.0, 1.0 ); in test_cliptest_function() 250 ASSIGN_4V( s[i], 0.0, 0.0, 0.0, 1.0 ); in test_cliptest_function()
|
/third_party/mesa3d/src/util/ |
H A D | u_math.h | 746 #ifndef ASSIGN_4V 747 #define ASSIGN_4V( DST, V0, V1, V2, V3 ) \ macro
|
/third_party/mesa3d/src/mesa/program/ |
H A D | prog_statevars.c | 554 ASSIGN_4V(value, ctx->_ModelViewInvScaleEyespace, 0, 0, 1); in fetch_state() 581 ASSIGN_4V(value, in fetch_state()
|