summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/llvmpipe
diff options
context:
space:
mode:
authorMarek Olšák <[email protected]>2011-11-19 21:44:24 +0100
committerChristoph Bumiller <[email protected]>2011-12-15 18:50:44 +0100
commit4f4a1be2009863ea34a69b22f58aa1ca08cd710f (patch)
tree48eb1c6819340fb06c92b5ccd6d069e3c90671ab /src/gallium/drivers/llvmpipe
parent14bb957b996dcc5392b8fa589bd3ffa5c55cb6b4 (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/llvmpipe')
-rw-r--r--src/gallium/drivers/llvmpipe/lp_state_so.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/gallium/drivers/llvmpipe/lp_state_so.c b/src/gallium/drivers/llvmpipe/lp_state_so.c
index 30b17c98816..35de52c6c99 100644
--- a/src/gallium/drivers/llvmpipe/lp_state_so.c
+++ b/src/gallium/drivers/llvmpipe/lp_state_so.c
@@ -125,6 +125,7 @@ llvmpipe_set_stream_output_buffers(struct pipe_context *pipe,
void
llvmpipe_init_so_funcs(struct llvmpipe_context *llvmpipe)
{
+#if 0
llvmpipe->pipe.create_stream_output_state =
llvmpipe_create_stream_output_state;
llvmpipe->pipe.bind_stream_output_state =
@@ -134,4 +135,10 @@ llvmpipe_init_so_funcs(struct llvmpipe_context *llvmpipe)
llvmpipe->pipe.set_stream_output_buffers =
llvmpipe_set_stream_output_buffers;
+#else
+ (void) llvmpipe_create_stream_output_state;
+ (void) llvmpipe_bind_stream_output_state;
+ (void) llvmpipe_delete_stream_output_state;
+ (void) llvmpipe_set_stream_output_buffers;
+#endif
}