mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 11:48:06 +02:00
r300-gallium: Slightly hacky fix for glxgears-style TCL.
This commit is contained in:
parent
bc302b2a33
commit
1fa023ae48
1 changed files with 7 additions and 0 deletions
|
|
@ -163,6 +163,13 @@ static void r300_vs_tab_routes(struct r300_context* r300,
|
|||
vinfo->hwfmt[3] |= (4 << (3 * i));
|
||||
}
|
||||
|
||||
/* Handle the case where the vertex shader will be generating some of
|
||||
* the attribs based on its inputs. */
|
||||
if (r300screen->caps->has_tcl &&
|
||||
info->num_inputs < info->num_outputs) {
|
||||
vinfo->num_attribs = info->num_inputs;
|
||||
}
|
||||
|
||||
draw_compute_vertex_size(vinfo);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue