[Mesa-dev] [PATCH] tgsi: add missing compute shader entry in tgsi_get_processor_name()
Samuel Pitoiset
samuel.pitoiset at gmail.com
Wed Mar 15 11:40:13 UTC 2017
Signed-off-by: Samuel Pitoiset <samuel.pitoiset at gmail.com>
---
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 f8bedeee30..ec1726595d 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.12.0
More information about the mesa-dev
mailing list