[Mesa-dev] [PATCH 3/3] gallium: fix function description

Brian Paul brianp at vmware.com
Wed Nov 23 07:50:19 PST 2011


On 11/21/2011 03:01 PM, Vincent Lejeune wrote:
>     ureg_DECL_constant2D does not return anything.
> ---
>   src/gallium/auxiliary/tgsi/tgsi_ureg.c |    4 ++--
>   1 files changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/src/gallium/auxiliary/tgsi/tgsi_ureg.c b/src/gallium/auxiliary/tgsi/tgsi_ureg.c
> index cada435..5d8dbba 100644
> --- a/src/gallium/auxiliary/tgsi/tgsi_ureg.c
> +++ b/src/gallium/auxiliary/tgsi/tgsi_ureg.c
> @@ -414,8 +414,8 @@ out:
>   }
>
>
> -/* Returns a new constant register.  Keep track of which have been
> - * referred to so that we can emit decls later.
> +/* Declare range [first...last] of register in the index2d-th constant
> + * buffer. This range can overlap previously declared range.
>    *
>    * Constant operands declared with this function must be addressed
>    * with a two-dimensional index.


Reviewed-by: Brian Paul <brianp at vmware.com>


More information about the mesa-dev mailing list