[Mesa-dev] [PATCH 02/17] Modified softpipe to return 64 in case of PIPE_CAP_MIN_MAP_BUFFER_ALIGNMENT.
Christoph Brill
egore911 at gmail.com
Mon Nov 25 14:55:06 PST 2013
Am 25.11.2013 06:36 schrieb "Siavash Eliasi" <siavashserver at gmail.com>:
>
> ---
> src/gallium/drivers/softpipe/sp_screen.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/src/gallium/drivers/softpipe/sp_screen.c
b/src/gallium/drivers/softpipe/sp_screen.c
> index 47ef20e..022b5bf 100644
> --- a/src/gallium/drivers/softpipe/sp_screen.c
> +++ b/src/gallium/drivers/softpipe/sp_screen.c
> @@ -169,7 +169,7 @@ softpipe_get_param(struct pipe_screen *screen, enum
pipe_cap param)
> case PIPE_CAP_START_INSTANCE:
> case PIPE_CAP_TEXTURE_MULTISAMPLE:
> case PIPE_CAP_MIN_MAP_BUFFER_ALIGNMENT:
> - return 0;
> + return 64;
This would return 64 for PIPE_CAP_START_INSTANCE,
PIPE_CAP_TEXTURE_MULTISAMPLE, etc. as well, which likely is wrong.
> case PIPE_CAP_QUERY_TIMESTAMP:
> case PIPE_CAP_CUBE_MAP_ARRAY:
> return 1;
> --
> 1.8.4.2
>
> _______________________________________________
> mesa-dev mailing list
> mesa-dev at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/mesa-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/mesa-dev/attachments/20131125/5fc62835/attachment.html>
More information about the mesa-dev
mailing list