|Product:||Mesa||Reporter:||Kenneth Graunke <kenneth>|
|Component:||Drivers/DRI/i965||Assignee:||Ian Romanick <idr>|
|Status:||RESOLVED DUPLICATE||QA Contact:||Intel 3D Bugs Mailing List <intel-3d-bugs>|
|i915 platform:||i915 features:|
|Bug Depends on:|
Description Kenneth Graunke 2016-03-19 08:17:20 UTC
The dEQP-GLES31.functional.texture.gather.basic.cube.* test cases are broken. Setting the wrap modes to BRW_TEXCOORDMODE_CUBE appears to fix all of them. The test use GL_NEAREST, so we override the wrap modes to CLAMP. However, textureGather forces GL_LINEAR filtering (regardless of what's specified), so CUBE may actually be appropriate.
Comment 1 Kenneth Graunke 2016-03-19 08:18:24 UTC
If we do need to re-specify wrap modes based on the message type, this means having to double-emit surface states again...one for normal messages, and one for gather4. We have code for this, we'd just have to apply it in more cases.
Comment 2 Kenneth Graunke 2016-03-21 19:11:40 UTC
I was wrong - we'd need to emit multiple SAMPLER_STATEs, not SURFACE_STATEs.
Comment 3 Ilia Mirkin 2016-03-22 15:43:53 UTC
Is this the same as bug 94127 which I filed a while back?