Lines Matching refs:base_format
673 GLenum base_format = _mesa_base_tex_format(ctx, internalFormat); in _mesa_query_internal_format_default() local
674 switch (base_format) { in _mesa_query_internal_format_default()
683 params[0] = base_format; in _mesa_query_internal_format_default()
695 GLenum base_format = _mesa_base_tex_format(ctx, internalFormat); in _mesa_query_internal_format_default() local
696 if (base_format > 0) in _mesa_query_internal_format_default()
706 GLenum base_format = _mesa_base_tex_format(ctx, internalFormat); in _mesa_query_internal_format_default() local
707 if (base_format > 0) { in _mesa_query_internal_format_default()
709 format = _mesa_base_format_to_integer_format(base_format); in _mesa_query_internal_format_default()
711 format = base_format; in _mesa_query_internal_format_default()
1426 GLint base_format; in _mesa_GetInternalformativ() local
1433 base_format = _mesa_base_tex_format(ctx, internalformat); in _mesa_GetInternalformativ()
1434 if (base_format == -1) in _mesa_GetInternalformativ()
1438 buffer[0] = _mesa_base_format_to_integer_format(base_format); in _mesa_GetInternalformativ()
1440 buffer[0] = base_format; in _mesa_GetInternalformativ()