tgsi: add missing compute shader entry in tgsi_get_processor_name()
authorSamuel Pitoiset <samuel.pitoiset@gmail.com>
Wed, 15 Mar 2017 11:40:13 +0000 (12:40 +0100)
committerSamuel Pitoiset <samuel.pitoiset@gmail.com>
Wed, 15 Mar 2017 13:16:29 +0000 (14:16 +0100)
Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Reviewed-by: Marek Olšák <marek.olsak@amd.com>
src/gallium/auxiliary/tgsi/tgsi_info.c

index f8bedeee301f3225afa9da22eaf50dd68ed351bf..ec1726595d629ceaa273f61373b9f54387eac056 100644 (file)
@@ -332,6 +332,8 @@ tgsi_get_processor_name( uint processor )
       return "tessellation control shader";
    case PIPE_SHADER_TESS_EVAL:
       return "tessellation evaluation shader";
+   case PIPE_SHADER_COMPUTE:
+      return "compute shader";
    default:
       return "unknown shader type!";
    }