diff options
author | Marek Olšák <[email protected]> | 2011-11-19 21:44:24 +0100 |
---|---|---|
committer | Christoph Bumiller <[email protected]> | 2011-12-15 18:50:44 +0100 |
commit | 4f4a1be2009863ea34a69b22f58aa1ca08cd710f (patch) | |
tree | 48eb1c6819340fb06c92b5ccd6d069e3c90671ab /src/gallium/drivers/nvc0 | |
parent | 14bb957b996dcc5392b8fa589bd3ffa5c55cb6b4 (diff) |
gallium: disable stream output in drivers that support it
I am going to make interface changes and I don't want to break compilation.
Diffstat (limited to 'src/gallium/drivers/nvc0')
-rw-r--r-- | src/gallium/drivers/nvc0/nvc0_state.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/gallium/drivers/nvc0/nvc0_state.c b/src/gallium/drivers/nvc0/nvc0_state.c index 1a37d045801..0d6952dd9b4 100644 --- a/src/gallium/drivers/nvc0/nvc0_state.c +++ b/src/gallium/drivers/nvc0/nvc0_state.c @@ -871,10 +871,17 @@ nvc0_init_state_functions(struct nvc0_context *nvc0) pipe->set_vertex_buffers = nvc0_set_vertex_buffers; pipe->set_index_buffer = nvc0_set_index_buffer; +#if 0 pipe->create_stream_output_state = nvc0_tfb_state_create; pipe->delete_stream_output_state = nvc0_tfb_state_delete; pipe->bind_stream_output_state = nvc0_tfb_state_bind; pipe->set_stream_output_buffers = nvc0_set_transform_feedback_buffers; +#else + (void)nvc0_tfb_state_create; + (void)nvc0_tfb_state_delete; + (void)nvc0_tfb_state_bind; + (void)nvc0_set_transform_feedback_buffers; +#endif pipe->redefine_user_buffer = u_default_redefine_user_buffer; } |