Are you sure of that? You only get 11 stride bits to program, and they
are in bytes. Therefore I can't see how you could program 2048 (unless
the hw would interpet 0 as 2048 but I think stride 0 is valid there?).

Roland


Am 02.02.2018 um 07:23 schrieb Dave Airlie:
> From: Dave Airlie <airl...@redhat.com>
> 
> This fixes:
> KHR-GL45.limits.max_vertex_attrib_stride
> looks like a typo from the first commit.
> 
> Signed-off-by: Dave Airlie <airl...@redhat.com>
> ---
>  src/gallium/drivers/r600/r600_pipe.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/src/gallium/drivers/r600/r600_pipe.c 
> b/src/gallium/drivers/r600/r600_pipe.c
> index 6c021e568d..29fadf6200 100644
> --- a/src/gallium/drivers/r600/r600_pipe.c
> +++ b/src/gallium/drivers/r600/r600_pipe.c
> @@ -451,7 +451,7 @@ static int r600_get_param(struct pipe_screen* pscreen, 
> enum pipe_cap param)
>               return family >= CHIP_CEDAR ? 4 : 1;
>  
>       case PIPE_CAP_MAX_VERTEX_ATTRIB_STRIDE:
> -             return 2047;
> +             return 2048;
>  
>       /* Texturing. */
>       case PIPE_CAP_MAX_TEXTURE_2D_LEVELS:
> 

_______________________________________________
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/mesa-dev

Reply via email to