mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 03:08:05 +02:00
gallium/tests: add missing arg to util_make_vertex_passthrough_shader()
Fix oversights from the "add a window_space option to the passthrough vertex shader" patch. Reviewed-by: Jakob Bornecrantz <jakob@vmware.com>
This commit is contained in:
parent
ae4536b4f7
commit
920f875132
2 changed files with 2 additions and 2 deletions
|
|
@ -266,7 +266,7 @@ static void init_prog(struct program *p)
|
|||
const uint semantic_names[] = { TGSI_SEMANTIC_POSITION,
|
||||
TGSI_SEMANTIC_GENERIC };
|
||||
const uint semantic_indexes[] = { 0, 0 };
|
||||
p->vs = util_make_vertex_passthrough_shader(p->pipe, 2, semantic_names, semantic_indexes);
|
||||
p->vs = util_make_vertex_passthrough_shader(p->pipe, 2, semantic_names, semantic_indexes, FALSE);
|
||||
}
|
||||
|
||||
/* fragment shader */
|
||||
|
|
|
|||
|
|
@ -211,7 +211,7 @@ static void init_prog(struct program *p)
|
|||
const uint semantic_names[] = { TGSI_SEMANTIC_POSITION,
|
||||
TGSI_SEMANTIC_COLOR };
|
||||
const uint semantic_indexes[] = { 0, 0 };
|
||||
p->vs = util_make_vertex_passthrough_shader(p->pipe, 2, semantic_names, semantic_indexes);
|
||||
p->vs = util_make_vertex_passthrough_shader(p->pipe, 2, semantic_names, semantic_indexes, FALSE);
|
||||
}
|
||||
|
||||
/* fragment shader */
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue