mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-06 13:10:10 +01:00
gallium: fix bug in draw_num_vs_outputs()
This commit is contained in:
parent
cf106789ab
commit
ce49c4c24b
1 changed files with 1 additions and 1 deletions
|
|
@ -311,7 +311,7 @@ uint
|
|||
draw_num_vs_outputs(struct draw_context *draw)
|
||||
{
|
||||
uint count = draw->vertex_shader->info.num_outputs;
|
||||
if (draw->extra_vp_outputs.slot >= 0)
|
||||
if (draw->extra_vp_outputs.slot > 0)
|
||||
count++;
|
||||
return count;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue