Re: [Mesa-dev] 2 util_format patches

2010-05-03 Thread José Fonseca
On Mon, 2010-05-03 at 10:42 -0700, Brian Paul wrote: > Marek Olšák wrote: > > José, > > > > the first patch removes the PIPE_FORMAT_ prefix in a string returned by > > util_format_name, it makes debug logs shorter. The second patch adds > > util_format_is_plain. > > I'd prefer to keep the long

Re: [Mesa-dev] 2 util_format patches

2010-05-03 Thread Brian Paul
Marek Olšák wrote: José, the first patch removes the PIPE_FORMAT_ prefix in a string returned by util_format_name, it makes debug logs shorter. The second patch adds util_format_is_plain. I'd prefer to keep the long format names. I was recently burned by the Gallium docs omitting the prefix

Re: [Mesa-dev] 2 util_format patches

2010-05-03 Thread José Fonseca
On Mon, 2010-05-03 at 10:25 -0700, Marek Olšák wrote: > José, > > the first patch removes the PIPE_FORMAT_ prefix in a string returned > by util_format_name, it makes debug logs shorter. The second patch > adds util_format_is_plain. > > diff --git a/src/gallium/auxiliary/util/u_format.h > b/src/g

[Mesa-dev] 2 util_format patches

2010-05-03 Thread Marek Olšák
José, the first patch removes the PIPE_FORMAT_ prefix in a string returned by util_format_name, it makes debug logs shorter. The second patch adds util_format_is_plain. diff --git a/src/gallium/auxiliary/util/u_format.h b/src/gallium/auxiliary/util/u_format.h index fb6ade5..d851c31 100644 --- a/s