Le samedi 21 mars 2015, 00:35:08 Tom Stellard a écrit :
> ---
>  src/gallium/drivers/radeonsi/si_pipe.c | 6 +++++-
>  1 file changed, 5 insertions(+), 1 deletion(-)
> 
> diff --git a/src/gallium/drivers/radeonsi/si_pipe.c
> b/src/gallium/drivers/radeonsi/si_pipe.c index f1a5388..545c156 100644
> --- a/src/gallium/drivers/radeonsi/si_pipe.c
> +++ b/src/gallium/drivers/radeonsi/si_pipe.c
> @@ -373,8 +373,12 @@ static int si_get_shader_param(struct pipe_screen*
> pscreen, unsigned shader, enu return max_const_buffer_size;
>               }
>               default:
> -                     return 0;
> +                     /* If compute shaders don't require a speical value
There is a typo here: speical

> +                      * for this cap, we can return the same value we
> +                      * do for other shader types. */
> +                     break;
>               }
> +             break;
>       default:
>               /* TODO: support tessellation */
>               return 0;

-- 
Laurent Carlier
http://www.archlinux.org

Attachment: signature.asc
Description: This is a digitally signed message part.

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

Reply via email to