[Mesa-dev] [PATCH] mesa: handle STATE_CURRENT_ATTRIB_MAYBE_VP_CLAMPED for parameter printing

Brian Paul brian.e.paul at gmail.com
Thu Mar 28 11:40:55 PDT 2013


On Thu, Mar 28, 2013 at 11:18 AM, Marek Olšák <maraeo at gmail.com> wrote:
> ---
>  src/mesa/program/prog_statevars.c |    3 +++
>  1 file changed, 3 insertions(+)
>
> diff --git a/src/mesa/program/prog_statevars.c b/src/mesa/program/prog_statevars.c
> index 5a35079..ccc590d 100644
> --- a/src/mesa/program/prog_statevars.c
> +++ b/src/mesa/program/prog_statevars.c
> @@ -871,6 +871,9 @@ append_token(char *dst, gl_state_index k)
>     case STATE_CURRENT_ATTRIB:
>        append(dst, "current");
>        break;
> +   case STATE_CURRENT_ATTRIB_MAYBE_VP_CLAMPED:
> +      append(dst, "currentAttribMaybeVPClamped");
> +      break;
>     case STATE_NORMAL_SCALE:
>        append(dst, "normalScale");
>        break;


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


More information about the mesa-dev mailing list