Searched refs:v1 (Results 1 - 25 of 394) sorted by relevance

1234567891011>>

/xsrc/external/mit/MesaLib.old/dist/src/gtest/include/gtest/
H A Dgtest_pred_impl.h46 // ASSERT_PRED_FORMAT1(pred_format, v1)
47 // ASSERT_PRED_FORMAT2(pred_format, v1, v2)
58 // ASSERT_PRED1(pred, v1)
59 // ASSERT_PRED2(pred, v1, v2)
63 // and the values v1, v2, ..., must support the << operator for
90 const T1& v1) {
91 if (pred(v1)) return AssertionSuccess();
95 << "\n" << e1 << " evaluates to " << v1;
100 #define GTEST_PRED_FORMAT1_(pred_format, v1, on_failure)\
101 GTEST_ASSERT_(pred_format(#v1, v
87 AssertPred1Helper(const char * pred_text,const char * e1,Pred pred,const T1 & v1) argument
129 AssertPred2Helper(const char * pred_text,const char * e1,const char * e2,Pred pred,const T1 & v1,const T2 & v2) argument
178 AssertPred3Helper(const char * pred_text,const char * e1,const char * e2,const char * e3,Pred pred,const T1 & v1,const T2 & v2,const T3 & v3) argument
234 AssertPred4Helper(const char * pred_text,const char * e1,const char * e2,const char * e3,const char * e4,Pred pred,const T1 & v1,const T2 & v2,const T3 & v3,const T4 & v4) argument
297 AssertPred5Helper(const char * pred_text,const char * e1,const char * e2,const char * e3,const char * e4,const char * e5,Pred pred,const T1 & v1,const T2 & v2,const T3 & v3,const T4 & v4,const T5 & v5) argument
[all...]
/xsrc/external/mit/MesaLib/dist/src/gtest/include/gtest/
H A Dgtest_pred_impl.h46 // ASSERT_PRED_FORMAT1(pred_format, v1)
47 // ASSERT_PRED_FORMAT2(pred_format, v1, v2)
58 // ASSERT_PRED1(pred, v1)
59 // ASSERT_PRED2(pred, v1, v2)
63 // and the values v1, v2, ..., must support the << operator for
90 const T1& v1) {
91 if (pred(v1)) return AssertionSuccess();
96 << e1 << " evaluates to " << ::testing::PrintToString(v1);
101 #define GTEST_PRED_FORMAT1_(pred_format, v1, on_failure)\
102 GTEST_ASSERT_(pred_format(#v1, v
87 AssertPred1Helper(const char * pred_text,const char * e1,Pred pred,const T1 & v1) argument
130 AssertPred2Helper(const char * pred_text,const char * e1,const char * e2,Pred pred,const T1 & v1,const T2 & v2) argument
180 AssertPred3Helper(const char * pred_text,const char * e1,const char * e2,const char * e3,Pred pred,const T1 & v1,const T2 & v2,const T3 & v3) argument
236 AssertPred4Helper(const char * pred_text,const char * e1,const char * e2,const char * e3,const char * e4,Pred pred,const T1 & v1,const T2 & v2,const T3 & v3,const T4 & v4) argument
298 AssertPred5Helper(const char * pred_text,const char * e1,const char * e2,const char * e3,const char * e4,const char * e5,Pred pred,const T1 & v1,const T2 & v2,const T3 & v3,const T4 & v4,const T5 & v5) argument
[all...]
/xsrc/external/mit/libXmu/dist/src/
H A DAllCmap.c97 XVisualInfo template, *vinfo, *v1, *v2; local in function:XmuAllStandardColormaps
109 v1 = getDeepestVisual(DirectColor, vinfo, nvisuals);
113 (!v1 || (v2->colormap_size >= (long)
114 ((v1->red_mask | v1->green_mask | v1->blue_mask) + 1))))
117 else if (v1)
118 status = XmuVisualStandardColormaps(dpy, scr, v1->visualid,
119 (unsigned) v1->depth, 1, 1);
122 if (((v1
[all...]
/xsrc/external/mit/MesaLib/dist/src/gallium/targets/d3d10sw/tests/
H A Dtri_ps_4_0.h26 dcl_input_ps linear v1.xyzw
28 mov o0.xyzw, v1.xyzw
H A Dtri_vs_4_0.h28 dcl_input v1.xyzw
32 mov o1.xyzw, v1.xyzw
/xsrc/external/mit/xorg-server.old/dist/hw/dmx/glxProxy/
H A Dglxvisuals.c38 int glxVisualsMatch( __GLXvisualConfig *v1, __GLXvisualConfig *v2 ) argument
40 if ( (v1->class == v2->class) &&
41 (v1->rgba == v2->rgba) &&
42 (v1->redSize == v2->redSize) &&
43 (v1->greenSize == v2->greenSize) &&
44 (v1->blueSize == v2->blueSize) &&
45 (v1->alphaSize == v2->alphaSize) &&
46 (v1->redMask == v2->redMask) &&
47 (v1->greenMask == v2->greenMask) &&
48 (v1
[all...]
/xsrc/external/mit/MesaLib/dist/src/amd/compiler/tests/
H A Dtest_builder.cpp30 //>> v1: %a, v1: %b, s1: %c, s1: %d = p_startpgm
31 if (!setup_cs("v1 v1 s1 s1", (chip_class)i))
37 writeout(0, bld.v_mul_imm(bld.def(v1), inputs[0], 0));
40 writeout(1, bld.v_mul_imm(bld.def(v1), inputs[0], 1));
42 //! v1: %res2 = v_lshlrev_b32 2, %a
44 writeout(2, bld.v_mul_imm(bld.def(v1), inputs[0], 4));
46 //! v1: %res3 = v_lshlrev_b32 31, %a
48 writeout(3, bld.v_mul_imm(bld.def(v1), input
[all...]
H A Dtest_sdwa.cpp31 //>> v1: %a, v1: %b, s1: %c, s1: %d = p_startpgm
32 if (!setup_cs("v1 v1 s1 s1", (chip_class)i))
37 SDWA_instruction *sdwa = &bld.vop2_sdwa(aco_opcode::v_mul_f32, bld.def(v1), inputs[0], inputs[1]).instr->sdwa();
42 sdwa = &bld.vop2_sdwa(aco_opcode::v_mul_f32, bld.def(v1), inputs[0], inputs[1]).instr->sdwa();
52 //>> v1: %a, v1: %b, s1: %c, s1: %d = p_startpgm
53 if (!setup_cs("v1 v1 s
[all...]
H A Dtest_optimizer.cpp30 //>> v1: %a, v1: %b, s1: %c, s1: %d = p_startpgm
31 if (!setup_cs("v1 v1 s1 s1", (chip_class)i))
34 //! v1: %res0 = v_mul_f32 %a, -%b
37 writeout(0, bld.vop2(aco_opcode::v_mul_f32, bld.def(v1), inputs[0], neg_b));
39 //~gfx9! v1: %neg_a = v_mul_f32 -1.0, %a
40 //~gfx9! v1: %res1 = v_mul_f32 0x123456, %neg_a
41 //~gfx10! v1: %res1 = v_mul_f32 0x123456, -%a
44 writeout(1, bld.vop2(aco_opcode::v_mul_f32, bld.def(v1), Operan
[all...]
H A Dtest_insert_nops.cpp30 bld.mubuf(aco_opcode::buffer_load_dword, Definition(PhysReg(256), v1), Operand(PhysReg(0), s4),
31 Operand(PhysReg(256), v1), Operand::zero(), offset, true);
38 mimg->definitions[0] = Definition(PhysReg(256), v1);
41 mimg->operands[2] = Operand(v1);
43 mimg->operands[3 + i] = Operand(PhysReg(256 + (nsa ? i * 2 : i)), v1);
58 //! v1: %0:v[0] = image_sample %0:s[0-7], %0:s[0-3], v1: undef, %0:v[0], %0:v[2], %0:v[4], %0:v[6], %0:v[8], %0:v[10] 2d storage: semantics: scope:invocation
59 //! v1: %0:v[0] = buffer_load_dword %0:s[0-3], %0:v[0], 0 offset:8 offen storage: semantics: scope:invocation
66 //! v1: %0:v[0] = image_sample %0:s[0-7], %0:s[0-3], v1
[all...]
/xsrc/external/mit/MesaLib.old/dist/src/mesa/swrast/
H A Ds_feedback.h37 const SWvertex *v1, const SWvertex *v2 );
40 const SWvertex *v1, const SWvertex *v2 );
45 const SWvertex *v1, const SWvertex *v2 );
48 const SWvertex *v1, const SWvertex *v2 );
H A Ds_lines.h38 const SWvertex *v1 );
H A Ds_triangle.h37 const SWvertex *v1,
46 const SWvertex *v1,
H A Ds_feedback.c56 const SWvertex *v1, const SWvertex *v2)
58 if (!_swrast_culltriangle(ctx, v0, v1, v2)) {
64 feedback_vertex(ctx, v1, v1);
69 feedback_vertex(ctx, v1, v2);
78 const SWvertex *v1)
90 feedback_vertex(ctx, v1, v1);
93 feedback_vertex(ctx, v0, v1);
94 feedback_vertex(ctx, v1, v
55 _swrast_feedback_triangle(struct gl_context * ctx,const SWvertex * v0,const SWvertex * v1,const SWvertex * v2) argument
77 _swrast_feedback_line(struct gl_context * ctx,const SWvertex * v0,const SWvertex * v1) argument
110 _swrast_select_triangle(struct gl_context * ctx,const SWvertex * v0,const SWvertex * v1,const SWvertex * v2) argument
124 _swrast_select_line(struct gl_context * ctx,const SWvertex * v0,const SWvertex * v1) argument
[all...]
/xsrc/external/mit/MesaLib/dist/src/mesa/swrast/
H A Ds_feedback.h37 const SWvertex *v1, const SWvertex *v2 );
40 const SWvertex *v1, const SWvertex *v2 );
45 const SWvertex *v1, const SWvertex *v2 );
48 const SWvertex *v1, const SWvertex *v2 );
H A Ds_lines.h38 const SWvertex *v1 );
H A Ds_triangle.h37 const SWvertex *v1,
46 const SWvertex *v1,
H A Ds_feedback.c56 const SWvertex *v1, const SWvertex *v2)
58 if (!_swrast_culltriangle(ctx, v0, v1, v2)) {
64 feedback_vertex(ctx, v1, v1);
69 feedback_vertex(ctx, v1, v2);
78 const SWvertex *v1)
90 feedback_vertex(ctx, v1, v1);
93 feedback_vertex(ctx, v0, v1);
94 feedback_vertex(ctx, v1, v
55 _swrast_feedback_triangle(struct gl_context * ctx,const SWvertex * v0,const SWvertex * v1,const SWvertex * v2) argument
77 _swrast_feedback_line(struct gl_context * ctx,const SWvertex * v0,const SWvertex * v1) argument
110 _swrast_select_triangle(struct gl_context * ctx,const SWvertex * v0,const SWvertex * v1,const SWvertex * v2) argument
124 _swrast_select_line(struct gl_context * ctx,const SWvertex * v0,const SWvertex * v1) argument
[all...]
/xsrc/external/mit/glu/dist/src/libnurbs/internals/
H A Dccw.cc59 TrimVertex *v1 = &j1->pwlArc->pts[j1->pwlArc->npts-1]; local in function:Subdivider::ccwTurn_sr
63 TrimVertex *v1next = v1-1;
67 assert( v1 != v1last );
74 // the arcs lie on the line (0 == v1->param[0])
75 if( v1->param[0] == v1next->param[0] && v2->param[0] == v2next->param[0] )
78 if( v2next->param[0] < v2->param[0] || v1next->param[0] < v1->param[0] )
81 if( v1->param[1] < v2->param[1] )
83 else if( v1->param[1] > v2->param[1] )
91 assert( v1->param[0] <= v1next->param[0] );
104 v1
172 TrimVertex *v1 = &j1->pwlArc->pts[j1->pwlArc->npts-1]; local in function:Subdivider::ccwTurn_sl
285 TrimVertex *v1 = &j1->pwlArc->pts[j1->pwlArc->npts-1]; local in function:Subdivider::ccwTurn_tr
398 TrimVertex *v1 = &j1->pwlArc->pts[j1->pwlArc->npts-1]; local in function:Subdivider::ccwTurn_tl
[all...]
/xsrc/external/mit/xf86-video-intel/dist/src/sna/brw/
H A Dbrw_sf.c5 struct brw_reg inv, v0, v1, v2, delta; local in function:brw_sf_kernel__nomask
8 v1 = brw_vec4_grf(4, 0);
17 brw_ADD(p, delta, v1, brw_negate(v2));
32 struct brw_reg inv, v0, v1, v2; local in function:brw_sf_kernel__mask
35 v1 = brw_vec8_grf(4, 0);
43 brw_ADD(p, brw_vec8_grf(7, 0), v1, brw_negate(v2));
/xsrc/external/mit/xf86-video-intel-2014/dist/src/sna/brw/
H A Dbrw_sf.c5 struct brw_reg inv, v0, v1, v2, delta; local in function:brw_sf_kernel__nomask
8 v1 = brw_vec4_grf(4, 0);
17 brw_ADD(p, delta, v1, brw_negate(v2));
32 struct brw_reg inv, v0, v1, v2; local in function:brw_sf_kernel__mask
35 v1 = brw_vec8_grf(4, 0);
43 brw_ADD(p, brw_vec8_grf(7, 0), v1, brw_negate(v2));
/xsrc/external/mit/MesaLib/dist/src/gallium/drivers/llvmpipe/
H A Dlp_setup_line.c51 const float (*v1)[4]; member in struct:lp_line_info
85 float a1 = info->v1[vert_attr][i];
96 (dadx * (info->v1[0][0] - setup->pixel_offset) +
97 dady * (info->v1[0][1] - setup->pixel_offset)));
117 float a1 = info->v1[vert_attr][i] * info->v1[0][3];
128 (dadx * (info->v1[0][0] - setup->pixel_offset) +
129 dady * (info->v1[0][1] - setup->pixel_offset)));
185 constant_coef(setup, info, slot+1, info->v1[vert_attr][i], i);
247 const float (*v1)[
246 print_line(struct lp_setup_context * setup,const float (* v1)[4],const float (* v2)[4]) argument
280 try_setup_line(struct lp_setup_context * setup,const float (* v1)[4],const float (* v2)[4]) argument
722 lp_setup_line_discard(struct lp_setup_context * setup,const float (* v0)[4],const float (* v1)[4]) argument
728 lp_setup_line(struct lp_setup_context * setup,const float (* v0)[4],const float (* v1)[4]) argument
[all...]
H A Dlp_setup_analysis.c60 const float (*v1)[4],
63 /* Specialized test for v0.y == v1.y == v2.y.
65 return (v0[0][1] == v1[0][1] &&
124 const float (*v1)[4],
133 assert(test_interps(v1, as, bs, at, bt));
136 assert(v0[0][0] == v1[0][0]);
137 assert(v1[0][1] == v2[0][1]);
139 lp_rect_cw(setup, v0, v1, v2, TRUE);
151 * v2------v1
155 const_float4_ptr v1,
59 is_zero_area(const float (* v0)[4],const float (* v1)[4],const float (* v2)[4]) argument
122 rect(struct lp_setup_context * setup,const float (* v0)[4],const float (* v1)[4],const float (* v2)[4]) argument
154 test_rect(const_float4_ptr v0,const_float4_ptr v1,const_float4_ptr v2,const_float4_ptr v3) argument
230 const_float4_ptr v1 = get_vert(vb, stride, 1); local in function:check_elts24
337 const_float4_ptr v1 = get_vert(vb, i+1, stride); local in function:lp_setup_analyse_triangles
356 const float (*v1)[4] = get_vert(vb, 1, stride); local in function:lp_setup_analyse_triangles
[all...]
/xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/llvmpipe/
H A Dlp_setup_line.c51 const float (*v1)[4]; member in struct:lp_line_info
85 float a1 = info->v1[vert_attr][i];
96 (dadx * (info->v1[0][0] - setup->pixel_offset) +
97 dady * (info->v1[0][1] - setup->pixel_offset)));
117 float a1 = info->v1[vert_attr][i] * info->v1[0][3];
128 (dadx * (info->v1[0][0] - setup->pixel_offset) +
129 dady * (info->v1[0][1] - setup->pixel_offset)));
185 constant_coef(setup, info, slot+1, info->v1[vert_attr][i], i);
247 const float (*v1)[
246 print_line(struct lp_setup_context * setup,const float (* v1)[4],const float (* v2)[4]) argument
280 try_setup_line(struct lp_setup_context * setup,const float (* v1)[4],const float (* v2)[4]) argument
761 lp_setup_line_discard(struct lp_setup_context * setup,const float (* v0)[4],const float (* v1)[4]) argument
767 lp_setup_line(struct lp_setup_context * setup,const float (* v0)[4],const float (* v1)[4]) argument
[all...]
/xsrc/external/mit/MesaLib.old/dist/src/mesa/swrast_setup/
H A Dss_triangle.c58 const SWvertex *v1,
71 const SWvertex *v1,
78 if (ef[e0]) _swrast_Line( ctx, v0, v1 );
79 if (ef[e1]) _swrast_Line( ctx, v1, v2 );
81 if (ef[e0]) _swrast_Line( ctx, v0, v1 );
82 if (ef[e1]) _swrast_Line( ctx, v1, v2 );
97 const SWvertex *v1,
101 if (ef[e1]) _swrast_Point( ctx, v1 );
122 SWvertex *v1 = &verts[e1]; local in function:_swsetup_render_tri
139 /* save colors/indexes for v0, v1 vertice
65 _swsetup_edge_render_line_tri(struct gl_context * ctx,const GLubyte * ef,GLuint e0,GLuint e1,GLuint e2,const SWvertex * v0,const SWvertex * v1,const SWvertex * v2) argument
91 _swsetup_edge_render_point_tri(struct gl_context * ctx,const GLubyte * ef,GLuint e0,GLuint e1,GLuint e2,const SWvertex * v0,const SWvertex * v1,const SWvertex * v2) argument
233 swsetup_line(struct gl_context * ctx,GLuint v0,GLuint v1) argument
[all...]

Completed in 11 milliseconds

1234567891011>>