Home
last modified time | relevance | path

Searched refs:ASSIGN_4V (Results 1 – 25 of 33) sorted by relevance

12

/external/mesa3d/src/gallium/auxiliary/draw/
Ddraw_pt_post_vs.c142 ASSIGN_4V( pvs->draw->plane[0], -1, 0, 0, 1 ); in draw_pt_post_vs_prepare()
143 ASSIGN_4V( pvs->draw->plane[1], 1, 0, 0, 1 ); in draw_pt_post_vs_prepare()
144 ASSIGN_4V( pvs->draw->plane[2], 0, -1, 0, 1 ); in draw_pt_post_vs_prepare()
145 ASSIGN_4V( pvs->draw->plane[3], 0, 1, 0, 1 ); in draw_pt_post_vs_prepare()
149 ASSIGN_4V( pvs->draw->plane[0], -0.5, 0, 0, 1 ); in draw_pt_post_vs_prepare()
150 ASSIGN_4V( pvs->draw->plane[1], 0.5, 0, 0, 1 ); in draw_pt_post_vs_prepare()
151 ASSIGN_4V( pvs->draw->plane[2], 0, -0.5, 0, 1 ); in draw_pt_post_vs_prepare()
152 ASSIGN_4V( pvs->draw->plane[3], 0, 0.5, 0, 1 ); in draw_pt_post_vs_prepare()
157 ASSIGN_4V( pvs->draw->plane[4], 0, 0, 1, 1 ); in draw_pt_post_vs_prepare()
162 ASSIGN_4V( pvs->draw->plane[4], 0, 0, 1, 0 ); in draw_pt_post_vs_prepare()
Ddraw_context.c129 ASSIGN_4V( draw->plane[0], -1, 0, 0, 1 ); in draw_init()
130 ASSIGN_4V( draw->plane[1], 1, 0, 0, 1 ); in draw_init()
131 ASSIGN_4V( draw->plane[2], 0, -1, 0, 1 ); in draw_init()
132 ASSIGN_4V( draw->plane[3], 0, 1, 0, 1 ); in draw_init()
133 ASSIGN_4V( draw->plane[4], 0, 0, 1, 1 ); /* yes these are correct */ in draw_init()
134 ASSIGN_4V( draw->plane[5], 0, 0, -1, 1 ); /* mesa's a bit wonky */ in draw_init()
Ddraw_pipe_aaline.c627 ASSIGN_4V(tex, 0, 0, 0, 1); in aaline_line()
630 ASSIGN_4V(tex, 0, 1, 0, 1); in aaline_line()
633 ASSIGN_4V(tex, .5, 0, 0, 1); in aaline_line()
636 ASSIGN_4V(tex, .5, 1, 0, 1); in aaline_line()
639 ASSIGN_4V(tex, .5, 0, 0, 1); in aaline_line()
642 ASSIGN_4V(tex, .5, 1, 0, 1); in aaline_line()
645 ASSIGN_4V(tex, 1, 0, 0, 1); in aaline_line()
648 ASSIGN_4V(tex, 1, 1, 0, 1); in aaline_line()
Ddraw_pipe_aapoint.c654 ASSIGN_4V(tex, -1, -1, k, 1); in aapoint_point()
657 ASSIGN_4V(tex, 1, -1, k, 1); in aapoint_point()
660 ASSIGN_4V(tex, 1, 1, k, 1); in aapoint_point()
663 ASSIGN_4V(tex, -1, 1, k, 1); in aapoint_point()
/external/mesa3d/src/mesa/main/
Dlight.c539 ASSIGN_4V(fparam, 0.0F, 0.0F, 0.0F, 0.0F); in _mesa_LightModeliv()
1125 ASSIGN_4V( l->Ambient, 0.0, 0.0, 0.0, 1.0 ); in init_light()
1127 ASSIGN_4V( l->Diffuse, 1.0, 1.0, 1.0, 1.0 ); in init_light()
1128 ASSIGN_4V( l->Specular, 1.0, 1.0, 1.0, 1.0 ); in init_light()
1131 ASSIGN_4V( l->Diffuse, 0.0, 0.0, 0.0, 1.0 ); in init_light()
1132 ASSIGN_4V( l->Specular, 0.0, 0.0, 0.0, 1.0 ); in init_light()
1134 ASSIGN_4V( l->EyePosition, 0.0, 0.0, 1.0, 0.0 ); in init_light()
1154 ASSIGN_4V( lm->Ambient, 0.2F, 0.2F, 0.2F, 1.0F ); in init_lightmodel()
1169 ASSIGN_4V( m->Attrib[MAT_ATTRIB_FRONT_AMBIENT], 0.2F, 0.2F, 0.2F, 1.0F ); in init_material()
1170 ASSIGN_4V( m->Attrib[MAT_ATTRIB_FRONT_DIFFUSE], 0.8F, 0.8F, 0.8F, 1.0F ); in init_material()
[all …]
Dtexstate.c754 ASSIGN_4V( texUnit->EnvColor, 0.0, 0.0, 0.0, 0.0 ); in init_texture_unit()
772 ASSIGN_4V( texUnit->GenS.ObjectPlane, 1.0, 0.0, 0.0, 0.0 ); in init_texture_unit()
773 ASSIGN_4V( texUnit->GenT.ObjectPlane, 0.0, 1.0, 0.0, 0.0 ); in init_texture_unit()
774 ASSIGN_4V( texUnit->GenR.ObjectPlane, 0.0, 0.0, 0.0, 0.0 ); in init_texture_unit()
775 ASSIGN_4V( texUnit->GenQ.ObjectPlane, 0.0, 0.0, 0.0, 0.0 ); in init_texture_unit()
776 ASSIGN_4V( texUnit->GenS.EyePlane, 1.0, 0.0, 0.0, 0.0 ); in init_texture_unit()
777 ASSIGN_4V( texUnit->GenT.EyePlane, 0.0, 1.0, 0.0, 0.0 ); in init_texture_unit()
778 ASSIGN_4V( texUnit->GenR.EyePlane, 0.0, 0.0, 0.0, 0.0 ); in init_texture_unit()
779 ASSIGN_4V( texUnit->GenQ.EyePlane, 0.0, 0.0, 0.0, 0.0 ); in init_texture_unit()
782 ASSIGN_4V( texUnit->RotMatrix, 1.0, 0.0, 0.0, 1.0 ); in init_texture_unit()
Dfog.c76 ASSIGN_4V(p, 0.0F, 0.0F, 0.0F, 0.0F); in _mesa_Fogiv()
215 ASSIGN_4V( ctx->Fog.Color, 0.0, 0.0, 0.0, 0.0 ); in _mesa_init_fog()
216 ASSIGN_4V( ctx->Fog.ColorUnclamped, 0.0, 0.0, 0.0, 0.0 ); in _mesa_init_fog()
Dmacros.h272 ASSIGN_4V( DST, 0, 0, 0, 1 ); \
349 #define ASSIGN_4V( V, V0, V1, V2, V3 ) \ macro
600 ASSIGN_4V(dst, 0, 0, 0, 1); in COPY_CLEAN_4V_TYPE_AS_FLOAT()
603 ASSIGN_4V(dst, INT_AS_FLT(0), INT_AS_FLT(0), in COPY_CLEAN_4V_TYPE_AS_FLOAT()
607 ASSIGN_4V(dst, UINT_AS_FLT(0), UINT_AS_FLT(0), in COPY_CLEAN_4V_TYPE_AS_FLOAT()
Drastpos.c557 ASSIGN_4V( ctx->Current.RasterPos, 0.0, 0.0, 0.0, 1.0 ); in _mesa_init_rastpos()
559 ASSIGN_4V( ctx->Current.RasterColor, 1.0, 1.0, 1.0, 1.0 ); in _mesa_init_rastpos()
560 ASSIGN_4V( ctx->Current.RasterSecondaryColor, 0.0, 0.0, 0.0, 1.0 ); in _mesa_init_rastpos()
562 ASSIGN_4V( ctx->Current.RasterTexCoords[i], 0.0, 0.0, 0.0, 1.0 ); in _mesa_init_rastpos()
Dcontext.c460 ASSIGN_4V( ctx->Current.Attrib[i], 0.0, 0.0, 0.0, 1.0 ); in _mesa_init_current()
464 ASSIGN_4V( ctx->Current.Attrib[VERT_ATTRIB_WEIGHT], 1.0, 0.0, 0.0, 0.0 ); in _mesa_init_current()
465 ASSIGN_4V( ctx->Current.Attrib[VERT_ATTRIB_NORMAL], 0.0, 0.0, 1.0, 1.0 ); in _mesa_init_current()
466 ASSIGN_4V( ctx->Current.Attrib[VERT_ATTRIB_COLOR0], 1.0, 1.0, 1.0, 1.0 ); in _mesa_init_current()
467 ASSIGN_4V( ctx->Current.Attrib[VERT_ATTRIB_COLOR1], 0.0, 0.0, 0.0, 1.0 ); in _mesa_init_current()
468 ASSIGN_4V( ctx->Current.Attrib[VERT_ATTRIB_COLOR_INDEX], 1.0, 0.0, 0.0, 1.0 ); in _mesa_init_current()
469 ASSIGN_4V( ctx->Current.Attrib[VERT_ATTRIB_EDGEFLAG], 1.0, 0.0, 0.0, 1.0 ); in _mesa_init_current()
Dmatrix.c779 ASSIGN_4V( ctx->Transform.EyeUserPlane[i], 0.0, 0.0, 0.0, 0.0 ); in _mesa_init_transform()
783 ASSIGN_4V( ctx->Transform.CullObjPos, 0.0, 0.0, 1.0, 0.0 ); in _mesa_init_transform()
784 ASSIGN_4V( ctx->Transform.CullEyePos, 0.0, 0.0, 1.0, 0.0 ); in _mesa_init_transform()
Dblend.c830 ASSIGN_4V( ctx->Color.ClearColor.f, 0, 0, 0, 0 ); in _mesa_init_color()
843 ASSIGN_4V( ctx->Color.BlendColor, 0.0, 0.0, 0.0, 0.0 ); in _mesa_init_color()
844 ASSIGN_4V( ctx->Color.BlendColorUnclamped, 0.0, 0.0, 0.0, 0.0 ); in _mesa_init_color()
Darbprogram.c460 ASSIGN_4V(param, x, y, z, w); in _mesa_ProgramEnvParameter4fARB()
576 ASSIGN_4V(param, x, y, z, w); in _mesa_ProgramLocalParameter4fARB()
/external/mesa3d/src/mesa/vbo/
Dvbo_exec_eval.c152 ASSIGN_4V(data, 0, 0, 0, 1); in vbo_exec_do_EvalCoord1f()
171 ASSIGN_4V(vertex, 0, 0, 0, 1); in vbo_exec_do_EvalCoord1f()
198 ASSIGN_4V(data, 0, 0, 0, 1); in vbo_exec_do_EvalCoord2f()
220 ASSIGN_4V(vertex, 0, 0, 0, 1); in vbo_exec_do_EvalCoord2f()
/external/mesa3d/src/mesa/swrast/
Ds_points.c185 ASSIGN_4V(span.attrStepX[attr], 0, 0, 0, 0); in sprite_point()
186 ASSIGN_4V(span.attrStepY[attr], 0, 0, 0, 0); in sprite_point()
298 ASSIGN_4V(span.attrStepX[attr], 0, 0, 0, 0); in smooth_point()
299 ASSIGN_4V(span.attrStepY[attr], 0, 0, 0, 0); in smooth_point()
402 ASSIGN_4V(span.attrStepX[attr], 0, 0, 0, 0); in large_point()
403 ASSIGN_4V(span.attrStepY[attr], 0, 0, 0, 0); in large_point()
Ds_fragprog.c97 ASSIGN_4V(color, 0.0F, 0.0F, 0.0F, 1.0F); in fetch_texel_lod()
146 ASSIGN_4V(color, 0.0F, 0.0F, 0.0F, 1.0F); in fetch_texel_deriv()
Ds_span.c109 ASSIGN_4V(span->attrStepX[FRAG_ATTRIB_COL0], 0.0, 0.0, 0.0, 0.0); in _swrast_span_default_attribs()
110 ASSIGN_4V(span->attrStepY[FRAG_ATTRIB_COL0], 0.0, 0.0, 0.0, 0.0); in _swrast_span_default_attribs()
116 ASSIGN_4V(span->attrStepX[FRAG_ATTRIB_COL1], 0.0, 0.0, 0.0, 0.0); in _swrast_span_default_attribs()
117 ASSIGN_4V(span->attrStepY[FRAG_ATTRIB_COL1], 0.0, 0.0, 0.0, 0.0); in _swrast_span_default_attribs()
155 ASSIGN_4V(span->attrStart[attr], 0.0F, 0.0F, 0.0F, 1.0F); in _swrast_span_default_attribs()
157 ASSIGN_4V(span->attrStepX[attr], 0.0F, 0.0F, 0.0F, 0.0F); in _swrast_span_default_attribs()
158 ASSIGN_4V(span->attrStepY[attr], 0.0F, 0.0F, 0.0F, 0.0F); in _swrast_span_default_attribs()
345 ASSIGN_4V(col0[i], r, g, b, a); in interpolate_float_colors()
Ds_linetemp.h273 ASSIGN_4V(span.attrStepX[attr], 0.0, 0.0, 0.0, 0.0); in NAME()
284 ASSIGN_4V(span.attrStepY[attr], 0.0, 0.0, 0.0, 0.0); in NAME()
Ds_texcombine.c162 ASSIGN_4V(c[i], red, green, blue, alpha); in texture_combine()
173 ASSIGN_4V(c[i], 0.0F, 0.0F, 0.0F, 0.0F); in texture_combine()
182 ASSIGN_4V(c[i], 1.0F, 1.0F, 1.0F, 1.0F); in texture_combine()
/external/mesa3d/src/mesa/tnl/
Dt_vb_program.c238 ASSIGN_4V(machine->Outputs[i], 0.0F, 0.0F, 0.0F, 1.0F); in init_machine()
242 ASSIGN_4V(machine->Temporaries[i], 0.0F, 0.0F, 0.0F, 0.0F); in init_machine()
245 ASSIGN_4V(machine->AddressReg[i], 0, 0, 0, 0); in init_machine()
/external/mesa3d/src/mesa/math/
Dm_debug_xform.c216 ASSIGN_4V( d[i], 0.0, 0.0, 0.0, 1.0 ); in test_transform_function()
217 ASSIGN_4V( s[i], 0.0, 0.0, 0.0, 1.0 ); in test_transform_function()
Dm_debug_clip.c249 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()
/external/mesa3d/src/gallium/auxiliary/util/
Du_math.h743 #ifndef ASSIGN_4V
744 #define ASSIGN_4V( DST, V0, V1, V2, V3 ) \ macro
/external/mesa3d/src/mesa/program/
Dnvfragparse.c503 ASSIGN_4V(vec, 0.0, 0.0, 0.0, 1.0); in Parse_VectorConstant()
633 ASSIGN_4V(swizzle, 0, 0, 0, 0); in Parse_SwizzleSuffix()
635 ASSIGN_4V(swizzle, 1, 1, 1, 1); in Parse_SwizzleSuffix()
637 ASSIGN_4V(swizzle, 2, 2, 2, 2); in Parse_SwizzleSuffix()
639 ASSIGN_4V(swizzle, 3, 3, 3, 3); in Parse_SwizzleSuffix()
Dprog_statevars.c397 ASSIGN_4V(value, ctx->_ModelViewInvScale, 0, 0, 1); in _mesa_fetch_state()
426 ASSIGN_4V(value, in _mesa_fetch_state()
443 ASSIGN_4V(value, in _mesa_fetch_state()

12