diff options
author | Kenneth Graunke <[email protected]> | 2018-07-11 12:45:19 -0700 |
---|---|---|
committer | Kenneth Graunke <[email protected]> | 2019-02-21 10:26:07 -0800 |
commit | cef0b8b13bbcc4b95c4ed21b918e0126d273f79d (patch) | |
tree | c1d29c6af5de8245079ed93289e5575828a860bb /src/gallium/drivers/iris/iris_context.h | |
parent | 059c096eff1a380fe72be675893a401d6c7dfa1a (diff) |
iris: streamout
Diffstat (limited to 'src/gallium/drivers/iris/iris_context.h')
-rw-r--r-- | src/gallium/drivers/iris/iris_context.h | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/src/gallium/drivers/iris/iris_context.h b/src/gallium/drivers/iris/iris_context.h index ca8596623e1..24d891f97fd 100644 --- a/src/gallium/drivers/iris/iris_context.h +++ b/src/gallium/drivers/iris/iris_context.h @@ -171,9 +171,10 @@ struct iris_compiled_shader { struct brw_stage_prog_data *prog_data; /** - * Derived 3DSTATE_SO_DECL_LIST packet (for transform feedback). + * Derived 3DSTATE_STREAMOUT and 3DSTATE_SO_DECL_LIST packets + * (the VUE-based information for transform feedback outputs). */ - uint32_t *so_decl_list; + uint32_t *streamout; /** * Shader packets and other data derived from prog_data. These must be @@ -284,7 +285,9 @@ struct iris_context { unsigned num_samplers[MESA_SHADER_STAGES]; unsigned num_textures[MESA_SHADER_STAGES]; - uint32_t *so_decl_list; + /** 3DSTATE_STREAMOUT and 3DSTATE_SO_DECL_LIST packets */ + bool streamout_active; + uint32_t *streamout; struct iris_state_ref unbound_tex; @@ -392,7 +395,7 @@ void iris_upload_and_bind_shader(struct iris_context *ice, const void *key, const void *assembly, struct brw_stage_prog_data *prog_data, - uint32_t *so_decl_list); + uint32_t *streamout); const void *iris_find_previous_compile(const struct iris_context *ice, enum iris_program_cache_id cache_id, unsigned program_string_id); |