st/mesa: remove unused GENERIC input and output from the clear VS
Reviewed-by: Charmaine Lee <charmainel@vmware.com> Tested-by: Pavel Ondračka <pavel.ondracka@gmail.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16711>
This commit is contained in:
parent
3d6e44fd2a
commit
eb673c55f1
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue