From 17d680cc537acf8a967d9e36f7006afab560122a Mon Sep 17 00:00:00 2001 From: Christoph Bumiller Date: Sat, 12 Feb 2011 19:18:19 +0100 Subject: nvc0: force vertex data through FIFO if we need to convert it We may want to put the converted vertex buffer in persistent storage instead, but these are rare corner cases. --- src/gallium/drivers/nvc0/nvc0_stateobj.h | 1 + 1 file changed, 1 insertion(+) (limited to 'src/gallium/drivers/nvc0/nvc0_stateobj.h') diff --git a/src/gallium/drivers/nvc0/nvc0_stateobj.h b/src/gallium/drivers/nvc0/nvc0_stateobj.h index 752e927e2a..5b15e28675 100644 --- a/src/gallium/drivers/nvc0/nvc0_stateobj.h +++ b/src/gallium/drivers/nvc0/nvc0_stateobj.h @@ -67,6 +67,7 @@ struct nvc0_vertex_stateobj { unsigned num_elements; uint32_t instance_elts; uint32_t instance_bufs; + boolean need_conversion; /* e.g. VFETCH cannot convert f64 to f32 */ unsigned vtx_size; unsigned vtx_per_packet_max; struct nvc0_vertex_element element[0]; -- cgit v1.2.3