From 31357bae4bb9edb0940d10479f2b19e8deb84c04 Mon Sep 17 00:00:00 2001 From: Kenneth Graunke Date: Wed, 5 Dec 2018 00:57:07 -0800 Subject: [PATCH] iris: Move iris_stream_output_target def to iris_context.h now that it doesn't have genxml --- src/gallium/drivers/iris/iris_context.h | 10 ++++++++++ src/gallium/drivers/iris/iris_state.c | 10 ---------- 2 files changed, 10 insertions(+), 10 deletions(-) diff --git a/src/gallium/drivers/iris/iris_context.h b/src/gallium/drivers/iris/iris_context.h index 375d6002a78..01a2c0577b0 100644 --- a/src/gallium/drivers/iris/iris_context.h +++ b/src/gallium/drivers/iris/iris_context.h @@ -306,6 +306,16 @@ struct iris_shader_state { uint32_t bound_sampler_views; }; +/** + * Gallium CSO for stream output (transform feedback) targets. + */ +struct iris_stream_output_target { + struct pipe_stream_output_target base; + + /** Storage holding the offset where we're writing in the buffer */ + struct iris_state_ref offset; +}; + /** * Virtual table for generation-specific (genxml) function calls. */ diff --git a/src/gallium/drivers/iris/iris_state.c b/src/gallium/drivers/iris/iris_state.c index cf90cf7f812..809f9717580 100644 --- a/src/gallium/drivers/iris/iris_state.c +++ b/src/gallium/drivers/iris/iris_state.c @@ -2502,16 +2502,6 @@ iris_bind_vertex_elements_state(struct pipe_context *ctx, void *state) ice->state.dirty |= IRIS_DIRTY_VERTEX_ELEMENTS; } -/** - * Gallium CSO for stream output (transform feedback) targets. - */ -struct iris_stream_output_target { - struct pipe_stream_output_target base; - - /** Storage holding the offset where we're writing in the buffer */ - struct iris_state_ref offset; -}; - /** * The pipe->create_stream_output_target() driver hook. * -- 2.30.2