From 74265fd03cbd0fe7371010c2d7d46d5870948df8 Mon Sep 17 00:00:00 2001 From: Samuel Pitoiset Date: Wed, 15 Mar 2017 12:40:13 +0100 Subject: [PATCH] tgsi: add missing compute shader entry in tgsi_get_processor_name() MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Samuel Pitoiset Reviewed-by: Marek Olšák --- src/gallium/auxiliary/tgsi/tgsi_info.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/gallium/auxiliary/tgsi/tgsi_info.c b/src/gallium/auxiliary/tgsi/tgsi_info.c index f8bedeee301..ec1726595d6 100644 --- a/src/gallium/auxiliary/tgsi/tgsi_info.c +++ b/src/gallium/auxiliary/tgsi/tgsi_info.c @@ -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!"; } -- 2.30.2