summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKenneth Graunke <[email protected]>2018-12-05 00:57:07 -0800
committerKenneth Graunke <[email protected]>2019-02-21 10:26:10 -0800
commit31357bae4bb9edb0940d10479f2b19e8deb84c04 (patch)
tree4fc42b13dc3b164d5b5f657065905d6546d273a0
parentcf4931e586d4d173a7c3a11ed566258642a1595f (diff)
iris: Move iris_stream_output_target def to iris_context.h
now that it doesn't have genxml
-rw-r--r--src/gallium/drivers/iris/iris_context.h10
-rw-r--r--src/gallium/drivers/iris/iris_state.c10
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
@@ -307,6 +307,16 @@ struct iris_shader_state {
};
/**
+ * 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.
*/
struct iris_vtable {
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
@@ -2503,16 +2503,6 @@ iris_bind_vertex_elements_state(struct pipe_context *ctx, void *state)
}
/**
- * 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.
*
* "Target" here refers to a destination buffer. We translate this into