[Mesa-dev] [PATCH 08/16] ilo: Set PIPE_CAP_MIN_MAP_BUFFER_ALIGNMENT to 64
Chia-I Wu
olvaffe at gmail.com
Thu Jan 23 06:59:13 PST 2014
On Thu, Jan 23, 2014 at 12:48 PM, Ian Romanick <idr at freedesktop.org> wrote:
> From: Siavash Eliasi <siavashserver at gmail.com>
>
> Ian manually ran the map_buffer_range* tests and the
> arb_map_buffer_alignment-* tests, but he did not do a full piglit run.
Thanks for going ahead and testing. The patch is
Reviewed-by: Chia-I Wu <olvaffe at gmail.com>
> v2 (idr): Use 64 instead of 4096
>
> Tested-by: Ian Romanick <ian.d.romanick at intel.com>
> Cc: Chia-I Wu <olvaffe at gmail.com>
> ---
> src/gallium/drivers/ilo/ilo_screen.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/src/gallium/drivers/ilo/ilo_screen.c b/src/gallium/drivers/ilo/ilo_screen.c
> index 13a0be5..1443ba3 100644
> --- a/src/gallium/drivers/ilo/ilo_screen.c
> +++ b/src/gallium/drivers/ilo/ilo_screen.c
> @@ -408,7 +408,7 @@ ilo_get_param(struct pipe_screen *screen, enum pipe_cap param)
> case PIPE_CAP_TEXTURE_MULTISAMPLE:
> return false; /* TODO */
> case PIPE_CAP_MIN_MAP_BUFFER_ALIGNMENT:
> - return 0;
> + return 64;
> case PIPE_CAP_CUBE_MAP_ARRAY:
> case PIPE_CAP_TEXTURE_BUFFER_OBJECTS:
> return true;
> --
> 1.8.1.4
>
--
olv at LunarG.com
More information about the mesa-dev
mailing list