[Mesa-dev] [PATCH 2/2] tgsi: print TGSI_PROPERTY_NEXT_SHADER value as string, not an integer

Ilia Mirkin imirkin at alum.mit.edu
Tue May 24 23:48:21 UTC 2016


Please adjust the parser to read this in as well.

On Tue, May 24, 2016 at 7:45 PM, Brian Paul <brianp at vmware.com> wrote:
> Print "GEOM" instead of "2", for example.
> ---
>  src/gallium/auxiliary/tgsi/tgsi_dump.c | 3 +++
>  1 file changed, 3 insertions(+)
>
> diff --git a/src/gallium/auxiliary/tgsi/tgsi_dump.c b/src/gallium/auxiliary/tgsi/tgsi_dump.c
> index 0d8bd1b..d59b7ff 100644
> --- a/src/gallium/auxiliary/tgsi/tgsi_dump.c
> +++ b/src/gallium/auxiliary/tgsi/tgsi_dump.c
> @@ -470,6 +470,9 @@ iter_property(
>        case TGSI_PROPERTY_FS_COORD_PIXEL_CENTER:
>           ENM(prop->u[i].Data, tgsi_fs_coord_pixel_center_names);
>           break;
> +      case TGSI_PROPERTY_NEXT_SHADER:
> +         ENM(prop->u[i].Data, tgsi_processor_type_names);
> +         break;
>        default:
>           SID( prop->u[i].Data );
>           break;
> --
> 1.9.1
>
> _______________________________________________
> mesa-dev mailing list
> mesa-dev at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/mesa-dev


More information about the mesa-dev mailing list