diff options
author | Brian Paul <[email protected]> | 2016-05-24 17:44:30 -0600 |
---|---|---|
committer | Brian Paul <[email protected]> | 2016-05-25 07:21:23 -0600 |
commit | 9690ab0cdf3cdbcdabce4858fd84711b3afbb9aa (patch) | |
tree | 88d8ee20e0125399391aa62d5d7bf24a60b50c9e /src/gallium/auxiliary/tgsi/tgsi_dump.c | |
parent | 2b773fcf0093cab9a4ba93dba48499e4e7e2ac8c (diff) |
tgsi: print TGSI_PROPERTY_NEXT_SHADER value as string, not an integer
Print "GEOM" instead of "2", for example.
v2: also update the text parsing code, per Ilia.
Reviewed-by: Ilia Mirkin <[email protected]>
Reviewed-by: Marek Olšák <[email protected]>
Diffstat (limited to 'src/gallium/auxiliary/tgsi/tgsi_dump.c')
-rw-r--r-- | src/gallium/auxiliary/tgsi/tgsi_dump.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/gallium/auxiliary/tgsi/tgsi_dump.c b/src/gallium/auxiliary/tgsi/tgsi_dump.c index 0d8bd1b6a1f..d59b7ff8012 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; |