Home
last modified time | relevance | path

Searched refs:TexGenEnabled (Results 1 – 19 of 19) sorted by relevance

/third_party/mesa3d/src/mesa/drivers/dri/radeon/
Dradeon_texstate.c697 GLuint tmp = rmesa->TexGenEnabled; in disable_tex_obj_state()
699 rmesa->TexGenEnabled &= ~(RADEON_TEXGEN_TEXMAT_0_ENABLE<<unit); in disable_tex_obj_state()
700 rmesa->TexGenEnabled &= ~(RADEON_TEXMAT_0_ENABLE<<unit); in disable_tex_obj_state()
701 rmesa->TexGenEnabled &= ~(RADEON_TEXGEN_INPUT_MASK<<inputshift); in disable_tex_obj_state()
703 rmesa->TexGenEnabled |= in disable_tex_obj_state()
706 if (tmp != rmesa->TexGenEnabled) { in disable_tex_obj_state()
787 rmesa->TexGenEnabled |= RADEON_TEXMAT_0_ENABLE << unit; in set_texgen_matrix()
799 GLuint tmp = rmesa->TexGenEnabled; in radeon_validate_texgen()
806 rmesa->TexGenEnabled &= ~(RADEON_TEXGEN_TEXMAT_0_ENABLE << unit); in radeon_validate_texgen()
807 rmesa->TexGenEnabled &= ~(RADEON_TEXMAT_0_ENABLE << unit); in radeon_validate_texgen()
[all …]
Dradeon_context.h414 GLuint TexGenEnabled; member
Dradeon_maos_arrays.c268 if ( (ctx->Texture.Unit[unit].TexGenEnabled & (R_BIT | Q_BIT)) ) in radeonEmitArrays()
Dradeon_maos_verts.c354 if ( (ctx->Texture.FixedFuncUnit[unit].TexGenEnabled & (R_BIT | Q_BIT)) ) in radeonEmitArrays()
Dradeon_state.c1873 if (rmesa->TexGenEnabled & (RADEON_TEXMAT_0_ENABLE << unit)) { in update_texturematrix()
1886 else if (rmesa->TexGenEnabled & (RADEON_TEXMAT_0_ENABLE << unit)) { in update_texturematrix()
1893 !ctx->Texture.FixedFuncUnit[unit].TexGenEnabled ); in update_texturematrix()
1898 tpc = (texMatEnabled | rmesa->TexGenEnabled); in update_texturematrix()
/third_party/mesa3d/src/mesa/drivers/dri/r200/
Dr200_texstate.c961 GLuint tmp = rmesa->TexGenEnabled; in disable_tex_obj_state()
963 rmesa->TexGenEnabled &= ~(R200_TEXGEN_TEXMAT_0_ENABLE<<unit); in disable_tex_obj_state()
964 rmesa->TexGenEnabled &= ~(R200_TEXMAT_0_ENABLE<<unit); in disable_tex_obj_state()
968 if (tmp != rmesa->TexGenEnabled) { in disable_tex_obj_state()
1036 rmesa->TexGenEnabled |= R200_TEXMAT_0_ENABLE<<unit; in set_texgen_matrix()
1105 rmesa->TexGenEnabled &= ~(R200_TEXGEN_TEXMAT_0_ENABLE<<unit); in r200_validate_texgen()
1106 rmesa->TexGenEnabled &= ~(R200_TEXMAT_0_ENABLE<<unit); in r200_validate_texgen()
1116 if (texUnit->TexGenEnabled & S_BIT) { in r200_validate_texgen()
1122 if (texUnit->TexGenEnabled & T_BIT) { in r200_validate_texgen()
1128 if (texUnit->TexGenEnabled & R_BIT) { in r200_validate_texgen()
[all …]
Dr200_context.h602 GLuint TexGenEnabled; member
Dr200_state.c2104 if (rmesa->TexGenEnabled & (R200_TEXMAT_0_ENABLE << unit)) { in update_texturematrix()
2118 else if (rmesa->TexGenEnabled & (R200_TEXMAT_0_ENABLE << unit)) { in update_texturematrix()
2124 tpc = (rmesa->TexMatEnabled | rmesa->TexGenEnabled); in update_texturematrix()
/third_party/mesa3d/src/mesa/tnl/
Dt_vb_texgen.c360 out->flags |= (in->flags & VEC_SIZE_FLAGS) | texUnit->TexGenEnabled; in texgen()
363 copy = (all_bits[in->size] & ~texUnit->TexGenEnabled); in texgen()
367 if (texUnit->TexGenEnabled & S_BIT) { in texgen()
400 if (texUnit->TexGenEnabled & T_BIT) { in texgen()
433 if (texUnit->TexGenEnabled & R_BIT) { in texgen()
462 if (texUnit->TexGenEnabled & Q_BIT) { in texgen()
497 if (texUnit->TexGenEnabled) { in run_texgen_stage()
521 if (texUnit->TexGenEnabled) { in validate_texgen_stage()
524 if (texUnit->TexGenEnabled & Q_BIT) in validate_texgen_stage()
526 else if (texUnit->TexGenEnabled & R_BIT) in validate_texgen_stage()
[all …]
/third_party/mesa3d/src/mesa/main/
Dtexstate.c108 dst->Texture.FixedFuncUnit[u].TexGenEnabled = src->Texture.FixedFuncUnit[u].TexGenEnabled; in _mesa_copy_texture_state()
631 if (texUnit->TexGenEnabled) { in update_texgen()
632 if (texUnit->TexGenEnabled & S_BIT) { in update_texgen()
635 if (texUnit->TexGenEnabled & T_BIT) { in update_texgen()
638 if (texUnit->TexGenEnabled & R_BIT) { in update_texgen()
641 if (texUnit->TexGenEnabled & Q_BIT) { in update_texgen()
1074 texUnit->TexGenEnabled = 0x0; in _mesa_init_texture()
Drastpos.c308 if (texUnit->TexGenEnabled & S_BIT) { in compute_texgen()
331 if (texUnit->TexGenEnabled & T_BIT) { in compute_texgen()
354 if (texUnit->TexGenEnabled & R_BIT) { in compute_texgen()
374 if (texUnit->TexGenEnabled & Q_BIT) { in compute_texgen()
510 if (ctx->Texture.FixedFuncUnit[u].TexGenEnabled) { in _mesa_RasterPos()
Denable.c938 GLbitfield newenabled = texUnit->TexGenEnabled & ~coordBit; in _mesa_set_enable()
941 if (texUnit->TexGenEnabled == newenabled) in _mesa_set_enable()
946 texUnit->TexGenEnabled = newenabled; in _mesa_set_enable()
961 texUnit->TexGenEnabled & ~STR_BITS; in _mesa_set_enable()
964 if (texUnit->TexGenEnabled == newenabled) in _mesa_set_enable()
968 texUnit->TexGenEnabled = newenabled; in _mesa_set_enable()
1779 return (texUnit->TexGenEnabled & coordBit) ? GL_TRUE : GL_FALSE; in _mesa_IsEnabled()
1792 return (texUnit->TexGenEnabled & STR_BITS) == STR_BITS in _mesa_IsEnabled()
Dffvertex_prog.c249 if (texUnit->TexGenEnabled) { in make_state_key()
253 translate_texgen( texUnit->TexGenEnabled & (1<<0), in make_state_key()
256 translate_texgen( texUnit->TexGenEnabled & (1<<1), in make_state_key()
259 translate_texgen( texUnit->TexGenEnabled & (1<<2), in make_state_key()
262 translate_texgen( texUnit->TexGenEnabled & (1<<3), in make_state_key()
Dattrib.c193 attr->TexGen[i] = ctx->Texture.FixedFuncUnit[i].TexGenEnabled; in _mesa_PushAttrib()
498 const GLbitfield old_gen_enabled = unit->TexGenEnabled; in pop_enable_group()
586 _mesa_set_enable(ctx, GL_TEXTURE_GEN_S, !!(unit->TexGenEnabled & S_BIT)); in pop_texture_group()
587 _mesa_set_enable(ctx, GL_TEXTURE_GEN_T, !!(unit->TexGenEnabled & T_BIT)); in pop_texture_group()
588 _mesa_set_enable(ctx, GL_TEXTURE_GEN_R, !!(unit->TexGenEnabled & R_BIT)); in pop_texture_group()
589 _mesa_set_enable(ctx, GL_TEXTURE_GEN_Q, !!(unit->TexGenEnabled & Q_BIT)); in pop_texture_group()
Dmtypes.h1229 GLbitfield8 TexGenEnabled; /**< Bitwise-OR of [STRQ]_BIT values */ member
/third_party/mesa3d/src/mesa/drivers/dri/nouveau/
Dnv10_state_tex.c47 if (nctx->fallback == HWTNL && (unit->TexGenEnabled & 1 << j)) { in nv10_emit_tex_gen()
Dnv20_state_tex.c47 if (nctx->fallback == HWTNL && (unit->TexGenEnabled & 1 << j)) { in nv20_emit_tex_gen()
/third_party/mesa3d/src/mesa/drivers/common/
Dmeta.h152 GLbitfield TexGenEnabled[MAX_TEXTURE_UNITS]; member
Dmeta.c659 save->TexGenEnabled[u] = ctx->Texture.FixedFuncUnit[u].TexGenEnabled; in _mesa_meta_begin()
661 ctx->Texture.FixedFuncUnit[u].TexGenEnabled) { in _mesa_meta_begin()
1096 if (ctx->Texture.FixedFuncUnit[u].TexGenEnabled != save->TexGenEnabled[u]) { in _mesa_meta_end()
1098 ctx->Texture.FixedFuncUnit[u].TexGenEnabled = save->TexGenEnabled[u]; in _mesa_meta_end()