[Mesa-dev] [PATCH] gallium: fix the documentation of PIPE_CAP_MAX_TEXTURE_BUFFER_SIZE

Marek Olšák maraeo at gmail.com
Tue Jan 26 12:26:19 PST 2016


Reviewed-by: Marek Olšák <marek.olsak at amd.com>

Marek

On Tue, Jan 26, 2016 at 5:06 PM, Nicolai Hähnle <nhaehnle at gmail.com> wrote:
> From: Nicolai Hähnle <nicolai.haehnle at amd.com>
>
> This parameter is equivalent to the corresponding OpenGL implementation
> limit which is in texels, not bytes.
> ---
> Based on a discussion in IRC; I plan to push it with the rest of the
> series on PBO uploads.
>
>  src/gallium/docs/source/screen.rst | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/src/gallium/docs/source/screen.rst b/src/gallium/docs/source/screen.rst
> index 1fcd882..c95136f 100644
> --- a/src/gallium/docs/source/screen.rst
> +++ b/src/gallium/docs/source/screen.rst
> @@ -168,7 +168,7 @@ The integer capabilities:
>    view it is intended to be used with, or herein undefined results may occur
>    for permutational swizzles.
>  * ``PIPE_CAP_MAX_TEXTURE_BUFFER_SIZE``: The maximum accessible size with
> -  a buffer sampler view, in bytes.
> +  a buffer sampler view, in texels.
>  * ``PIPE_CAP_MAX_VIEWPORTS``: The maximum number of viewports (and scissors
>    since they are linked) a driver can support. Returning 0 is equivalent
>    to returning 1 because every driver has to support at least a single
> --
> 2.5.0
>
> _______________________________________________
> mesa-dev mailing list
> mesa-dev at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/mesa-dev


More information about the mesa-dev mailing list