[Mesa-dev] [PATCH] tgsi: add missing compute shader entry in tgsi_get_processor_name()
Marek Olšák
maraeo at gmail.com
Wed Mar 15 12:48:13 UTC 2017
Reviewed-by: Marek Olšák <marek.olsak at amd.com>
Marek
On Wed, Mar 15, 2017 at 12:40 PM, Samuel Pitoiset
<samuel.pitoiset at gmail.com> wrote:
> 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
>
> _______________________________________________
> mesa-dev mailing list
> mesa-dev at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/mesa-dev
More information about the mesa-dev
mailing list