From 299c55df8846b9462570cc8fdd3f1933bfa5e2b0 Mon Sep 17 00:00:00 2001 From: Drew DeVault Date: Thu, 7 Nov 2019 12:47:28 -0500 Subject: [PATCH] st_get_external_sampler_key: improve error message MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Marek Olšák --- src/mesa/state_tracker/st_program.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/mesa/state_tracker/st_program.h b/src/mesa/state_tracker/st_program.h index 90a77b9c17b..900f5fc8ef1 100644 --- a/src/mesa/state_tracker/st_program.h +++ b/src/mesa/state_tracker/st_program.h @@ -93,7 +93,8 @@ st_get_external_sampler_key(struct st_context *st, struct gl_program *prog) key.lower_xyuv |= (1 << unit); break; default: - printf("unhandled %u\n", st_get_view_format(stObj)); + printf("mesa: st_get_external_sampler_key: unhandled pipe format %u\n", + st_get_view_format(stObj)); break; } } -- 2.30.2