Searched refs:TEXTURE_2D_INDEX (Results 1 – 19 of 19) sorted by relevance
69 TEXTURE_2D_INDEX, enumerator
159 return texUnit->CurrentTex[TEXTURE_2D_INDEX]; in _mesa_get_current_tex_object()161 return ctx->Texture.ProxyTex[TEXTURE_2D_INDEX]; in _mesa_get_current_tex_object()960 case TEXTURE_2D_INDEX: in _mesa_get_fallback_texture()1572 return TEXTURE_2D_INDEX; in _mesa_tex_target_to_index()
1003 assert(targets[TEXTURE_2D_INDEX] == GL_TEXTURE_2D); in alloc_proxy_textures()
763 case TEXTURE_2D_INDEX: in load_texture()
507 TEST_AND_UPDATE_BIT(old_enabled, enabled, TEXTURE_2D_INDEX, GL_TEXTURE_2D); in pop_enable_group()
839 #define TEXTURE_2D_BIT (1 << TEXTURE_2D_INDEX)
2438 return TEXTURE_2D_INDEX; in tex_binding_to_index()
430 texIndex = TEXTURE_2D_INDEX; in get_proxy_tex_image()
129 ctx->Texture.Unit[0].CurrentTex[TEXTURE_2D_INDEX]; \187 ctx->Texture.Unit[0].CurrentTex[TEXTURE_2D_INDEX]; \544 ctx->Texture.Unit[0].CurrentTex[TEXTURE_2D_INDEX]; \813 ctx->Texture.Unit[0].CurrentTex[TEXTURE_2D_INDEX]; \1055 texObj2D = ctx->Texture.Unit[0].CurrentTex[TEXTURE_2D_INDEX]; in _swrast_choose_triangle()
69 index = TEXTURE_2D_INDEX; in get_texture_index()
1996 key.texture_index[i] = TEXTURE_2D_INDEX; in st_precompile_shader_variant()
445 case TEXTURE_2D_INDEX: in st_translate_texture_target()471 case TEXTURE_2D_INDEX: in st_translate_texture_target()
672 case TEXTURE_2D_INDEX: fprintf(f, "2D"); break; in _mesa_fprint_instruction_opt()
534 | TEX_2D { $$ = TEXTURE_2D_INDEX; }539 | TEX_SHADOW2D { $$ = -TEXTURE_2D_INDEX; }
482 case TEXTURE_2D_INDEX: in _mesa_texture_index_to_sampler_dim()
2096 ? TEXTURE_2D_ARRAY_INDEX : TEXTURE_2D_INDEX; in visit()
1695 texObj = texUnit->CurrentTex[TEXTURE_2D_INDEX]; in XMesaBindTexImage()
265 case TEXTURE_2D_INDEX: in translate_tex_src_target()
343 return (t->sampler_array) ? TEXTURE_2D_ARRAY_INDEX : TEXTURE_2D_INDEX; in sampler_index()