Searched defs:vtx (Results 1 - 25 of 53) sorted by relevance

123

/external/chromium_org/third_party/mesa/src/src/mesa/drivers/dri/radeon/
H A Dradeon_maos_arrays.c151 GLuint vtx, unit; local
248 vtx = (rmesa->hw.tcl.cmd[TCL_OUTPUT_VTXFMT] &
266 vtx |= RADEON_Q_BIT(unit);
270 vtx |= RADEON_Q_BIT(unit);
281 if (vtx != rmesa->hw.tcl.cmd[TCL_OUTPUT_VTXFMT]) {
283 rmesa->hw.tcl.cmd[TCL_OUTPUT_VTXFMT] = vtx;
H A Dradeon_maos_verts.c316 GLuint vtx = (rmesa->hw.tcl.cmd[TCL_OUTPUT_VTXFMT] & local
352 vtx |= RADEON_Q_BIT(unit);
355 vtx |= RADEON_Q_BIT(unit);
366 if (vtx != rmesa->hw.tcl.cmd[TCL_OUTPUT_VTXFMT]) {
368 rmesa->hw.tcl.cmd[TCL_OUTPUT_VTXFMT] = vtx;
/external/mesa3d/src/mesa/drivers/dri/radeon/
H A Dradeon_maos_arrays.c151 GLuint vtx, unit; local
248 vtx = (rmesa->hw.tcl.cmd[TCL_OUTPUT_VTXFMT] &
266 vtx |= RADEON_Q_BIT(unit);
270 vtx |= RADEON_Q_BIT(unit);
281 if (vtx != rmesa->hw.tcl.cmd[TCL_OUTPUT_VTXFMT]) {
283 rmesa->hw.tcl.cmd[TCL_OUTPUT_VTXFMT] = vtx;
H A Dradeon_maos_verts.c316 GLuint vtx = (rmesa->hw.tcl.cmd[TCL_OUTPUT_VTXFMT] & local
352 vtx |= RADEON_Q_BIT(unit);
355 vtx |= RADEON_Q_BIT(unit);
366 if (vtx != rmesa->hw.tcl.cmd[TCL_OUTPUT_VTXFMT]) {
368 rmesa->hw.tcl.cmd[TCL_OUTPUT_VTXFMT] = vtx;
/external/deqp/modules/gles2/functional/
H A Des2fShaderAlgorithmTests.cpp75 std::ostringstream vtx; local
77 std::ostringstream& op = isVertexCase ? vtx : frag;
79 vtx << "attribute highp vec4 a_position;\n";
80 vtx << "attribute highp vec4 a_unitCoords;\n";
84 vtx << "varying mediump vec3 v_color;\n";
89 vtx << "varying mediump vec4 v_coords;\n";
95 vtx << "\n";
96 vtx << "void main()\n";
97 vtx << "{\n";
98 vtx << " gl_Positio
[all...]
H A Des2fShaderIndexingTests.cpp253 std::ostringstream vtx; local
254 vtx << "attribute highp vec4 a_position;\n";
255 vtx << "attribute highp vec4 a_coords;\n";
257 vtx << "uniform mediump int ui_zero, ui_one, ui_two, ui_three;\n";
259 vtx << "uniform mediump int ui_four;\n";
260 vtx << "varying ${PRECISION} ${VAR_TYPE} var[${ARRAY_LEN}];\n";
261 vtx << "\n";
262 vtx << "void main()\n";
263 vtx << "{\n";
264 vtx << " gl_Positio
376 std::ostringstream vtx; local
486 std::ostringstream vtx; local
650 std::ostringstream vtx; local
836 std::ostringstream vtx; local
[all...]
/external/chromium_org/third_party/mesa/src/src/mesa/drivers/dri/i965/
H A Dbrw_clip_tri.c228 struct brw_indirect vtx = brw_indirect(0, 0); local
269 /* vtx = *input_ptr;
271 brw_MOV(p, get_addr_reg(vtx), deref_1uw(inlist_ptr, 0));
281 brw_DP4(p, vec4(c->reg.dp), deref_4f(vtx, hpos_offset), c->reg.plane_equation);
297 brw_clip_interp_vertex(c, vtxOut, vtxPrev, vtx, c->reg.t, false);
323 brw_DP4(p, vec4(c->reg.dp), deref_4f(vtx, hpos_offset), c->reg.plane_equation);
333 /* If (vtxOut == 0) vtxOut = vtx
336 brw_MOV(p, get_addr_reg(vtxOut), get_addr_reg(vtx) );
339 brw_clip_interp_vertex(c, vtxOut, vtx, vtxPrev, c->reg.t, true);
354 /* vtxPrev = vtx;
[all...]
/external/deqp/modules/gles3/functional/
H A Des3fShaderSwitchTests.cpp91 std::ostringstream vtx; local
93 std::ostringstream& op = isVertex ? vtx : frag;
95 vtx << "#version 300 es\n"
103 vtx << "out mediump vec4 v_color;\n";
108 vtx << "out highp vec4 v_coords;\n";
115 vtx << "\n"
138 vtx << " v_color = vec4(res, 1.0);\n";
143 vtx << " v_coords = a_coords;\n";
147 vtx << "}\n";
150 return new ShaderSwitchCase(context, name, desc, isVertex, vtx
[all...]
H A Des3fShaderIndexingTests.cpp223 std::ostringstream vtx; local
224 vtx << "#version 300 es\n";
225 vtx << "in highp vec4 a_position;\n";
226 vtx << "in highp vec4 a_coords;\n";
228 vtx << "uniform mediump int ui_zero, ui_one, ui_two, ui_three;\n";
230 vtx << "uniform mediump int ui_four;\n";
231 vtx << "out ${PRECISION} ${VAR_TYPE} var[${ARRAY_LEN}];\n";
232 vtx << "\n";
233 vtx << "void main()\n";
234 vtx << "{\
338 std::ostringstream vtx; local
444 std::ostringstream vtx; local
604 std::ostringstream vtx; local
804 std::ostringstream vtx; local
[all...]
H A Des3fShaderPrecisionTests.cpp71 ostringstream vtx; local
73 ostringstream& op = isVertexCase ? vtx : frag;
75 vtx << "#version 300 es\n"
84 vtx << "flat out " << precName << " " << typeName << " v_out;\n";
89 vtx << "flat out " << precName << " " << typeName << " v_in0;\n"
95 vtx << "\nvoid main (void)\n{\n"
113 vtx << " v_in0 = a_in0;\n"
118 vtx << "}\n";
121 return new glu::ShaderProgram(context, glu::makeVtxFragSources(vtx.str(), frag.str()));
128 ostringstream vtx; local
[all...]
/external/mesa3d/src/mesa/drivers/dri/i965/
H A Dbrw_clip_tri.c228 struct brw_indirect vtx = brw_indirect(0, 0); local
269 /* vtx = *input_ptr;
271 brw_MOV(p, get_addr_reg(vtx), deref_1uw(inlist_ptr, 0));
281 brw_DP4(p, vec4(c->reg.dp), deref_4f(vtx, hpos_offset), c->reg.plane_equation);
297 brw_clip_interp_vertex(c, vtxOut, vtxPrev, vtx, c->reg.t, false);
323 brw_DP4(p, vec4(c->reg.dp), deref_4f(vtx, hpos_offset), c->reg.plane_equation);
333 /* If (vtxOut == 0) vtxOut = vtx
336 brw_MOV(p, get_addr_reg(vtxOut), get_addr_reg(vtx) );
339 brw_clip_interp_vertex(c, vtxOut, vtx, vtxPrev, c->reg.t, true);
354 /* vtxPrev = vtx;
[all...]
/external/chromium_org/third_party/mesa/src/src/gallium/drivers/nv50/
H A Dnv50_screen.h111 uint32_t vtx; member in struct:nv50_format
/external/chromium_org/third_party/mesa/src/src/gallium/drivers/nvc0/
H A Dnvc0_screen.h110 uint32_t vtx; member in struct:nvc0_format
/external/chromium_org/third_party/mesa/src/src/mesa/drivers/dri/nouveau/
H A Dnouveau_swtnl_t.c108 struct tnl_clipspace *vtx = &tnl->clipspace; local
147 render->attrs[attr].stride = vtx->vertex_size;
168 struct tnl_clipspace *vtx = &TNL_CONTEXT(ctx)->clipspace; local
171 for (i = 0; i < vtx->attr_count; i++) {
172 struct tnl_clipspace_attr *ta = &vtx->attr[i];
/external/chromium_org/third_party/mesa/src/src/mesa/tnl/
H A Dt_vertex.c40 static GLboolean match_fastpath( struct tnl_clipspace *vtx, argument
45 if (vtx->attr_count != fp->attr_count)
48 for (j = 0; j < vtx->attr_count; j++)
49 if (vtx->attr[j].format != fp->attr[j].format ||
50 vtx->attr[j].inputsize != fp->attr[j].size ||
51 vtx->attr[j].vertoffset != fp->attr[j].offset)
55 if (vtx->vertex_size != fp->vertex_size)
58 for (j = 0; j < vtx->attr_count; j++)
59 if (vtx->attr[j].inputstride != fp->attr[j].stride)
66 static GLboolean search_fastpath_emit( struct tnl_clipspace *vtx )
80 _tnl_register_fastpath( struct tnl_clipspace *vtx, GLboolean match_strides ) argument
112 struct tnl_clipspace *vtx = GET_VERTEX_STATE(ctx); local
158 struct tnl_clipspace *vtx = GET_VERTEX_STATE(ctx); local
173 struct tnl_clipspace *vtx = GET_VERTEX_STATE(ctx); local
198 struct tnl_clipspace *vtx = GET_VERTEX_STATE(ctx); local
206 struct tnl_clipspace *vtx = GET_VERTEX_STATE(ctx); local
218 struct tnl_clipspace *vtx = GET_VERTEX_STATE(ctx); local
249 struct tnl_clipspace *vtx = GET_VERTEX_STATE(ctx); local
265 struct tnl_clipspace *vtx = GET_VERTEX_STATE(ctx); local
274 struct tnl_clipspace *vtx = GET_VERTEX_STATE(ctx); local
293 struct tnl_clipspace *vtx = GET_VERTEX_STATE(ctx); local
366 struct tnl_clipspace *vtx = GET_VERTEX_STATE(ctx); local
376 struct tnl_clipspace *vtx = GET_VERTEX_STATE(ctx); local
384 struct tnl_clipspace *vtx = GET_VERTEX_STATE(ctx); local
399 struct tnl_clipspace *vtx = GET_VERTEX_STATE(ctx); local
433 struct tnl_clipspace *vtx = GET_VERTEX_STATE(ctx); local
448 struct tnl_clipspace *vtx = GET_VERTEX_STATE(ctx); local
467 struct tnl_clipspace *vtx = GET_VERTEX_STATE(ctx); local
490 struct tnl_clipspace *vtx = GET_VERTEX_STATE(ctx); local
541 struct tnl_clipspace *vtx = GET_VERTEX_STATE(ctx); local
[all...]
H A Dt_vertex_sse.c309 struct tnl_clipspace *vtx = GET_VERTEX_STATE(p->ctx); local
310 struct x86_reg ptr_to_src = x86_make_disp(vtxREG, get_offset(vtx, &a->inputptr));
323 struct tnl_clipspace *vtx = GET_VERTEX_STATE(p->ctx); local
324 struct x86_reg ptr_to_src = x86_make_disp(vtxREG, get_offset(vtx, &a->inputptr));
348 struct tnl_clipspace *vtx = GET_VERTEX_STATE(ctx); local
378 /* Dereference ctx to get tnl, then vtx:
387 if (vtx->need_viewport) {
388 sse_movups(&p->func, vp0, x86_make_disp(vtxESI, get_offset(vtx, &vtx->vp_scale[0])));
389 sse_movups(&p->func, vp1, x86_make_disp(vtxESI, get_offset(vtx,
644 struct tnl_clipspace *vtx = GET_VERTEX_STATE(ctx); local
[all...]
H A Dt_vertex_generic.c874 struct tnl_clipspace *vtx = GET_VERTEX_STATE(ctx); \
875 struct tnl_clipspace_attr *a = vtx->attr; \
878 for (i = 0 ; i < count ; i++, v += vtx->vertex_size) { \
935 struct tnl_clipspace *vtx = GET_VERTEX_STATE(ctx); local
941 switch (vtx->attr_count) {
943 if (vtx->attr[0].emit == insert_3f_viewport_3) {
944 if (vtx->attr[1].emit == insert_4ub_4f_bgra_4)
946 else if (vtx->attr[1].emit == insert_4ub_4f_rgba_4)
949 else if (vtx->attr[0].emit == insert_3f_3 &&
950 vtx
995 struct tnl_clipspace *vtx = GET_VERTEX_STATE(ctx); local
1018 struct tnl_clipspace *vtx = GET_VERTEX_STATE(ctx); local
1064 struct tnl_clipspace *vtx = GET_VERTEX_STATE(ctx); local
[all...]
/external/chromium_org/third_party/mesa/src/src/mesa/vbo/
H A Dvbo_exec.h116 } vtx; member in struct:vbo_exec_context
/external/eigen/unsupported/test/
H A Dopenglsupport.cpp72 GLint createShader(const char* vtx, const char* frg) argument
79 glShaderSource(vtx_id, 1, &vtx, 0);
84 std::cerr << "vtx compilation failed\n";
219 const char* vtx = "void main(void) { gl_Position = gl_Vertex; }\n"; local
236 GLint prg_id = createShader(vtx,frg);
264 GLint prg_id = createShader(vtx,frg);
294 GLint prg_id = createShader(vtx,frg);
319 GLint prg_id = createShader(vtx,frg);
/external/mesa3d/src/gallium/drivers/nv50/
H A Dnv50_screen.h111 uint32_t vtx; member in struct:nv50_format
/external/mesa3d/src/gallium/drivers/nvc0/
H A Dnvc0_screen.h110 uint32_t vtx; member in struct:nvc0_format
/external/mesa3d/src/mesa/drivers/dri/nouveau/
H A Dnouveau_swtnl_t.c108 struct tnl_clipspace *vtx = &tnl->clipspace; local
147 render->attrs[attr].stride = vtx->vertex_size;
168 struct tnl_clipspace *vtx = &TNL_CONTEXT(ctx)->clipspace; local
171 for (i = 0; i < vtx->attr_count; i++) {
172 struct tnl_clipspace_attr *ta = &vtx->attr[i];
/external/mesa3d/src/mesa/tnl/
H A Dt_vertex.c40 static GLboolean match_fastpath( struct tnl_clipspace *vtx, argument
45 if (vtx->attr_count != fp->attr_count)
48 for (j = 0; j < vtx->attr_count; j++)
49 if (vtx->attr[j].format != fp->attr[j].format ||
50 vtx->attr[j].inputsize != fp->attr[j].size ||
51 vtx->attr[j].vertoffset != fp->attr[j].offset)
55 if (vtx->vertex_size != fp->vertex_size)
58 for (j = 0; j < vtx->attr_count; j++)
59 if (vtx->attr[j].inputstride != fp->attr[j].stride)
66 static GLboolean search_fastpath_emit( struct tnl_clipspace *vtx )
80 _tnl_register_fastpath( struct tnl_clipspace *vtx, GLboolean match_strides ) argument
112 struct tnl_clipspace *vtx = GET_VERTEX_STATE(ctx); local
158 struct tnl_clipspace *vtx = GET_VERTEX_STATE(ctx); local
173 struct tnl_clipspace *vtx = GET_VERTEX_STATE(ctx); local
198 struct tnl_clipspace *vtx = GET_VERTEX_STATE(ctx); local
206 struct tnl_clipspace *vtx = GET_VERTEX_STATE(ctx); local
218 struct tnl_clipspace *vtx = GET_VERTEX_STATE(ctx); local
249 struct tnl_clipspace *vtx = GET_VERTEX_STATE(ctx); local
265 struct tnl_clipspace *vtx = GET_VERTEX_STATE(ctx); local
274 struct tnl_clipspace *vtx = GET_VERTEX_STATE(ctx); local
293 struct tnl_clipspace *vtx = GET_VERTEX_STATE(ctx); local
366 struct tnl_clipspace *vtx = GET_VERTEX_STATE(ctx); local
376 struct tnl_clipspace *vtx = GET_VERTEX_STATE(ctx); local
384 struct tnl_clipspace *vtx = GET_VERTEX_STATE(ctx); local
399 struct tnl_clipspace *vtx = GET_VERTEX_STATE(ctx); local
433 struct tnl_clipspace *vtx = GET_VERTEX_STATE(ctx); local
448 struct tnl_clipspace *vtx = GET_VERTEX_STATE(ctx); local
467 struct tnl_clipspace *vtx = GET_VERTEX_STATE(ctx); local
490 struct tnl_clipspace *vtx = GET_VERTEX_STATE(ctx); local
541 struct tnl_clipspace *vtx = GET_VERTEX_STATE(ctx); local
[all...]
H A Dt_vertex_sse.c309 struct tnl_clipspace *vtx = GET_VERTEX_STATE(p->ctx); local
310 struct x86_reg ptr_to_src = x86_make_disp(vtxREG, get_offset(vtx, &a->inputptr));
323 struct tnl_clipspace *vtx = GET_VERTEX_STATE(p->ctx); local
324 struct x86_reg ptr_to_src = x86_make_disp(vtxREG, get_offset(vtx, &a->inputptr));
348 struct tnl_clipspace *vtx = GET_VERTEX_STATE(ctx); local
378 /* Dereference ctx to get tnl, then vtx:
387 if (vtx->need_viewport) {
388 sse_movups(&p->func, vp0, x86_make_disp(vtxESI, get_offset(vtx, &vtx->vp_scale[0])));
389 sse_movups(&p->func, vp1, x86_make_disp(vtxESI, get_offset(vtx,
644 struct tnl_clipspace *vtx = GET_VERTEX_STATE(ctx); local
[all...]
/external/mesa3d/src/mesa/vbo/
H A Dvbo_exec.h116 } vtx; member in struct:vbo_exec_context

Completed in 1817 milliseconds

123