From: Brian Date: Thu, 13 Mar 2008 23:04:56 +0000 (-0600) Subject: gallium: fix bug in draw_num_vs_outputs() X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=ce49c4c24bf72ea642015d566ff687d512574fd5;p=mesa.git gallium: fix bug in draw_num_vs_outputs() --- diff --git a/src/gallium/auxiliary/draw/draw_context.c b/src/gallium/auxiliary/draw/draw_context.c index 3d09d958518..e8473a4c572 100644 --- a/src/gallium/auxiliary/draw/draw_context.c +++ b/src/gallium/auxiliary/draw/draw_context.c @@ -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; }