Home
last modified time | relevance | path

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

12

/external/mesa3d/src/mesa/swrast/
Ds_tritemp.h367 … span.attrStepX[FRAG_ATTRIB_COL0][0] = oneOverArea * (eMaj_dr * eBot.dy - eMaj.dy * eBot_dr); in NAME()
368 … span.attrStepY[FRAG_ATTRIB_COL0][0] = oneOverArea * (eMaj.dx * eBot_dr - eMaj_dr * eBot.dx); in NAME()
369 … span.attrStepX[FRAG_ATTRIB_COL0][1] = oneOverArea * (eMaj_dg * eBot.dy - eMaj.dy * eBot_dg); in NAME()
370 … span.attrStepY[FRAG_ATTRIB_COL0][1] = oneOverArea * (eMaj.dx * eBot_dg - eMaj_dg * eBot.dx); in NAME()
371 … span.attrStepX[FRAG_ATTRIB_COL0][2] = oneOverArea * (eMaj_db * eBot.dy - eMaj.dy * eBot_db); in NAME()
372 … span.attrStepY[FRAG_ATTRIB_COL0][2] = oneOverArea * (eMaj.dx * eBot_db - eMaj_db * eBot.dx); in NAME()
373 span.redStep = SignedFloatToFixed(span.attrStepX[FRAG_ATTRIB_COL0][0]); in NAME()
374 span.greenStep = SignedFloatToFixed(span.attrStepX[FRAG_ATTRIB_COL0][1]); in NAME()
375 span.blueStep = SignedFloatToFixed(span.attrStepX[FRAG_ATTRIB_COL0][2]); in NAME()
377 … span.attrStepX[FRAG_ATTRIB_COL0][3] = oneOverArea * (eMaj_da * eBot.dy - eMaj.dy * eBot_da); in NAME()
[all …]
Ds_fog.c176 GLfloat (*rgba)[4] = span->array->attribs[FRAG_ATTRIB_COL0]; in _swrast_fog_rgba_span()
195 GLfloat (*rgba)[4] = span->array->attribs[FRAG_ATTRIB_COL0]; in _swrast_fog_rgba_span()
214 GLfloat (*rgba)[4] = span->array->attribs[FRAG_ATTRIB_COL0]; in _swrast_fog_rgba_span()
239 GLfloat (*rgba)[4] = span->array->attribs[FRAG_ATTRIB_COL0]; in _swrast_fog_rgba_span()
Ds_zoom.c169 zoomed.array->rgba = (GLchan (*)[4]) zoomed.array->attribs[FRAG_ATTRIB_COL0]; in zoom_span()
238 COPY_4V(zoomed.array->attribs[FRAG_ATTRIB_COL0][i], rgba[j]); in zoom_span()
276 zoomed.array->attribs[FRAG_ATTRIB_COL0][i][0] = rgb[j][0]; in zoom_span()
277 zoomed.array->attribs[FRAG_ATTRIB_COL0][i][1] = rgb[j][1]; in zoom_span()
278 zoomed.array->attribs[FRAG_ATTRIB_COL0][i][2] = rgb[j][2]; in zoom_span()
279 zoomed.array->attribs[FRAG_ATTRIB_COL0][i][3] = 1.0F; in zoom_span()
Ds_span.c108 COPY_4V(span->attrStart[FRAG_ATTRIB_COL0], ctx->Current.RasterColor); in _swrast_span_default_attribs()
109 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()
321 GLfloat (*col0)[4] = span->array->attribs[FRAG_ATTRIB_COL0]; in interpolate_float_colors()
835 GLfloat (*col0)[4] = span->array->attribs[FRAG_ATTRIB_COL0]; in add_specular()
901 GLfloat (*rgba)[4] = span->array->attribs[FRAG_ATTRIB_COL0]; in apply_aa_coverage()
916 GLfloat (*rgba)[4] = span->array->attribs[FRAG_ATTRIB_COL0]; in clamp_colors()
940 src = span->array->attribs[FRAG_ATTRIB_COL0 + output]; in convert_color_type()
958 dst = span->array->attribs[FRAG_ATTRIB_COL0]; in convert_color_type()
984 span->array->rgba = (void *) span->array->attribs[FRAG_ATTRIB_COL0]; in shade_texture_span()
[all …]
Ds_fragprog.c231 COPY_4V(span->array->attribs[FRAG_ATTRIB_COL0][i], in run_program()
242 COPY_4V(span->array->attribs[FRAG_ATTRIB_COL0 + buf][i], in run_program()
Ds_alpha.c126 GLfloat (*rgba)[4] = span->array->attribs[FRAG_ATTRIB_COL0]; in _swrast_alpha_test()
Ds_feedback.c41 const GLfloat *color = v->attrib[FRAG_ATTRIB_COL0]; in feedback_vertex()
Ds_masking.c93 GLuint (*src)[4] = (GLuint (*)[4]) span->array->attribs[FRAG_ATTRIB_COL0]; in _swrast_mask_rgba_span()
Dswrast.h107 #define FRAG_ATTRIB_CI FRAG_ATTRIB_COL0
Ds_logic.c215 (GLuint *) span->array->attribs[FRAG_ATTRIB_COL0], in _swrast_logicop_rgba_span()
Ds_atifragshader.c572 COPY_4V(inputs[ATI_FS_INPUT_PRIMARY], span->array->attribs[FRAG_ATTRIB_COL0][col]); in init_machine()
602 COPY_4V(span->array->attribs[FRAG_ATTRIB_COL0][i], colOut); in _swrast_exec_fragment_shader()
Ds_context.c541 if (i == FRAG_ATTRIB_COL0 || i == FRAG_ATTRIB_COL1) in _swrast_update_active_attribs()
790 swrast->SpanArrays[i].rgba = swrast->SpanArrays[i].attribs[FRAG_ATTRIB_COL0]; in _swrast_CreateContext()
Ds_copypix.c164 GLvoid *rgba = span.array->attribs[FRAG_ATTRIB_COL0]; in copy_rgba_pixels()
Ds_drawpix.c454 GLfloat *rgba = (GLfloat *) span.array->attribs[FRAG_ATTRIB_COL0]; in draw_rgba_pixels()
/external/mesa3d/src/mesa/swrast_setup/
Dss_tritmp.h77 COPY_4V(saved_col0[0], v[0]->attrib[FRAG_ATTRIB_COL0]); in TAG()
78 COPY_4V(saved_col0[1], v[1]->attrib[FRAG_ATTRIB_COL0]); in TAG()
79 COPY_4V(saved_col0[2], v[2]->attrib[FRAG_ATTRIB_COL0]); in TAG()
89 COPY_4V(v[0]->attrib[FRAG_ATTRIB_COL0], vbcolor[e0]); in TAG()
90 COPY_4V(v[1]->attrib[FRAG_ATTRIB_COL0], vbcolor[e1]); in TAG()
91 COPY_4V(v[2]->attrib[FRAG_ATTRIB_COL0], vbcolor[e2]); in TAG()
102 COPY_4V(v[0]->attrib[FRAG_ATTRIB_COL0], vbcolor[0]); in TAG()
103 COPY_4V(v[1]->attrib[FRAG_ATTRIB_COL0], vbcolor[0]); in TAG()
104 COPY_4V(v[2]->attrib[FRAG_ATTRIB_COL0], vbcolor[0]); in TAG()
197 COPY_4V(v[0]->attrib[FRAG_ATTRIB_COL0], saved_col0[0]); in TAG()
[all …]
Dss_context.c134 EMIT_ATTR( _TNL_ATTRIB_COLOR0, EMIT_4F, attrib[FRAG_ATTRIB_COL0]); in setup_vertex_format()
289 dest->attrib[FRAG_ATTRIB_COL0] ); in _swsetup_Translate()
/external/mesa3d/src/mesa/drivers/dri/i965/
Dgen6_sf_state.c277 bool is_gl_Color = attr == FRAG_ATTRIB_COL0 || attr == FRAG_ATTRIB_COL1; in upload_sf_state()
Dgen7_sf_state.c76 bool is_gl_Color = attr == FRAG_ATTRIB_COL0 || attr == FRAG_ATTRIB_COL1; in upload_sbe_state()
Dbrw_wm.c148 bool is_gl_Color = attr == FRAG_ATTRIB_COL0 || attr == FRAG_ATTRIB_COL1; in brw_compute_barycentric_interp_modes()
Dbrw_wm_fp.c404 case FRAG_ATTRIB_COL0: in emit_interp()
/external/mesa3d/src/mesa/program/
Dprogram.c777 progB_colorIndex = FRAG_ATTRIB_COL0; in _mesa_combine_programs()
827 inputsB &= ~(1 << FRAG_ATTRIB_COL0); in _mesa_combine_programs()
Dprogramopt.c622 inputAttr = FRAG_ATTRIB_COL0; in _mesa_nop_fragment_program()
/external/mesa3d/src/mesa/state_tracker/
Dst_cb_drawpixels.c92 inst[0].SrcReg[0].Index == FRAG_ATTRIB_COL0 && in is_passthrough_program()
247 p->Instructions[ic].SrcReg[0].Index = FRAG_ATTRIB_COL0; in st_make_drawpix_z_stencil_program()
/external/mesa3d/src/mesa/main/
Dmtypes.h322 FRAG_ATTRIB_COL0 = 1, enumerator
388 #define FRAG_BIT_COL0 (1 << FRAG_ATTRIB_COL0)
/external/mesa3d/src/glsl/
Dbuiltin_variables.cpp69 { ir_var_in, FRAG_ATTRIB_COL0, "vec4", "gl_Color" },

12