summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/nvc0/nvc0_stateobj.h
diff options
context:
space:
mode:
authorChristoph Bumiller <[email protected]>2011-02-12 19:18:19 +0100
committerChristoph Bumiller <[email protected]>2011-02-16 15:45:30 +0100
commit17d680cc537acf8a967d9e36f7006afab560122a (patch)
treef884c241b5059046b2a458cfc79e05dabfc43d80 /src/gallium/drivers/nvc0/nvc0_stateobj.h
parentbf1ce9c64b3da731bc6073055abc9f3340ac5a17 (diff)
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.
Diffstat (limited to 'src/gallium/drivers/nvc0/nvc0_stateobj.h')
-rw-r--r--src/gallium/drivers/nvc0/nvc0_stateobj.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gallium/drivers/nvc0/nvc0_stateobj.h b/src/gallium/drivers/nvc0/nvc0_stateobj.h
index 752e927e2aa..5b15e286751 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];