diff options
author | Jason Ekstrand <[email protected]> | 2016-06-06 20:25:21 -0700 |
---|---|---|
committer | Jason Ekstrand <[email protected]> | 2016-07-15 15:59:24 -0700 |
commit | 5cf665afa1250d50856130f889570f7227f20eb0 (patch) | |
tree | dfa8111c067ddac580940757b7ff02ae437f0950 /src/mesa/drivers/dri/i965/brw_state.h | |
parent | 73ae4ec294f19282b905c434514c10db31fd916d (diff) |
i965/state: Add a helper for emitting a surface state using isl
Signed-off-by: Jason Ekstrand <[email protected]>
Reviewed-by: Topi Pohjolainen <[email protected]>
Reviewed-by: Chad Versace <[email protected]>
Diffstat (limited to 'src/mesa/drivers/dri/i965/brw_state.h')
-rw-r--r-- | src/mesa/drivers/dri/i965/brw_state.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/mesa/drivers/dri/i965/brw_state.h b/src/mesa/drivers/dri/i965/brw_state.h index a16e8768066..599aa254bf8 100644 --- a/src/mesa/drivers/dri/i965/brw_state.h +++ b/src/mesa/drivers/dri/i965/brw_state.h @@ -274,6 +274,13 @@ GLuint translate_tex_format(struct brw_context *brw, int brw_get_texture_swizzle(const struct gl_context *ctx, const struct gl_texture_object *t); +void brw_emit_surface_state(struct brw_context *brw, + struct intel_mipmap_tree *mt, + const struct isl_view *view, + uint32_t mocs, bool for_gather, + uint32_t *surf_offset, int surf_index, + unsigned read_domains, unsigned write_domains); + void brw_update_renderbuffer_surfaces(struct brw_context *brw, const struct gl_framebuffer *fb, uint32_t render_target_start, |