diff options
author | Topi Pohjolainen <[email protected]> | 2014-04-19 02:02:42 +0300 |
---|---|---|
committer | Topi Pohjolainen <[email protected]> | 2014-05-15 21:39:33 +0300 |
commit | 9d752c098c5dc819fd08b9611ca52d847c1b9495 (patch) | |
tree | 5568e203fd571e806c08c2d3f815663b4e405b03 /src/mesa/drivers/dri/i965/brw_context.h | |
parent | 36caae48b25b29310be1b7cbbafe7461bb51248d (diff) |
i965: Extend brw_get_rb_for_first_slice() for specified level/layer
v2: Configure stencil directly for final dimensions instead of
adjusting bit by bit for tiling, mip level and msaa.
v3 (Ken): Used non-static constant for horizontal alignment
Cc: "10.2" <[email protected]>
Signed-off-by: Topi Pohjolainen <[email protected]>
Reviewed-by: Kenneth Graunke <[email protected]>
Diffstat (limited to 'src/mesa/drivers/dri/i965/brw_context.h')
-rw-r--r-- | src/mesa/drivers/dri/i965/brw_context.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/mesa/drivers/dri/i965/brw_context.h b/src/mesa/drivers/dri/i965/brw_context.h index 92e1592bfa4..6d4a5b58b41 100644 --- a/src/mesa/drivers/dri/i965/brw_context.h +++ b/src/mesa/drivers/dri/i965/brw_context.h @@ -1475,6 +1475,10 @@ GLboolean brwCreateContext(gl_api api, /*====================================================================== * brw_misc_state.c */ +GLuint brw_get_rb_for_slice(struct brw_context *brw, + struct intel_mipmap_tree *mt, + unsigned level, unsigned layer, bool flat); + void brw_meta_updownsample(struct brw_context *brw, struct intel_mipmap_tree *src, struct intel_mipmap_tree *dst); |