Home
last modified time | relevance | path

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

123

/third_party/mesa3d/src/mesa/swrast/
Ds_tritemp.h405 …GLfloat eMaj_ds = (vMax->attrib[VARYING_SLOT_TEX0][0] - vMin->attrib[VARYING_SLOT_TEX0][0]) * S_SC… in NAME()
406 …GLfloat eBot_ds = (vMid->attrib[VARYING_SLOT_TEX0][0] - vMin->attrib[VARYING_SLOT_TEX0][0]) * S_SC… in NAME()
407 …GLfloat eMaj_dt = (vMax->attrib[VARYING_SLOT_TEX0][1] - vMin->attrib[VARYING_SLOT_TEX0][1]) * T_SC… in NAME()
408 …GLfloat eBot_dt = (vMid->attrib[VARYING_SLOT_TEX0][1] - vMin->attrib[VARYING_SLOT_TEX0][1]) * T_SC… in NAME()
409 … span.attrStepX[VARYING_SLOT_TEX0][0] = oneOverArea * (eMaj_ds * eBot.dy - eMaj.dy * eBot_ds); in NAME()
410 … span.attrStepY[VARYING_SLOT_TEX0][0] = oneOverArea * (eMaj.dx * eBot_ds - eMaj_ds * eBot.dx); in NAME()
411 … span.attrStepX[VARYING_SLOT_TEX0][1] = oneOverArea * (eMaj_dt * eBot.dy - eMaj.dy * eBot_dt); in NAME()
412 … span.attrStepY[VARYING_SLOT_TEX0][1] = oneOverArea * (eMaj.dx * eBot_dt - eMaj_dt * eBot.dx); in NAME()
413 span.intTexStep[0] = SignedFloatToFixed(span.attrStepX[VARYING_SLOT_TEX0][0]); in NAME()
414 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.c524 attribsMask |= (ctx->Texture._EnabledCoordUnits << VARYING_SLOT_TEX0); in _swrast_update_active_attribs()
931 v->attrib[VARYING_SLOT_TEX0 + i][0], in _swrast_print_vertex()
932 v->attrib[VARYING_SLOT_TEX0 + i][1], in _swrast_print_vertex()
933 v->attrib[VARYING_SLOT_TEX0 + i][2], in _swrast_print_vertex()
934 v->attrib[VARYING_SLOT_TEX0 + i][3]); in _swrast_print_vertex()
Ds_triangle.c682 tex_coord[0] = span->attrStart[VARYING_SLOT_TEX0][0] * (info->smask + 1); in fast_persp_span()
683 tex_step[0] = span->attrStepX[VARYING_SLOT_TEX0][0] * (info->smask + 1); in fast_persp_span()
684 tex_coord[1] = span->attrStart[VARYING_SLOT_TEX0][1] * (info->tmask + 1); in fast_persp_span()
685 tex_step[1] = span->attrStepX[VARYING_SLOT_TEX0][1] * (info->tmask + 1); in fast_persp_span()
687 tex_coord[2] = span->attrStart[VARYING_SLOT_TEX0][3]; in fast_persp_span()
688 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()
/third_party/mesa3d/src/gallium/auxiliary/tgsi/
Dtgsi_from_mesa.c48 if (attr >= VARYING_SLOT_TEX0 && attr <= VARYING_SLOT_TEX7) { in tgsi_get_generic_gl_varying_index()
50 return attr - VARYING_SLOT_TEX0; in tgsi_get_generic_gl_varying_index()
149 case VARYING_SLOT_TEX0: in tgsi_get_gl_varying_semantic()
159 *semantic_index = attr - VARYING_SLOT_TEX0; in tgsi_get_gl_varying_semantic()
166 (attr >= VARYING_SLOT_TEX0 && attr <= VARYING_SLOT_TEX7)); in tgsi_get_gl_varying_semantic()
/third_party/mesa3d/src/gallium/drivers/freedreno/ir3/
Dir3_gallium.h75 case VARYING_SLOT_TEX0 ... VARYING_SLOT_TEX7: in ir3_point_sprite()
76 return !!(sprite_coord_enable & BITFIELD_BIT(slot - VARYING_SLOT_TEX0)); in ir3_point_sprite()
Dir3_cmdline.c98 } else if ((var->data.location >= VARYING_SLOT_TEX0) && in fixup_varying_slots()
100 var->data.location += VARYING_SLOT_VAR0 - VARYING_SLOT_TEX0; in fixup_varying_slots()
/third_party/mesa3d/src/gallium/auxiliary/util/
Du_helpers.h80 if (slot >= VARYING_SLOT_TEX0 && slot <= VARYING_SLOT_TEX7 && in util_varying_is_point_coord()
81 (sprite_coord_enable & (1 << (slot - VARYING_SLOT_TEX0)))) { in util_varying_is_point_coord()
/third_party/mesa3d/src/compiler/nir/
Dnir_lower_drawpixels.c49 if (var->data.location == VARYING_SLOT_TEX0) { in get_texcoord()
61 texcoord->data.location = VARYING_SLOT_TEX0; in get_texcoord()
253 } else if (var->data.location == VARYING_SLOT_TEX0) { in lower_drawpixels_block()
267 if (nir_intrinsic_io_semantics(intr).location == VARYING_SLOT_TEX0) in lower_drawpixels_block()
Dnir_lower_bitmap.c60 VARYING_SLOT_TEX0); in get_texcoord()
67 texcoord->data.location = VARYING_SLOT_TEX0; in get_texcoord()
Dnir_lower_texcoord_replace.c114 var->data.location < VARYING_SLOT_TEX0 || in nir_lower_texcoord_replace_impl()
117 unsigned base = var->data.location - VARYING_SLOT_TEX0; in nir_lower_texcoord_replace_impl()
/third_party/mesa3d/src/compiler/
Dshader_enums.h277 VARYING_SLOT_TEX0, /* TEX0-TEX7 must be contiguous */ enumerator
429 #define VARYING_BIT_TEX0 BITFIELD64_BIT(VARYING_SLOT_TEX0)
437 #define VARYING_BIT_TEX(U) BITFIELD64_BIT(VARYING_SLOT_TEX0 + (U))
438 #define VARYING_BITS_TEX_ANY BITFIELD64_RANGE(VARYING_SLOT_TEX0, \
/third_party/mesa3d/src/compiler/glsl/
Dopt_dead_builtin_varyings.cpp123 if (!this->find_frag_outputs && var->data.location == VARYING_SLOT_TEX0) { in visit_enter()
159 if (!this->find_frag_outputs && var->data.location == VARYING_SLOT_TEX0) { in visit()
229 if (location >= VARYING_SLOT_TEX0 && in get()
304 VARYING_SLOT_TEX0, "TexCoord", mode_str, in replace_varyings_visitor()
/third_party/mesa3d/src/gallium/drivers/lima/standalone/
Dlima_compiler_cmdline.c79 } else if ((var->data.location >= VARYING_SLOT_TEX0) && in fixup_varying_slots()
81 var->data.location += VARYING_SLOT_VAR0 - VARYING_SLOT_TEX0; in fixup_varying_slots()
/third_party/mesa3d/src/asahi/compiler/
Dcmdline.c77 } else if ((var->data.location >= VARYING_SLOT_TEX0) && in fixup_varying_slots()
79 var->data.location += VARYING_SLOT_VAR0 - VARYING_SLOT_TEX0; in fixup_varying_slots()
/third_party/mesa3d/src/mesa/swrast_setup/
Dss_context.c152 attrib[VARYING_SLOT_TEX0 + i] ); in setup_vertex_format()
284 dest->attrib[VARYING_SLOT_TEX0 + i] ); in _swsetup_Translate()
/third_party/mesa3d/src/panfrost/bifrost/
Dcmdline.c109 } else if ((var->data.location >= VARYING_SLOT_TEX0) && in fixup_varying_slots()
111 var->data.location += VARYING_SLOT_VAR0 - VARYING_SLOT_TEX0; in fixup_varying_slots()
/third_party/mesa3d/src/gallium/drivers/r600/sfn/
Dsfn_shader_geometry.cpp106 (location >= VARYING_SLOT_TEX0 && in process_store_output()
166 (location >= VARYING_SLOT_TEX0 && in process_load_input()
/third_party/mesa3d/src/intel/compiler/
Dbrw_compile_sf.c405 if (varying1 >= VARYING_SLOT_TEX0 && varying1 <= VARYING_SLOT_TEX7) { in calculate_point_sprite_mask()
406 if (c->key.point_sprite_coord_replace & (1 << (varying1 - VARYING_SLOT_TEX0))) in calculate_point_sprite_mask()
413 if (varying2 >= VARYING_SLOT_TEX0 && varying2 <= VARYING_SLOT_TEX7) { in calculate_point_sprite_mask()
415 VARYING_SLOT_TEX0))) in calculate_point_sprite_mask()
/third_party/mesa3d/src/mesa/state_tracker/
Dst_atifs_to_nir.c332 coord = load_input(t, VARYING_SLOT_TEX0 + attr); in compile_setupinst()
562 … prog->info.inputs_read |= BITFIELD64_BIT(VARYING_SLOT_TEX0 + pass_tex - GL_TEXTURE0_ARB); in st_init_atifs_prog()
569 … prog->info.inputs_read |= BITFIELD64_BIT(VARYING_SLOT_TEX0 + pass_tex - GL_TEXTURE0_ARB); in st_init_atifs_prog()
Dst_cb_rasterpos.c175 VARYING_SLOT_TEX0 + i, VERT_ATTRIB_TEX0 + i); in rastpos_point()
/third_party/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()

123