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: mesa-stable@lists.freedesktop.org
This commit is contained in:
Marek Olšák
2014-03-03 01:04:22 +01:00
parent 7554539d7e
commit 3d42696d10
2 changed files with 6 additions and 7 deletions

View File

@@ -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,