Home
last modified time | relevance | path

Searched refs:edgeflag (Results 1 – 18 of 18) sorted by relevance

/external/mesa3d/src/gallium/drivers/nvc0/
Dnvc0_push.c35 } edgeflag; member
51 ctx->edgeflag.buffer = -1; in init_push_context()
52 ctx->edgeflag.value = 0.5f; in init_push_context()
54 if (unlikely(nvc0->vertprog->vp.edgeflag < PIPE_MAX_ATTRIBS)) { in init_push_context()
55 ve = &nvc0->vertex->element[nvc0->vertprog->vp.edgeflag].pipe; in init_push_context()
56 ctx->edgeflag.buffer = ve->vertex_buffer_index; in init_push_context()
57 ctx->edgeflag.offset = ve->src_offset; in init_push_context()
71 float f = *(float *)(ctx->edgeflag.data + vtx_id * ctx->edgeflag.stride); in set_edgeflag()
73 if (ctx->edgeflag.value != f) { in set_edgeflag()
74 ctx->edgeflag.value = f; in set_edgeflag()
[all …]
Dnvc0_vbo_translate.c32 } edgeflag; member
50 ctx->edgeflag.value = TRUE; in nvc0_push_context_init()
51 ctx->edgeflag.enabled = nvc0->vertprog->vp.edgeflag < PIPE_MAX_ATTRIBS; in nvc0_push_context_init()
54 ctx->edgeflag.data = NULL; in nvc0_push_context_init()
55 ctx->edgeflag.stride = 0; in nvc0_push_context_init()
97 unsigned attr = nvc0->vertprog->vp.edgeflag; in nvc0_push_map_edgeflag()
103 ctx->edgeflag.stride = vb->stride; in nvc0_push_map_edgeflag()
104 ctx->edgeflag.data = nouveau_resource_map_offset(&nvc0->base, in nvc0_push_map_edgeflag()
107 ctx->edgeflag.data += (intptr_t)index_bias * vb->stride; in nvc0_push_map_edgeflag()
137 float *pf = (float *)&ctx->edgeflag.data[index * ctx->edgeflag.stride]; in ef_value()
[all …]
Dnvc0_program.h42 uint8_t edgeflag; /* attribute index of edgeflag input */ member
Dnvc0_program.c591 prog->vp.edgeflag = info->io.edgeFlagIn; in nvc0_program_translate()
Dnvc0_vbo.c422 unlikely(nvc0->vertprog->vp.edgeflag < PIPE_MAX_ATTRIBS)) { in nvc0_vertex_arrays_validate()
Dnvc0_surface.c488 blit->vp.vp.edgeflag = PIPE_MAX_ATTRIBS; in nvc0_blitctx_make_vp()
/external/mesa3d/src/gallium/auxiliary/draw/
Ddraw_pipe_unfilled.c86 if ((header->flags & DRAW_PIPE_EDGE_FLAG_0) && v0->edgeflag) point( stage, v0 ); in points()
87 if ((header->flags & DRAW_PIPE_EDGE_FLAG_1) && v1->edgeflag) point( stage, v1 ); in points()
88 if ((header->flags & DRAW_PIPE_EDGE_FLAG_2) && v2->edgeflag) point( stage, v2 ); in points()
102 if ((header->flags & DRAW_PIPE_EDGE_FLAG_2) && v2->edgeflag) line( stage, v2, v0 ); in lines()
103 if ((header->flags & DRAW_PIPE_EDGE_FLAG_0) && v0->edgeflag) line( stage, v0, v1 ); in lines()
104 if ((header->flags & DRAW_PIPE_EDGE_FLAG_1) && v1->edgeflag) line( stage, v1, v2 ); in lines()
Ddraw_cliptest_tmp.h145 const float *edgeflag = out->data[ef]; in TAG() local
146 out->edgeflag = !(edgeflag[0] != 1.0f); in TAG()
147 need_pipeline |= !out->edgeflag; in TAG()
Ddraw_pipe_clip.c129 dst->edgeflag = 0; /* will get overwritten later */ in interp()
391 new_vert->edgeflag = TRUE; in do_clip_tri()
396 new_vert->edgeflag = FALSE; in do_clip_tri()
407 new_vert->edgeflag = vert_prev->edgeflag; in do_clip_tri()
Ddraw_pt_post_vs.c58 header->edgeflag = 1; in initialize_vertex_header()
Ddraw_private.h75 unsigned edgeflag:1; member
/external/mesa3d/src/gallium/drivers/nv50/
Dnv50_program.h78 ubyte edgeflag; member
Dnv50_program.c98 prog->vp.edgeflag = i; in nv50_vertprog_assign_slots()
326 prog->vp.edgeflag = 0xff; in nv50_program_translate()
Dnv50_push.c18 float edgeflag; member
Dnv50_vbo.c167 if (attr == nv50->vertprog->vp.edgeflag) { in nv50_emit_vtxattr()
Dnv50_surface.c481 blit->vp.vp.edgeflag = 0x40; in nv50_blitctx_make_vp()
/external/mesa3d/src/gallium/drivers/nv30/
Dnv30_push.c42 float edgeflag; member
/external/mesa3d/src/gallium/docs/source/
Dtgsi.rst1941 simply copies the edge flag input to the edgeflag output.