diff options
author | Kenneth Graunke <[email protected]> | 2013-10-07 14:41:16 -0700 |
---|---|---|
committer | Kenneth Graunke <[email protected]> | 2013-10-09 16:36:49 -0700 |
commit | 4b2e819e10138dba6961d44f07af6de13750a832 (patch) | |
tree | b4bc5a0319c7e186ea50498aa2def67c1575ef3c /src/mesa/drivers/dri/i965/brw_blorp.h | |
parent | dbc1f3677c1deb32358a6a53f0ad3638a78c7c4f (diff) |
i965/blorp: Add an is_render_target parameter to surface_info::set.
This allows us to determine whether we're setting up a format for
the source (as a texture) or destination (as a render target).
Signed-off-by: Kenneth Graunke <[email protected]>
Reviewed-by: Ian Romanick <[email protected]>
Reviewed-by: Chad Versace <[email protected]>
Reviewed-by: Eric Anholt <[email protected]>
Reviewed-by: Daniel Vetter <[email protected]>
Diffstat (limited to 'src/mesa/drivers/dri/i965/brw_blorp.h')
-rw-r--r-- | src/mesa/drivers/dri/i965/brw_blorp.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/mesa/drivers/dri/i965/brw_blorp.h b/src/mesa/drivers/dri/i965/brw_blorp.h index dceb4fcc41d..07ab80521b1 100644 --- a/src/mesa/drivers/dri/i965/brw_blorp.h +++ b/src/mesa/drivers/dri/i965/brw_blorp.h @@ -122,7 +122,8 @@ public: void set(struct brw_context *brw, struct intel_mipmap_tree *mt, - unsigned int level, unsigned int layer); + unsigned int level, unsigned int layer, + bool is_render_target); uint32_t compute_tile_offsets(uint32_t *tile_x, uint32_t *tile_y) const; |