From 74265fd03cbd0fe7371010c2d7d46d5870948df8 Mon Sep 17 00:00:00 2001 From: Samuel Pitoiset Date: Wed, 15 Mar 2017 12:40:13 +0100 Subject: tgsi: add missing compute shader entry in tgsi_get_processor_name() MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 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(+) (limited to 'src/gallium') 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!"; } -- cgit v1.2.3