diff options
author | Topi Pohjolainen <topi.pohjolainen@intel.com> | 2016-04-16 20:03:34 +0300 |
---|---|---|
committer | Topi Pohjolainen <topi.pohjolainen@intel.com> | 2016-04-22 17:02:29 +0300 |
commit | 1883613a24d8aaa4c43b18bca3d7e2daa46ebca0 (patch) | |
tree | 40a7a7b3f4ab0c371d23429b5df707e4a5e517f4 /src/mesa/drivers/dri/i965/intel_mipmap_tree.c | |
parent | 125a7fdf3239d53162af5d4a42a00e7f8d902a64 (diff) | |
download | external_mesa3d-1883613a24d8aaa4c43b18bca3d7e2daa46ebca0.zip external_mesa3d-1883613a24d8aaa4c43b18bca3d7e2daa46ebca0.tar.gz external_mesa3d-1883613a24d8aaa4c43b18bca3d7e2daa46ebca0.tar.bz2 |
i965/blorp: Add support for 2x msaa
Signed-off-by: Topi Pohjolainen <topi.pohjolainen@intel.com>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
Diffstat (limited to 'src/mesa/drivers/dri/i965/intel_mipmap_tree.c')
-rw-r--r-- | src/mesa/drivers/dri/i965/intel_mipmap_tree.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/mesa/drivers/dri/i965/intel_mipmap_tree.c b/src/mesa/drivers/dri/i965/intel_mipmap_tree.c index 8099ea7..29be037 100644 --- a/src/mesa/drivers/dri/i965/intel_mipmap_tree.c +++ b/src/mesa/drivers/dri/i965/intel_mipmap_tree.c @@ -2170,9 +2170,8 @@ intel_miptree_updownsample(struct brw_context *brw, struct intel_mipmap_tree *src, struct intel_mipmap_tree *dst) { - /* There is support only for four and eight samples. */ - const bool use_blorp = src->num_samples != 2 && dst->num_samples != 2 && - src->num_samples <= 8 && dst->num_samples <= 8; + /* There is support for only up to eight samples. */ + const bool use_blorp = src->num_samples <= 8 && dst->num_samples <= 8; if (use_blorp) { brw_blorp_blit_miptrees(brw, |