mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-22 22:10:10 +01:00
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 <chrisf@ijw.co.nz> Cc: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
This commit is contained in:
parent
83b83fb984
commit
a1ca580240
1 changed files with 1 additions and 1 deletions
|
|
@ -353,7 +353,7 @@ brw_populate_sampler_prog_key_data(struct gl_context *ctx,
|
||||||
|
|
||||||
/* gather4's channel select for green from RG32F is broken;
|
/* gather4's channel select for green from RG32F is broken;
|
||||||
* requires a shader w/a on IVB; fixable with just SCS on HSW. */
|
* 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)
|
if (img->InternalFormat == GL_RG32F)
|
||||||
key->gather_channel_quirk_mask |= 1 << s;
|
key->gather_channel_quirk_mask |= 1 << s;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue