/third_party/mesa3d/src/mesa/main/ |
D | samplerobj.c | 120 sampObj->Attrib.WrapS = GL_REPEAT; in _mesa_init_sampler_object() 121 sampObj->Attrib.WrapT = GL_REPEAT; in _mesa_init_sampler_object() 122 sampObj->Attrib.WrapR = GL_REPEAT; in _mesa_init_sampler_object() 123 sampObj->Attrib.state.wrap_s = PIPE_TEX_WRAP_REPEAT; in _mesa_init_sampler_object() 124 sampObj->Attrib.state.wrap_t = PIPE_TEX_WRAP_REPEAT; in _mesa_init_sampler_object() 125 sampObj->Attrib.state.wrap_r = PIPE_TEX_WRAP_REPEAT; in _mesa_init_sampler_object() 126 sampObj->Attrib.MinFilter = GL_NEAREST_MIPMAP_LINEAR; in _mesa_init_sampler_object() 127 sampObj->Attrib.MagFilter = GL_LINEAR; in _mesa_init_sampler_object() 128 sampObj->Attrib.state.min_img_filter = PIPE_TEX_FILTER_NEAREST; in _mesa_init_sampler_object() 129 sampObj->Attrib.state.min_mip_filter = PIPE_TEX_MIPFILTER_LINEAR; in _mesa_init_sampler_object() [all …]
|
D | texparam.c | 282 if (texObj->Sampler.Attrib.MinFilter == params[0]) in set_tex_parameteri() 288 texObj->Sampler.Attrib.MinFilter = params[0]; in set_tex_parameteri() 289 texObj->Sampler.Attrib.state.min_img_filter = filter_to_gallium(params[0]); in set_tex_parameteri() 290 texObj->Sampler.Attrib.state.min_mip_filter = mipfilter_to_gallium(params[0]); in set_tex_parameteri() 300 texObj->Sampler.Attrib.MinFilter = params[0]; in set_tex_parameteri() 301 texObj->Sampler.Attrib.state.min_img_filter = filter_to_gallium(params[0]); in set_tex_parameteri() 302 texObj->Sampler.Attrib.state.min_mip_filter = mipfilter_to_gallium(params[0]); in set_tex_parameteri() 316 if (texObj->Sampler.Attrib.MagFilter == params[0]) in set_tex_parameteri() 322 texObj->Sampler.Attrib.MagFilter = params[0]; in set_tex_parameteri() 323 texObj->Sampler.Attrib.state.mag_img_filter = filter_to_gallium(params[0]); in set_tex_parameteri() [all …]
|
D | textureview.c | 490 texObj->Attrib.ImmutableLevels = levels; in _mesa_set_texture_view_state() 491 texObj->Attrib.MinLevel = 0; in _mesa_set_texture_view_state() 492 texObj->Attrib.NumLevels = levels; in _mesa_set_texture_view_state() 493 texObj->Attrib.MinLayer = 0; in _mesa_set_texture_view_state() 494 texObj->Attrib.NumLayers = 1; in _mesa_set_texture_view_state() 497 texObj->Attrib.NumLayers = texImage->Height; in _mesa_set_texture_view_state() 501 texObj->Attrib.NumLevels = 1; in _mesa_set_texture_view_state() 502 texObj->Attrib.ImmutableLevels = 1; in _mesa_set_texture_view_state() 506 texObj->Attrib.NumLevels = 1; in _mesa_set_texture_view_state() 507 texObj->Attrib.ImmutableLevels = 1; in _mesa_set_texture_view_state() [all …]
|
D | texobj.c | 70 switch (obj->Sampler.Attrib.MagFilter) { in valid_filter_for_float() 85 switch (obj->Sampler.Attrib.MinFilter) { in valid_filter_for_float() 325 obj->Attrib.Priority = 1.0F; in _mesa_initialize_texture_object() 326 obj->Attrib.BaseLevel = 0; in _mesa_initialize_texture_object() 327 obj->Attrib.MaxLevel = 1000; in _mesa_initialize_texture_object() 335 obj->Sampler.Attrib.WrapS = GL_CLAMP_TO_EDGE; in _mesa_initialize_texture_object() 336 obj->Sampler.Attrib.WrapT = GL_CLAMP_TO_EDGE; in _mesa_initialize_texture_object() 337 obj->Sampler.Attrib.WrapR = GL_CLAMP_TO_EDGE; in _mesa_initialize_texture_object() 338 obj->Sampler.Attrib.MinFilter = GL_LINEAR; in _mesa_initialize_texture_object() 339 obj->Sampler.Attrib.state.wrap_s = PIPE_TEX_WRAP_CLAMP_TO_EDGE; in _mesa_initialize_texture_object() [all …]
|
D | glthread_varray.c | 56 for (unsigned i = 0; i < ARRAY_SIZE(vao->Attrib); i++) { in _mesa_glthread_reset_vao() 61 vao->Attrib[i].ElementSize = elem_size; in _mesa_glthread_reset_vao() 62 vao->Attrib[i].RelativeOffset = 0; in _mesa_glthread_reset_vao() 63 vao->Attrib[i].BufferIndex = i; in _mesa_glthread_reset_vao() 64 vao->Attrib[i].Stride = elem_size; in _mesa_glthread_reset_vao() 65 vao->Attrib[i].Divisor = 0; in _mesa_glthread_reset_vao() 66 vao->Attrib[i].EnabledAttribCount = 0; in _mesa_glthread_reset_vao() 67 vao->Attrib[i].Pointer = NULL; in _mesa_glthread_reset_vao() 219 int attrib_count = ++vao->Attrib[binding_index].EnabledAttribCount; in enable_buffer() 230 int attrib_count = --vao->Attrib[binding_index].EnabledAttribCount; in disable_buffer() [all …]
|
D | samplerobj.h | 54 return samp->Attrib.MinFilter != GL_NEAREST && samp->Attrib.MinFilter != GL_LINEAR; in _mesa_is_mipmap_filter() 224 samp->Attrib.IsBorderColorNonZero = samp->Attrib.state.border_color.ui[0] || in _mesa_update_is_border_color_nonzero() 225 samp->Attrib.state.border_color.ui[1] || in _mesa_update_is_border_color_nonzero() 226 samp->Attrib.state.border_color.ui[2] || in _mesa_update_is_border_color_nonzero() 227 samp->Attrib.state.border_color.ui[3]; in _mesa_update_is_border_color_nonzero() 246 struct pipe_sampler_state *s = &samp->Attrib.state; in _mesa_lower_gl_clamp() 251 samp->Attrib.WrapS, clamp_to_border); in _mesa_lower_gl_clamp() 253 samp->Attrib.WrapT, clamp_to_border); in _mesa_lower_gl_clamp() 255 samp->Attrib.WrapR, clamp_to_border); in _mesa_lower_gl_clamp()
|
/third_party/libdrm/intel/tests/ |
D | gen6-3d.batch-ref.txt | 91 0x12300168: 0x00200810: Attrib Out 0, Attrib Swizzle enable, VUE read length 1, VUE read of… 98 0x12300184: 0x00000000: Attrib 1 (Override , Const Source 0, Swizzle Select 0, Source 0); A… 99 0x12300188: 0x00000000: Attrib 3 (Override , Const Source 0, Swizzle Select 0, Source 0); A… 100 0x1230018c: 0x00000000: Attrib 5 (Override , Const Source 0, Swizzle Select 0, Source 0); A… 101 0x12300190: 0x00000000: Attrib 7 (Override , Const Source 0, Swizzle Select 0, Source 0); A… 102 0x12300194: 0x00000000: Attrib 9 (Override , Const Source 0, Swizzle Select 0, Source 0); A… 103 0x12300198: 0x00000000: Attrib 11 (Override , Const Source 0, Swizzle Select 0, Source 0); … 104 0x1230019c: 0x00000000: Attrib 13 (Override , Const Source 0, Swizzle Select 0, Source 0); … 105 0x123001a0: 0x00000000: Attrib 15 (Override , Const Source 0, Swizzle Select 0, Source 0); … 108 0x123001ac: 0x00000000: Attrib 7-0 WrapShortest Enable [all …]
|
/third_party/mesa3d/src/mesa/drivers/dri/nouveau/ |
D | nv04_state_tex.c | 70 struct gl_texture_image *ti = t->Image[0][t->Attrib.BaseLevel]; in nv04_emit_tex_obj() 77 s = &to_nouveau_texture(t)->surfaces[t->Attrib.BaseLevel]; in nv04_emit_tex_obj() 79 if (sa->Attrib.MinFilter != GL_NEAREST && in nv04_emit_tex_obj() 80 sa->Attrib.MinFilter != GL_LINEAR) { in nv04_emit_tex_obj() 81 lod_max = CLAMP(MIN2(sa->Attrib.MaxLod, t->_MaxLambda), in nv04_emit_tex_obj() 85 sa->Attrib.LodBias, -16, 15) * 8; in nv04_emit_tex_obj() 88 format |= nvgl_wrap_mode(sa->Attrib.WrapT) << 28 | in nv04_emit_tex_obj() 89 nvgl_wrap_mode(sa->Attrib.WrapS) << 24 | in nv04_emit_tex_obj() 95 filter |= log2i(sa->Attrib.MaxAnisotropy) << 31 | in nv04_emit_tex_obj() 96 nvgl_filter_mode(sa->Attrib.MagFilter) << 28 | in nv04_emit_tex_obj() [all …]
|
D | nv20_state_tex.c | 183 s = &to_nouveau_texture(t)->surfaces[t->Attrib.BaseLevel]; in nv20_emit_tex_obj() 184 ti = t->Image[0][t->Attrib.BaseLevel]; in nv20_emit_tex_obj() 202 | nvgl_wrap_mode_nv20(sa->Attrib.WrapS) << 0; in nv20_emit_tex_obj() 206 tx_wrap = nvgl_wrap_mode_nv20(sa->Attrib.WrapR) << 16 in nv20_emit_tex_obj() 207 | nvgl_wrap_mode_nv20(sa->Attrib.WrapT) << 8 in nv20_emit_tex_obj() 208 | nvgl_wrap_mode_nv20(sa->Attrib.WrapS) << 0; in nv20_emit_tex_obj() 212 tx_filter = nvgl_filter_mode(sa->Attrib.MagFilter) << 24 in nv20_emit_tex_obj() 213 | nvgl_filter_mode(sa->Attrib.MinFilter) << 16 in nv20_emit_tex_obj() 216 r = FLOAT_TO_UBYTE(sa->Attrib.state.border_color.f[0]); in nv20_emit_tex_obj() 217 g = FLOAT_TO_UBYTE(sa->Attrib.state.border_color.f[1]); in nv20_emit_tex_obj() [all …]
|
D | nv10_state_tex.c | 176 s = &to_nouveau_texture(t)->surfaces[t->Attrib.BaseLevel]; in nv10_emit_tex_obj() 177 ti = t->Image[0][t->Attrib.BaseLevel]; in nv10_emit_tex_obj() 184 tx_format = nvgl_wrap_mode(sa->Attrib.WrapT) << 28 in nv10_emit_tex_obj() 185 | nvgl_wrap_mode(sa->Attrib.WrapS) << 24 in nv10_emit_tex_obj() 190 tx_filter = nvgl_filter_mode(sa->Attrib.MagFilter) << 28 in nv10_emit_tex_obj() 191 | nvgl_filter_mode(sa->Attrib.MinFilter) << 24; in nv10_emit_tex_obj() 194 | log2i(sa->Attrib.MaxAnisotropy) << 4; in nv10_emit_tex_obj() 207 if (sa->Attrib.MinFilter != GL_NEAREST && in nv10_emit_tex_obj() 208 sa->Attrib.MinFilter != GL_LINEAR) { in nv10_emit_tex_obj() 209 int lod_min = sa->Attrib.MinLod; in nv10_emit_tex_obj() [all …]
|
/third_party/mesa3d/src/mesa/drivers/dri/i915/ |
D | i915_texstate.c | 169 firstImage = tObj->Image[0][tObj->Attrib.BaseLevel]; in i915_update_tex_unit() 176 tObj->Attrib.DepthMode); in i915_update_tex_unit() 192 maxlod = MIN2(sampler->Attrib.MaxLod, tObj->_MaxLevel - tObj->Attrib.BaseLevel); in i915_update_tex_unit() 203 switch (sampler->Attrib.MinFilter) { in i915_update_tex_unit() 232 if (sampler->Attrib.MaxAnisotropy > 1.0) { in i915_update_tex_unit() 235 if (sampler->Attrib.MaxAnisotropy > 2.0) in i915_update_tex_unit() 241 switch (sampler->Attrib.MagFilter) { in i915_update_tex_unit() 253 lodbias = (int) ((tUnit->LodBias + sampler->Attrib.LodBias) * 16.0); in i915_update_tex_unit() 269 if (sampler->Attrib.CompareMode == GL_COMPARE_R_TO_TEXTURE_ARB && in i915_update_tex_unit() 276 intel_translate_shadow_compare_func(sampler->Attrib.CompareFunc)); in i915_update_tex_unit() [all …]
|
D | intel_tex_validate.c | 27 if (sampler->Attrib.MinFilter == GL_NEAREST || in intel_update_max_level() 28 sampler->Attrib.MinFilter == GL_LINEAR) { in intel_update_max_level() 29 maxlevel = tObj->Attrib.BaseLevel; in intel_update_max_level() 65 if (intelObj->mt && intelObj->mt->first_level != tObj->Attrib.BaseLevel) in intel_finalize_mipmap_tree() 71 firstImage = intel_texture_image(tObj->Image[0][tObj->Attrib.BaseLevel]); in intel_finalize_mipmap_tree() 83 intelObj->mt->first_level != tObj->Attrib.BaseLevel || in intel_finalize_mipmap_tree() 98 width, height, depth, tObj->Attrib.BaseLevel, intelObj->_MaxLevel); in intel_finalize_mipmap_tree() 103 tObj->Attrib.BaseLevel, in intel_finalize_mipmap_tree() 118 for (i = tObj->Attrib.BaseLevel; i <= intelObj->_MaxLevel; i++) { in intel_finalize_mipmap_tree()
|
D | i830_texstate.c | 144 firstImage = tObj->Image[0][tObj->Attrib.BaseLevel]; in i830_update_tex_unit() 146 intel_miptree_get_image_offset(intelObj->mt, tObj->Attrib.BaseLevel, 0, in i830_update_tex_unit() 196 switch (sampler->Attrib.MinFilter) { in i830_update_tex_unit() 225 if (sampler->Attrib.MaxAnisotropy > 1.0) { in i830_update_tex_unit() 232 switch (sampler->Attrib.MagFilter) { in i830_update_tex_unit() 244 lodbias = (int) ((tUnit->LodBias + sampler->Attrib.LodBias) * 16.0); in i830_update_tex_unit() 264 minlod_fixed = U_FIXED(CLAMP(sampler->Attrib.MinLod, 0.0, 11), 4); in i830_update_tex_unit() 265 maxlod = MIN2(sampler->Attrib.MaxLod, tObj->_MaxLevel - tObj->Attrib.BaseLevel); in i830_update_tex_unit() 284 GLenum ws = sampler->Attrib.WrapS; in i830_update_tex_unit() 285 GLenum wt = sampler->Attrib.WrapT; in i830_update_tex_unit() [all …]
|
/third_party/mesa3d/src/mesa/swrast/ |
D | s_texfilter.c | 518 *i = clamp_rect_coord_nearest(samp->Attrib.WrapS, texcoord[0], width); in nearest_texcoord() 519 *j = clamp_rect_coord_nearest(samp->Attrib.WrapT, texcoord[1], height); in nearest_texcoord() 523 *i = nearest_texel_location(samp->Attrib.WrapS, img, width, texcoord[0]); in nearest_texcoord() 528 *i = nearest_texel_location(samp->Attrib.WrapS, img, width, texcoord[0]); in nearest_texcoord() 529 *j = nearest_texel_location(samp->Attrib.WrapT, img, height, texcoord[1]); in nearest_texcoord() 533 *i = nearest_texel_location(samp->Attrib.WrapS, img, width, texcoord[0]); in nearest_texcoord() 538 *i = nearest_texel_location(samp->Attrib.WrapS, img, width, texcoord[0]); in nearest_texcoord() 539 *j = nearest_texel_location(samp->Attrib.WrapT, img, height, texcoord[1]); in nearest_texcoord() 568 clamp_rect_coord_linear(samp->Attrib.WrapS, texcoord[0], in linear_texcoord() 570 clamp_rect_coord_linear(samp->Attrib.WrapT, texcoord[1], in linear_texcoord() [all …]
|
/third_party/mesa3d/src/mesa/state_tracker/ |
D | st_gen_mipmap.c | 59 uint baseLevel = texObj->Attrib.BaseLevel; in st_generate_mipmap() 67 baseLevel += texObj->Attrib.MinLevel; in st_generate_mipmap() 77 lastLevel += texObj->Attrib.MinLevel; in st_generate_mipmap() 91 const GLboolean genSave = texObj->Attrib.GenerateMipmap; in st_generate_mipmap() 96 texObj->Attrib.GenerateMipmap = GL_TRUE; in st_generate_mipmap() 100 texObj->Attrib.GenerateMipmap = genSave; in st_generate_mipmap() 134 if (texObj->Sampler.Attrib.sRGBDecode == GL_SKIP_DECODE_EXT) in st_generate_mipmap()
|
D | st_sampler_view.c | 437 GLenum depth_mode = stObj->base.Attrib.DepthMode; in get_texture_format_swizzle() 458 return swizzle_swizzle(stObj->base.Attrib._Swizzle, tex_swizzle); in get_texture_format_swizzle() 486 unsigned ret = MIN2(stObj->base.Attrib.MinLevel + stObj->base._MaxLevel, in last_level() 489 ret = MIN2(ret, stObj->base.Attrib.MinLevel + in last_level() 490 stObj->base.Attrib.NumLevels - 1); in last_level() 499 return MIN2(stObj->base.Attrib.MinLayer + in last_layer() 500 stObj->base.Attrib.NumLayers - 1, in last_layer() 601 templ.u.tex.first_level = stObj->base.Attrib.MinLevel + in st_create_texture_sampler_view_from_stobj() 602 stObj->base.Attrib.BaseLevel; in st_create_texture_sampler_view_from_stobj() 608 templ.u.tex.first_layer = stObj->base.Attrib.MinLayer; in st_create_texture_sampler_view_from_stobj() [all …]
|
/third_party/mesa3d/src/mesa/drivers/dri/r200/ |
D | r200_tex.c | 368 r200SetTexMaxAnisotropy(t , samp->Attrib.MaxAnisotropy); in r200TexUpdateParameters() 369 r200SetTexFilter(t, samp->Attrib.MinFilter, samp->Attrib.MagFilter); in r200TexUpdateParameters() 370 r200SetTexWrap(t, samp->Attrib.WrapS, samp->Attrib.WrapT, samp->Attrib.WrapR); in r200TexUpdateParameters() 371 r200SetTexBorderColor(t, samp->Attrib.state.border_color.f); in r200TexUpdateParameters() 480 t->base.Sampler.Attrib.MaxAnisotropy = rmesa->radeon.initialMaxAnisotropy; in r200NewTextureObject() 483 …r200SetTexWrap( t, t->base.Sampler.Attrib.WrapS, t->base.Sampler.Attrib.WrapT, t->base.Sampler.Att… in r200NewTextureObject() 484 r200SetTexMaxAnisotropy( t, t->base.Sampler.Attrib.MaxAnisotropy ); in r200NewTextureObject() 485 r200SetTexFilter(t, t->base.Sampler.Attrib.MinFilter, t->base.Sampler.Attrib.MagFilter); in r200NewTextureObject() 486 r200SetTexBorderColor(t, t->base.Sampler.Attrib.state.border_color.f); in r200NewTextureObject() 497 samp->Attrib.MaxAnisotropy = rmesa->radeon.initialMaxAnisotropy; in r200NewSamplerObject()
|
D | radeon_mipmap_tree.c | 254 if (samp->Attrib.MinFilter == GL_NEAREST || samp->Attrib.MinFilter == GL_LINEAR) { in calculate_min_max_lod() 257 minLod = maxLod = tObj->Attrib.BaseLevel; in calculate_min_max_lod() 259 minLod = tObj->Attrib.BaseLevel + (GLint)(samp->Attrib.MinLod); in calculate_min_max_lod() 260 minLod = MAX2(minLod, tObj->Attrib.BaseLevel); in calculate_min_max_lod() 261 minLod = MIN2(minLod, tObj->Attrib.MaxLevel); in calculate_min_max_lod() 262 maxLod = tObj->Attrib.BaseLevel + (GLint)(samp->Attrib.MaxLod + 0.5); in calculate_min_max_lod() 263 maxLod = MIN2(maxLod, tObj->Attrib.MaxLevel); in calculate_min_max_lod() 318 if (texObj->Attrib.BaseLevel < mt->baseLevel) in radeon_miptree_matches_texture() 321 mtBaseLevel = &mt->levels[texObj->Attrib.BaseLevel - mt->baseLevel]; in radeon_miptree_matches_texture() 322 firstImage = texObj->Image[0][texObj->Attrib.BaseLevel]; in radeon_miptree_matches_texture() [all …]
|
/third_party/mesa3d/src/mesa/drivers/dri/radeon/ |
D | radeon_tex.c | 318 radeonSetTexMaxAnisotropy(t , samp->Attrib.MaxAnisotropy); in radeonTexUpdateParameters() 319 radeonSetTexFilter(t, samp->Attrib.MinFilter, samp->Attrib.MagFilter); in radeonTexUpdateParameters() 320 radeonSetTexWrap(t, samp->Attrib.WrapS, samp->Attrib.WrapT); in radeonTexUpdateParameters() 321 radeonSetTexBorderColor(t, samp->Attrib.state.border_color.f); in radeonTexUpdateParameters() 414 t->base.Sampler.Attrib.MaxAnisotropy = rmesa->radeon.initialMaxAnisotropy; in radeonNewTextureObject() 422 radeonSetTexWrap( t, t->base.Sampler.Attrib.WrapS, t->base.Sampler.Attrib.WrapT ); in radeonNewTextureObject() 423 radeonSetTexMaxAnisotropy( t, t->base.Sampler.Attrib.MaxAnisotropy ); in radeonNewTextureObject() 424 radeonSetTexFilter( t, t->base.Sampler.Attrib.MinFilter, t->base.Sampler.Attrib.MagFilter ); in radeonNewTextureObject() 425 radeonSetTexBorderColor( t, t->base.Sampler.Attrib.state.border_color.f ); in radeonNewTextureObject() 436 samp->Attrib.MaxAnisotropy = rmesa->radeon.initialMaxAnisotropy; in radeonNewSamplerObject()
|
D | radeon_mipmap_tree.c | 254 if (samp->Attrib.MinFilter == GL_NEAREST || samp->Attrib.MinFilter == GL_LINEAR) { in calculate_min_max_lod() 257 minLod = maxLod = tObj->Attrib.BaseLevel; in calculate_min_max_lod() 259 minLod = tObj->Attrib.BaseLevel + (GLint)(samp->Attrib.MinLod); in calculate_min_max_lod() 260 minLod = MAX2(minLod, tObj->Attrib.BaseLevel); in calculate_min_max_lod() 261 minLod = MIN2(minLod, tObj->Attrib.MaxLevel); in calculate_min_max_lod() 262 maxLod = tObj->Attrib.BaseLevel + (GLint)(samp->Attrib.MaxLod + 0.5); in calculate_min_max_lod() 263 maxLod = MIN2(maxLod, tObj->Attrib.MaxLevel); in calculate_min_max_lod() 318 if (texObj->Attrib.BaseLevel < mt->baseLevel) in radeon_miptree_matches_texture() 321 mtBaseLevel = &mt->levels[texObj->Attrib.BaseLevel - mt->baseLevel]; in radeon_miptree_matches_texture() 322 firstImage = texObj->Image[0][texObj->Attrib.BaseLevel]; in radeon_miptree_matches_texture() [all …]
|
/third_party/boost/libs/spirit/doc/qi/ |
D | action.qbk | 33 [[`fa`] [A (semantic action) function with signature `void(Attrib&, Context, bool&)`. 37 [[`Attrib`][The attribute obtained from the parse.]] 57 template <typename Attrib> 58 void fa(Attrib& attr); 60 template <typename Attrib, typename Context> 61 void fa(Attrib& attr, Context& context); 63 template <typename Attrib, typename Context> 64 void fa(Attrib& attr, Context& context, bool& pass); 67 output from by assigning it to the first parameter, `attr`. Here `Attrib` is
|
/third_party/mesa3d/src/gallium/drivers/swr/rasterizer/common/ |
D | simdintrin.h | 225 template <UINT Attrib, UINT Comp, UINT numComponents = 4> 230 const float* pInterpA = &pInterpBuffer[Attrib * 3 * numComponents + 0 + Comp]; in InterpolateComponent() 231 const float* pInterpB = &pInterpBuffer[Attrib * 3 * numComponents + numComponents + Comp]; in InterpolateComponent() 232 const float* pInterpC = &pInterpBuffer[Attrib * 3 * numComponents + numComponents * 2 + Comp]; in InterpolateComponent() 254 template <UINT Attrib, UINT Comp, UINT numComponents = 4> 257 const float* pInterpA = &pInterpBuffer[Attrib * 3 * numComponents + 0 + Comp]; in InterpolateComponentFlat() 267 template <UINT Attrib, UINT Comp, UINT numComponents = 4> 270 const uint32_t interpA = pInterpBuffer[Attrib * 3 * numComponents + 0 + Comp]; in InterpolateComponentFlatInt() 282 template <UINT Attrib, UINT Comp, UINT numComponents = 4> 287 const float* pInterpA = &pInterpBuffer[Attrib * 3 * numComponents + 0 + Comp]; in InterpolateComponent() [all …]
|
/third_party/boost/libs/spirit/doc/karma/ |
D | action.qbk | 33 [[`fa`] [A (semantic action) function with signature `void(Attrib&, Context&, bool&)`. 37 [[`Attrib`][The attribute to be used to generate output from.]] 56 template <typename Attrib> 57 void fa(Attrib& attr); 59 template <typename Attrib, typename Context> 60 void fa(Attrib& attr, Context& context); 62 template <typename Attrib, typename Context> 63 void fa(Attrib& attr, Context& context, bool& pass); 66 output from by assigning it to the first parameter, `attr`. Here `Attrib` is
|
/third_party/mesa3d/src/mesa/drivers/common/ |
D | meta_generate_mipmap.c | 74 srcLevel = texObj->Attrib.BaseLevel; in fallback_required() 152 const GLuint baseLevel = texObj->Attrib.BaseLevel; in _mesa_meta_GenerateMipmap() 153 const GLuint maxLevel = texObj->Attrib.MaxLevel; in _mesa_meta_GenerateMipmap() 154 const GLint maxLevelSave = texObj->Attrib.MaxLevel; in _mesa_meta_GenerateMipmap() 155 const GLboolean genMipmapSave = texObj->Attrib.GenerateMipmap; in _mesa_meta_GenerateMipmap() 229 _mesa_select_tex_image(texObj, target, texObj->Attrib.BaseLevel); in _mesa_meta_GenerateMipmap() 244 if (texObj->Attrib._Swizzle != SWIZZLE_NOOP) { in _mesa_meta_GenerateMipmap() 246 memcpy(swizzle, texObj->Attrib.Swizzle, sizeof(swizzle)); in _mesa_meta_GenerateMipmap()
|
/third_party/mesa3d/src/mesa/drivers/dri/i965/ |
D | brw_tex_validate.c | 52 (sampler->Attrib.MinFilter == GL_NEAREST || in brw_update_max_level() 53 sampler->Attrib.MinFilter == GL_LINEAR))) { in brw_update_max_level() 54 brw_obj->_MaxLevel = tObj->Attrib.BaseLevel; in brw_update_max_level() 81 int validate_first_level = tObj->Attrib.BaseLevel; in brw_finalize_mipmap_tree() 106 firstImage = brw_texture_image(tObj->Image[0][tObj->Attrib.BaseLevel]); in brw_finalize_mipmap_tree()
|