Summary: | [Regression, bisected] piglit gl-1.0-beginend-coverage, gl-1.0-no-op-paths, and gl-2.1-pbo broken | ||
---|---|---|---|
Product: | Mesa | Reporter: | Mark Janes <mark.a.janes> |
Component: | Drivers/DRI/i965 | Assignee: | Brian Paul <brianp> |
Status: | CLOSED FIXED | QA Contact: | Intel 3D Bugs Mailing List <intel-3d-bugs> |
Severity: | blocker | ||
Priority: | medium | CC: | idr, lemody, mark.a.janes, vlee |
Version: | git | ||
Hardware: | x86-64 (AMD64) | ||
OS: | Linux (All) | ||
Whiteboard: | |||
i915 platform: | i915 features: | ||
Attachments: |
test output
test output test output hack that fixes issue |
Description
Mark Janes
2015-10-01 17:31:39 UTC
Created attachment 118569 [details]
test output
Created attachment 118570 [details]
test output
It is _mesa_BindTexture that is broken, I can't quite see why though. Will try to debug. Created attachment 118583 [details] [review] hack that fixes issue The bug always occurs whenever default texture object get used, it's textureIndex is always 0 so textureIndex used in new bind_texture function is incorrect. Attached patch fixes the issue, maybe real fix would be to add index as one of the parameters, what do you think Brian? *** Bug 92231 has been marked as a duplicate of this bug. *** The hack does not fix the issue on g33, fwiw *** Bug 92263 has been marked as a duplicate of this bug. *** (In reply to Tapani Pälli from comment #4) > Created attachment 118583 [details] [review] [review] > hack that fixes issue > > The bug always occurs whenever default texture object get used, it's > textureIndex is always 0 so textureIndex used in new bind_texture function > is incorrect. Attached patch fixes the issue, maybe real fix would be to add > index as one of the parameters, what do you think Brian? I can't reproduce the regressions on a 64-bit nor 32-bit host with llvmpipe. I did full piglit runs before/after my patch series and there were no regressions (modulo the BindTextureUnit expected error code). Has anyone else been able to repro?? In any case, we should initialize the default textures' TargetIndex fields but I think a different patch/approach would be better. I'll post a patch for that in a bit. I just posted a patch series to mesa-dev. The 3rd patch changes the TextureTarget initialization code and covers the case which the "hack that fixes the issue" did. I have no idea, though, if this will help with the regression that Mark hit. I tested this patch and found: regressions: spec.arb_shader_storage_buffer_object.layout-std140-write-shader (BDW only) expected[1] = 1.00. Read value: 0.00 spec.arb_copy_image.arb_copy_image-srgb-copy (assertion) arb_copy_image-srgb-copy: src/mesa/main/texobj.c:1739: _mesa_BindTexture: Assertion `newTexObj->TargetIndex == targetIndex' failed. fixes: spec.!opengl 1_0.gl-1.0-beginend-coverage spec.!opengl 1_0.gl-1.0-no-op-paths spec.arb_copy_image.arb_copy_image-formats *** Bug 92325 has been marked as a duplicate of this bug. *** fixed by mesa 7d7dd18 |
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.