Home
last modified time | relevance | path

Searched refs:VARYING_SLOT_TEX0 (Results 1 – 25 of 39) sorted by relevance

12

/external/mesa3d/src/mesa/swrast/
Ds_tritemp.h404 …GLfloat eMaj_ds = (vMax->attrib[VARYING_SLOT_TEX0][0] - vMin->attrib[VARYING_SLOT_TEX0][0]) * S_SC… in NAME()
405 …GLfloat eBot_ds = (vMid->attrib[VARYING_SLOT_TEX0][0] - vMin->attrib[VARYING_SLOT_TEX0][0]) * S_SC… in NAME()
406 …GLfloat eMaj_dt = (vMax->attrib[VARYING_SLOT_TEX0][1] - vMin->attrib[VARYING_SLOT_TEX0][1]) * T_SC… in NAME()
407 …GLfloat eBot_dt = (vMid->attrib[VARYING_SLOT_TEX0][1] - vMin->attrib[VARYING_SLOT_TEX0][1]) * T_SC… in NAME()
408 … span.attrStepX[VARYING_SLOT_TEX0][0] = oneOverArea * (eMaj_ds * eBot.dy - eMaj.dy * eBot_ds); in NAME()
409 … span.attrStepY[VARYING_SLOT_TEX0][0] = oneOverArea * (eMaj.dx * eBot_ds - eMaj_ds * eBot.dx); in NAME()
410 … span.attrStepX[VARYING_SLOT_TEX0][1] = oneOverArea * (eMaj_dt * eBot.dy - eMaj.dy * eBot_dt); in NAME()
411 … span.attrStepY[VARYING_SLOT_TEX0][1] = oneOverArea * (eMaj.dx * eBot_dt - eMaj_dt * eBot.dx); in NAME()
412 span.intTexStep[0] = SignedFloatToFixed(span.attrStepX[VARYING_SLOT_TEX0][0]); in NAME()
413 span.intTexStep[1] = SignedFloatToFixed(span.attrStepX[VARYING_SLOT_TEX0][1]); in NAME()
[all …]
Ds_aalinetemp.h69 if (attr >= VARYING_SLOT_TEX0 && attr < VARYING_SLOT_VAR0 in NAME()
72 const GLuint unit = attr - VARYING_SLOT_TEX0; in NAME()
179 if (attr >= VARYING_SLOT_TEX0 && attr < VARYING_SLOT_VAR0) { in NAME()
180 const GLuint u = attr - VARYING_SLOT_TEX0; in NAME()
Ds_context.c527 attribsMask |= (ctx->Texture._EnabledCoordUnits << VARYING_SLOT_TEX0); in _swrast_update_active_attribs()
934 v->attrib[VARYING_SLOT_TEX0 + i][0], in _swrast_print_vertex()
935 v->attrib[VARYING_SLOT_TEX0 + i][1], in _swrast_print_vertex()
936 v->attrib[VARYING_SLOT_TEX0 + i][2], in _swrast_print_vertex()
937 v->attrib[VARYING_SLOT_TEX0 + i][3]); in _swrast_print_vertex()
Ds_triangle.c681 tex_coord[0] = span->attrStart[VARYING_SLOT_TEX0][0] * (info->smask + 1); in fast_persp_span()
682 tex_step[0] = span->attrStepX[VARYING_SLOT_TEX0][0] * (info->smask + 1); in fast_persp_span()
683 tex_coord[1] = span->attrStart[VARYING_SLOT_TEX0][1] * (info->tmask + 1); in fast_persp_span()
684 tex_step[1] = span->attrStepX[VARYING_SLOT_TEX0][1] * (info->tmask + 1); in fast_persp_span()
686 tex_coord[2] = span->attrStart[VARYING_SLOT_TEX0][3]; in fast_persp_span()
687 tex_step[2] = span->attrStepX[VARYING_SLOT_TEX0][3]; in fast_persp_span()
Ds_feedback.c39 const GLfloat *vtc = v->attrib[VARYING_SLOT_TEX0]; in feedback_vertex()
Ds_atifragshader.c252 span->array->attribs[VARYING_SLOT_TEX0 + pass_tex][column]); in handle_pass_op()
275 span->array->attribs[VARYING_SLOT_TEX0 + coord_source][column]); in handle_sample_op()
Ds_points.c139 if (attr >= VARYING_SLOT_TEX0 && attr <= VARYING_SLOT_TEX7) { in sprite_point()
141 const GLuint u = attr - VARYING_SLOT_TEX0; in sprite_point()
/external/mesa3d/src/compiler/
Dshader_enums.h194 VARYING_SLOT_TEX0, /* TEX0-TEX7 must be contiguous */ enumerator
273 #define VARYING_BIT_TEX0 BITFIELD64_BIT(VARYING_SLOT_TEX0)
281 #define VARYING_BIT_TEX(U) BITFIELD64_BIT(VARYING_SLOT_TEX0 + (U))
282 #define VARYING_BITS_TEX_ANY BITFIELD64_RANGE(VARYING_SLOT_TEX0, \
Dshader_enums.c139 ENUM(VARYING_SLOT_TEX0), in gl_varying_slot_name()
/external/mesa3d/src/compiler/nir/
Dnir_lower_bitmap.c62 if (var->data.location == VARYING_SLOT_TEX0) { in get_texcoord()
74 texcoord->data.location = VARYING_SLOT_TEX0; in get_texcoord()
Dnir_lower_drawpixels.c49 if (var->data.location == VARYING_SLOT_TEX0) { in get_texcoord()
61 texcoord->data.location = VARYING_SLOT_TEX0; in get_texcoord()
220 } else if (var->data.location == VARYING_SLOT_TEX0) { in lower_drawpixels_block()
/external/mesa3d/src/compiler/glsl/
Dopt_dead_builtin_varyings.cpp122 if (!this->find_frag_outputs && var->data.location == VARYING_SLOT_TEX0) { in visit_enter()
158 if (!this->find_frag_outputs && var->data.location == VARYING_SLOT_TEX0) { in visit()
228 if (location >= VARYING_SLOT_TEX0 && in get()
303 VARYING_SLOT_TEX0, "TexCoord", mode_str, in replace_varyings_visitor()
/external/mesa3d/src/mesa/state_tracker/
Dst_program.c339 case VARYING_SLOT_TEX0: in st_translate_vertex_program()
349 output_semantic_index[slot] = attr - VARYING_SLOT_TEX0; in st_translate_vertex_program()
356 (attr >= VARYING_SLOT_TEX0 && attr <= VARYING_SLOT_TEX7)); in st_translate_vertex_program()
707 case VARYING_SLOT_TEX0: in st_translate_fragment_program()
717 input_semantic_index[slot] = attr - VARYING_SLOT_TEX0; in st_translate_fragment_program()
736 (attr >= VARYING_SLOT_TEX0 && attr <= VARYING_SLOT_TEX7)); in st_translate_fragment_program()
1278 case VARYING_SLOT_TEX0: in st_translate_program_common()
1288 input_semantic_index[slot] = attr - VARYING_SLOT_TEX0; in st_translate_program_common()
1295 (attr >= VARYING_SLOT_TEX0 && attr <= VARYING_SLOT_TEX7)); in st_translate_program_common()
1401 case VARYING_SLOT_TEX0: in st_translate_program_common()
[all …]
Dst_program.h417 if (attr >= VARYING_SLOT_TEX0 && attr <= VARYING_SLOT_TEX7) { in st_get_generic_varying_index()
419 return attr - VARYING_SLOT_TEX0; in st_get_generic_varying_index()
Dst_glsl_to_nir.cpp63 } else if ((var->data.location >= VARYING_SLOT_TEX0) && in st_nir_fixup_varying_slots()
65 var->data.location += VARYING_SLOT_VAR0 - VARYING_SLOT_TEX0; in st_nir_fixup_varying_slots()
Dst_atifs_to_tgsi.c316 unsigned attr = pass_tex - GL_TEXTURE0_ARB + VARYING_SLOT_TEX0; in compile_setupinst()
565 … prog->info.inputs_read |= BITFIELD64_BIT(VARYING_SLOT_TEX0 + pass_tex - GL_TEXTURE0_ARB); in st_init_atifs_prog()
572 … prog->info.inputs_read |= BITFIELD64_BIT(VARYING_SLOT_TEX0 + pass_tex - GL_TEXTURE0_ARB); in st_init_atifs_prog()
Dst_cb_rasterpos.c166 VARYING_SLOT_TEX0 + i, VERT_ATTRIB_TEX0 + i); in rastpos_point()
Dst_cb_feedback.c108 slot = st->vertex_result_to_slot[VARYING_SLOT_TEX0]; in feedback_vertex()
/external/mesa3d/src/mesa/drivers/dri/i965/
Dgen6_sf_state.c219 (attr >= VARYING_SLOT_TEX0 && attr <= VARYING_SLOT_TEX7) && in calculate_attr_overrides()
220 (brw->ctx.Point.CoordReplace & (1u << (attr - VARYING_SLOT_TEX0)))) { in calculate_attr_overrides()
Dbrw_sf_emit.c378 if (varying1 >= VARYING_SLOT_TEX0 && varying1 <= VARYING_SLOT_TEX7) { in calculate_point_sprite_mask()
379 if (c->key.point_sprite_coord_replace & (1 << (varying1 - VARYING_SLOT_TEX0))) in calculate_point_sprite_mask()
386 if (varying2 >= VARYING_SLOT_TEX0 && varying2 <= VARYING_SLOT_TEX7) { in calculate_point_sprite_mask()
388 VARYING_SLOT_TEX0))) in calculate_point_sprite_mask()
Dbrw_vs.c65 outputs_written |= BITFIELD64_BIT(VARYING_SLOT_TEX0 + i); in brw_vs_outputs_written()
/external/mesa3d/src/mesa/swrast_setup/
Dss_context.c151 attrib[VARYING_SLOT_TEX0 + i] ); in setup_vertex_format()
283 dest->attrib[VARYING_SLOT_TEX0 + i] ); in _swsetup_Translate()
/external/mesa3d/src/mesa/main/
Dff_fragment_shader.cpp345 ctx->Texture._TexMatEnabled) << VARYING_SLOT_TEX0; in get_fp_input_mask()
356 << VARYING_SLOT_TEX0); in get_fp_input_mask()
387 fp_inputs |= (((vp_outputs & VARYING_BITS_TEX_ANY) >> VARYING_SLOT_TEX0) in get_fp_input_mask()
388 << VARYING_SLOT_TEX0); in get_fp_input_mask()
/external/mesa3d/src/mesa/drivers/dri/r200/
Dr200_tcl.c447 for (i = VARYING_SLOT_TEX0; i < VARYING_SLOT_TEX6; i++) { in r200_run_tcl_render()
449 out_compsel |= R200_OUTPUT_TEX_0 << (i - VARYING_SLOT_TEX0); in r200_run_tcl_render()
Dr200_vertprog.c178 case VARYING_SLOT_TEX0: in t_dst()
184 return (((dst->Index - VARYING_SLOT_TEX0) << R200_VPI_OUT_REG_INDEX_SHIFT) in t_dst()
430 (1 << VARYING_SLOT_FOGC) | (1 << VARYING_SLOT_TEX0) | (1 << VARYING_SLOT_TEX1) | in r200_translate_vertex_program()

12