summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTopi Pohjolainen <topi.pohjolainen@intel.com>2015-09-02 08:27:08 +0300
committerTopi Pohjolainen <topi.pohjolainen@intel.com>2015-09-02 08:57:41 +0300
commit1336d01c53a3cb935aa9279b8709d2c4b0d15189 (patch)
tree3bacbd881081d02264594ebe0984241bb6b1512f
parente16531fbe3a79bc27cf00701616a260b452597ef (diff)
i965: Disable blorp
Signed-off-by: Topi Pohjolainen <topi.pohjolainen@intel.com>
-rw-r--r--src/mesa/drivers/dri/i965/brw_blorp_blit.cpp4
-rw-r--r--src/mesa/drivers/dri/i965/intel_mipmap_tree.c4
2 files changed, 4 insertions, 4 deletions
diff --git a/src/mesa/drivers/dri/i965/brw_blorp_blit.cpp b/src/mesa/drivers/dri/i965/brw_blorp_blit.cpp
index 205c905b44..ab6e7f572e 100644
--- a/src/mesa/drivers/dri/i965/brw_blorp_blit.cpp
+++ b/src/mesa/drivers/dri/i965/brw_blorp_blit.cpp
@@ -224,7 +224,7 @@ brw_blorp_copytexsubimage(struct brw_context *brw,
struct intel_mipmap_tree *dst_mt = intel_image->mt;
/* BLORP is only supported for Gen6-7. */
- if (brw->gen < 6 || brw->gen > 7)
+ if (brw->gen < 6 || brw->gen >= 7)
return false;
if (_mesa_get_format_base_format(src_rb->Format) !=
@@ -323,7 +323,7 @@ brw_blorp_framebuffer(struct brw_context *brw,
GLbitfield mask, GLenum filter)
{
/* BLORP is not supported before Gen6. */
- if (brw->gen < 6 || brw->gen >= 8)
+ if (brw->gen < 6 || brw->gen >= 7)
return mask;
static GLbitfield buffer_bits[] = {
diff --git a/src/mesa/drivers/dri/i965/intel_mipmap_tree.c b/src/mesa/drivers/dri/i965/intel_mipmap_tree.c
index 0bcbbbcde8..12af22f9cc 100644
--- a/src/mesa/drivers/dri/i965/intel_mipmap_tree.c
+++ b/src/mesa/drivers/dri/i965/intel_mipmap_tree.c
@@ -2017,7 +2017,7 @@ intel_miptree_updownsample(struct brw_context *brw,
struct intel_mipmap_tree *src,
struct intel_mipmap_tree *dst)
{
- if (brw->gen < 8) {
+ if (brw->gen < 7) {
brw_blorp_blit_miptrees(brw,
src, 0 /* level */, 0 /* layer */, src->format,
dst, 0 /* level */, 0 /* layer */, dst->format,
@@ -2033,7 +2033,7 @@ intel_miptree_updownsample(struct brw_context *brw,
}
if (src->stencil_mt) {
- if (brw->gen >= 8) {
+ if (brw->gen >= 7) {
brw_meta_stencil_updownsample(brw, src->stencil_mt, dst);
return;
}