summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSamuel Pitoiset <[email protected]>2017-03-15 12:40:13 +0100
committerSamuel Pitoiset <[email protected]>2017-03-15 14:16:29 +0100
commit74265fd03cbd0fe7371010c2d7d46d5870948df8 (patch)
tree76bfae3f8f512a36157cf492ab2f61d7add6b57f
parent38ee3246d2a93b0b87e5fc9d214d35217d7a1845 (diff)
tgsi: add missing compute shader entry in tgsi_get_processor_name()
Signed-off-by: Samuel Pitoiset <[email protected]> Reviewed-by: Marek Olšák <[email protected]>
-rw-r--r--src/gallium/auxiliary/tgsi/tgsi_info.c2
1 files changed, 2 insertions, 0 deletions
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!";
}