From eb673c55f1f2e6a31e7148b1d1d08fcc8c606aa5 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Marek=20Ol=C5=A1=C3=A1k?= Date: Wed, 25 May 2022 19:42:56 -0400 Subject: [PATCH] st/mesa: remove unused GENERIC input and output from the clear VS MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Reviewed-by: Charmaine Lee Tested-by: Pavel Ondračka Part-of: --- src/mesa/state_tracker/st_cb_clear.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/mesa/state_tracker/st_cb_clear.c b/src/mesa/state_tracker/st_cb_clear.c index f24ddb9..0fb1d33 100644 --- a/src/mesa/state_tracker/st_cb_clear.c +++ b/src/mesa/state_tracker/st_cb_clear.c @@ -170,10 +170,9 @@ set_vertex_shader(struct st_context *st) } else { const enum tgsi_semantic semantic_names[] = { TGSI_SEMANTIC_POSITION, - TGSI_SEMANTIC_GENERIC }; - const uint semantic_indexes[] = { 0, 0 }; - st->clear.vs = util_make_vertex_passthrough_shader(st->pipe, 2, + const uint semantic_indexes[] = { 0 }; + st->clear.vs = util_make_vertex_passthrough_shader(st->pipe, 1, semantic_names, semantic_indexes, FALSE); -- 2.7.4