Home
last modified time | relevance | path

Searched refs:FRAG_ATTRIB_TEX0 (Results 1 – 25 of 30) sorted by relevance

12

/external/mesa3d/src/mesa/swrast/
Ds_tritemp.h399 …GLfloat eMaj_ds = (vMax->attrib[FRAG_ATTRIB_TEX0][0] - vMin->attrib[FRAG_ATTRIB_TEX0][0]) * S_SCAL… in NAME()
400 …GLfloat eBot_ds = (vMid->attrib[FRAG_ATTRIB_TEX0][0] - vMin->attrib[FRAG_ATTRIB_TEX0][0]) * S_SCAL… in NAME()
401 …GLfloat eMaj_dt = (vMax->attrib[FRAG_ATTRIB_TEX0][1] - vMin->attrib[FRAG_ATTRIB_TEX0][1]) * T_SCAL… in NAME()
402 …GLfloat eBot_dt = (vMid->attrib[FRAG_ATTRIB_TEX0][1] - vMin->attrib[FRAG_ATTRIB_TEX0][1]) * T_SCAL… in NAME()
403 … span.attrStepX[FRAG_ATTRIB_TEX0][0] = oneOverArea * (eMaj_ds * eBot.dy - eMaj.dy * eBot_ds); in NAME()
404 … span.attrStepY[FRAG_ATTRIB_TEX0][0] = oneOverArea * (eMaj.dx * eBot_ds - eMaj_ds * eBot.dx); in NAME()
405 … span.attrStepX[FRAG_ATTRIB_TEX0][1] = oneOverArea * (eMaj_dt * eBot.dy - eMaj.dy * eBot_dt); in NAME()
406 … span.attrStepY[FRAG_ATTRIB_TEX0][1] = oneOverArea * (eMaj.dx * eBot_dt - eMaj_dt * eBot.dx); in NAME()
407 span.intTexStep[0] = SignedFloatToFixed(span.attrStepX[FRAG_ATTRIB_TEX0][0]); in NAME()
408 span.intTexStep[1] = SignedFloatToFixed(span.attrStepX[FRAG_ATTRIB_TEX0][1]); in NAME()
[all …]
Ds_aalinetemp.h69 if (attr >= FRAG_ATTRIB_TEX0 && attr < FRAG_ATTRIB_VAR0 in NAME()
72 const GLuint unit = attr - FRAG_ATTRIB_TEX0; in NAME()
179 if (attr >= FRAG_ATTRIB_TEX0 && attr < FRAG_ATTRIB_VAR0) { in NAME()
180 const GLuint u = attr - FRAG_ATTRIB_TEX0; in NAME()
Ds_context.c529 attribsMask |= (ctx->Texture._EnabledUnits << FRAG_ATTRIB_TEX0); in _swrast_update_active_attribs()
932 v->attrib[FRAG_ATTRIB_TEX0 + i][0], in _swrast_print_vertex()
933 v->attrib[FRAG_ATTRIB_TEX0 + i][1], in _swrast_print_vertex()
934 v->attrib[FRAG_ATTRIB_TEX0 + i][2], in _swrast_print_vertex()
935 v->attrib[FRAG_ATTRIB_TEX0 + i][3]); in _swrast_print_vertex()
Ds_triangle.c681 tex_coord[0] = span->attrStart[FRAG_ATTRIB_TEX0][0] * (info->smask + 1); in fast_persp_span()
682 tex_step[0] = span->attrStepX[FRAG_ATTRIB_TEX0][0] * (info->smask + 1); in fast_persp_span()
683 tex_coord[1] = span->attrStart[FRAG_ATTRIB_TEX0][1] * (info->tmask + 1); in fast_persp_span()
684 tex_step[1] = span->attrStepX[FRAG_ATTRIB_TEX0][1] * (info->tmask + 1); in fast_persp_span()
686 tex_coord[2] = span->attrStart[FRAG_ATTRIB_TEX0][3]; in fast_persp_span()
687 tex_step[2] = span->attrStepX[FRAG_ATTRIB_TEX0][3]; in fast_persp_span()
Ds_feedback.c40 const GLfloat *vtc = v->attrib[FRAG_ATTRIB_TEX0]; in feedback_vertex()
Ds_atifragshader.c266 span->array->attribs[FRAG_ATTRIB_TEX0 + pass_tex][column]); in handle_pass_op()
289 span->array->attribs[FRAG_ATTRIB_TEX0 + coord_source][column]); in handle_sample_op()
Ds_points.c140 if (attr >= FRAG_ATTRIB_TEX0 && attr <= FRAG_ATTRIB_TEX7) { in sprite_point()
142 const GLuint u = attr - FRAG_ATTRIB_TEX0; in sprite_point()
Ds_texcombine.c651 span->array->attribs[FRAG_ATTRIB_TEX0 + unit]; in _swrast_texture_span()
653 span->array->attribs[FRAG_ATTRIB_TEX0 + in _swrast_texture_span()
717 span->array->attribs[FRAG_ATTRIB_TEX0 + unit]; in _swrast_texture_span()
Ds_span.c141 const GLuint attr = FRAG_ATTRIB_TEX0 + i; in _swrast_span_default_attribs()
479 const GLuint attr = FRAG_ATTRIB_TEX0 + u; in interpolate_texcoords()
/external/mesa3d/src/mesa/tnl_dd/
Dt_dd_vb.c144 dst->attrib[FRAG_ATTRIB_TEX0][0] = src->pv.u0; in TAG()
145 dst->attrib[FRAG_ATTRIB_TEX0][1] = src->pv.v0; in TAG()
146 dst->attrib[FRAG_ATTRIB_TEX0][3] = src->pv.q0; in TAG()
165 dst->attrib[FRAG_ATTRIB_TEX0][0] = src->v.u0; in TAG()
166 dst->attrib[FRAG_ATTRIB_TEX0][1] = src->v.v0; in TAG()
167 dst->attrib[FRAG_ATTRIB_TEX0][3] = 1.0; in TAG()
/external/mesa3d/src/mesa/drivers/dri/i965/
Dgen7_sf_state.c82 attr >= FRAG_ATTRIB_TEX0 && attr <= FRAG_ATTRIB_TEX7 && in upload_sbe_state()
83 ctx->Point.CoordReplace[attr - FRAG_ATTRIB_TEX0]) { in upload_sbe_state()
Dgen6_sf_state.c284 (attr >= FRAG_ATTRIB_TEX0 && attr <= FRAG_ATTRIB_TEX7) && in upload_sf_state()
285 ctx->Point.CoordReplace[attr - FRAG_ATTRIB_TEX0]) { in upload_sf_state()
/external/mesa3d/src/mesa/swrast_setup/
Dss_context.c151 attrib[FRAG_ATTRIB_TEX0 + i] ); in setup_vertex_format()
282 dest->attrib[FRAG_ATTRIB_TEX0 + i] ); in _swsetup_Translate()
/external/mesa3d/src/mesa/state_tracker/
Dst_atom_pixeltransfer.c166 inst[ic].SrcReg[0].Index = FRAG_ATTRIB_TEX0; in get_pixel_transfer_program()
170 fp->Base.InputsRead = BITFIELD64_BIT(FRAG_ATTRIB_TEX0); in get_pixel_transfer_program()
Dst_program.c281 FRAG_ATTRIB_TEX0 + in st_prepare_vertex_program()
598 case FRAG_ATTRIB_TEX0: in st_translate_fragment_program()
611 assert(attr >= FRAG_ATTRIB_TEX0); in st_translate_fragment_program()
612 input_semantic_index[slot] = (attr - FRAG_ATTRIB_TEX0); in st_translate_fragment_program()
Dst_atom_rasterizer.c186 1 << (FRAG_ATTRIB_PNTC - FRAG_ATTRIB_TEX0); in update_raster_state()
Dst_cb_drawpixels.c238 p->Instructions[ic].SrcReg[0].Index = FRAG_ATTRIB_TEX0; in st_make_drawpix_z_stencil_program()
258 p->Instructions[ic].SrcReg[0].Index = FRAG_ATTRIB_TEX0; in st_make_drawpix_z_stencil_program()
Dst_cb_bitmap.c144 p->Instructions[ic].SrcReg[0].Index = FRAG_ATTRIB_TEX0; in make_bitmap_fragment_program()
/external/mesa3d/src/mesa/main/
Dff_fragment_shader.cpp364 ctx->Texture._TexMatEnabled) << FRAG_ATTRIB_TEX0; in get_fp_input_mask()
375 << FRAG_ATTRIB_TEX0); in get_fp_input_mask()
407 << FRAG_ATTRIB_TEX0); in get_fp_input_mask()
Dtexstate.c634 = (fprog->InputsRead >> FRAG_ATTRIB_TEX0) & coordMask; in update_texture_state()
Dmtypes.h325 FRAG_ATTRIB_TEX0 = 4, enumerator
393 #define FRAG_BIT_TEX0 (1 << FRAG_ATTRIB_TEX0)
/external/mesa3d/src/mesa/drivers/dri/i915/
Di915_fragprog.c114 case FRAG_ATTRIB_TEX0: in src_vector()
123 T_TEX0 + (source->Index - FRAG_ATTRIB_TEX0), in src_vector()
/external/mesa3d/src/mesa/program/
Dprogramopt.c624 inputAttr = FRAG_ATTRIB_TEX0; in _mesa_nop_fragment_program()
Dprog_print.c191 assert(strcmp(fragAttribs[FRAG_ATTRIB_TEX0], "fragment.texcoord[0]") == 0); in arb_input_attrib_string()
/external/mesa3d/src/glsl/
Dbuiltin_variables.cpp846 "gl_TexCoord", vec4_array_type, ir_var_in, FRAG_ATTRIB_TEX0); in generate_110_fs_variables()

12