diff options
author | Jason Ekstrand <jason.ekstrand@intel.com> | 2016-06-09 16:15:05 -0700 |
---|---|---|
committer | Jason Ekstrand <jason.ekstrand@intel.com> | 2016-07-15 15:59:33 -0700 |
commit | 09b5a71517fadd6c20b72e7ad9ea1f7539c93a42 (patch) | |
tree | af082c53be3b5fea7c7cc90ce4c429093da6e3cd /src/mesa/drivers/dri/i965/brw_state.h | |
parent | 1abb37baa072d16d25dd6165f5c30b1f189fd490 (diff) | |
download | external_mesa3d-09b5a71517fadd6c20b72e7ad9ea1f7539c93a42.zip external_mesa3d-09b5a71517fadd6c20b72e7ad9ea1f7539c93a42.tar.gz external_mesa3d-09b5a71517fadd6c20b72e7ad9ea1f7539c93a42.tar.bz2 |
i965/state: Add generic surface update functions based on ISL
Signed-off-by: Jason Ekstrand <jason@jlekstrand.net>
Reviewed-by: Topi Pohjolainen <topi.pohjolainen@intel.com>
Reviewed-by: Chad Versace <chad.versace@intel.com>
Diffstat (limited to 'src/mesa/drivers/dri/i965/brw_state.h')
-rw-r--r-- | src/mesa/drivers/dri/i965/brw_state.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/mesa/drivers/dri/i965/brw_state.h b/src/mesa/drivers/dri/i965/brw_state.h index 599aa25..9003d30 100644 --- a/src/mesa/drivers/dri/i965/brw_state.h +++ b/src/mesa/drivers/dri/i965/brw_state.h @@ -281,6 +281,15 @@ void brw_emit_surface_state(struct brw_context *brw, uint32_t *surf_offset, int surf_index, unsigned read_domains, unsigned write_domains); +void brw_update_texture_surface(struct gl_context *ctx, + unsigned unit, uint32_t *surf_offset, + bool for_gather, uint32_t plane); + +uint32_t brw_update_renderbuffer_surface(struct brw_context *brw, + struct gl_renderbuffer *rb, + bool layered, unsigned unit, + uint32_t surf_index); + void brw_update_renderbuffer_surfaces(struct brw_context *brw, const struct gl_framebuffer *fb, uint32_t render_target_start, |