diff options
author | Marek Olšák <[email protected]> | 2014-03-03 01:04:22 +0100 |
---|---|---|
committer | Marek Olšák <[email protected]> | 2014-03-15 17:47:35 +0100 |
commit | 3d42696d10377bc8fcad06eac3be2ec291490545 (patch) | |
tree | 65e64b3ef6a27c967e48130f8af01d4b245428dc /src/mesa/state_tracker/st_program.c | |
parent | 7554539d7ebbed5f5048ddeadaf5a5dc6e2ce2a6 (diff) |
st/mesa: fix per-vertex edge flags and GLSL support (v2)
This fixes piglit/gl-2.0-edgeflag.
v2: use StrideB to recognize per-vertex edge flags
Cc: [email protected]
Diffstat (limited to 'src/mesa/state_tracker/st_program.c')
-rw-r--r-- | src/mesa/state_tracker/st_program.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mesa/state_tracker/st_program.c b/src/mesa/state_tracker/st_program.c index e9074ac97e4..692a57008f3 100644 --- a/src/mesa/state_tracker/st_program.c +++ b/src/mesa/state_tracker/st_program.c @@ -342,14 +342,14 @@ st_translate_vertex_program(struct st_context *st, stvp->glsl_to_tgsi, &stvp->Base.Base, /* inputs */ - stvp->num_inputs, + vpv->num_inputs, stvp->input_to_index, NULL, /* input semantic name */ NULL, /* input semantic index */ NULL, /* interp mode */ NULL, /* is centroid */ /* outputs */ - stvp->num_outputs, + num_outputs, stvp->result_to_output, stvp->output_semantic_name, stvp->output_semantic_index, |