i965: Fix VS URB entry sizing.

I'm trying to clamp to a minimum of 1 URB row, not a maximum of 1.

Fixes:
glsl-kwin-blur
glsl-max-varying
glsl-routing
This commit is contained in:
Eric Anholt
2010-10-26 14:36:18 -07:00
parent 88087ba1bf
commit 00bfdac5b8
+1 -1
View File
@@ -40,7 +40,7 @@ prepare_urb( struct brw_context *brw )
else
brw->urb.nr_gs_entries = 0;
/* CACHE_NEW_VS_PROG */
brw->urb.vs_size = MIN2(brw->vs.prog_data->urb_entry_size, 1);
brw->urb.vs_size = MAX2(brw->vs.prog_data->urb_entry_size, 1);
/* Check that the number of URB rows (8 floats each) allocated is less
* than the URB space.