diff options
author | Chris Forbes <[email protected]> | 2013-11-29 22:04:58 +1300 |
---|---|---|
committer | Chris Forbes <[email protected]> | 2013-12-07 16:17:27 +1300 |
commit | a1ca5802401c384c1eadbf72cf910c65e377600c (patch) | |
tree | 01d6e02f34314e70ee4d41778bafa985b34647e7 | |
parent | 83b83fb9843456a231c60bcbac0594ebaf05dd4f (diff) |
i965: Don't flag gather quirks for Gen8+
My understanding is that Broadwell retains the same SCS mechanism
that Haswell has, so even if the underlying issue with this format
is not fixed, the w/a will be applied in SCS rather than needing
shader code.
Signed-off-by: Chris Forbes <[email protected]>
Cc: Kenneth Graunke <[email protected]>
Reviewed-by: Kenneth Graunke <[email protected]>
-rw-r--r-- | src/mesa/drivers/dri/i965/brw_wm.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/drivers/dri/i965/brw_wm.c b/src/mesa/drivers/dri/i965/brw_wm.c index a2ae73f1e14..6739a9132da 100644 --- a/src/mesa/drivers/dri/i965/brw_wm.c +++ b/src/mesa/drivers/dri/i965/brw_wm.c @@ -353,7 +353,7 @@ brw_populate_sampler_prog_key_data(struct gl_context *ctx, /* gather4's channel select for green from RG32F is broken; * requires a shader w/a on IVB; fixable with just SCS on HSW. */ - if (brw->gen >= 7 && !brw->is_haswell && prog->UsesGather) { + if (brw->gen == 7 && !brw->is_haswell && prog->UsesGather) { if (img->InternalFormat == GL_RG32F) key->gather_channel_quirk_mask |= 1 << s; } |