Bug 94150

Summary: UE4 Suntemple rendering errors
Product: Mesa Reporter: Tapani Pälli <lemody>
Component: Drivers/DRI/i965Assignee: Topi Pohjolainen <topi.pohjolainen>
Status: RESOLVED FIXED QA Contact: Intel 3D Bugs Mailing List <intel-3d-bugs>
Severity: normal    
Priority: medium CC: apinheiro, mark.a.janes
Version: git   
Hardware: Other   
OS: All   
Whiteboard:
i915 platform: i915 features:

Description Tapani Pälli 2016-02-15 06:08:54 UTC
I've bisected this to:
--- 8< ---

commit 0dcd9a09d19d25bf247118b218b4b439e8df619b
Author: Topi Pohjolainen <topi.pohjolainen@intel.com>
Date:   Wed Jan 27 13:08:03 2016 +0200

    i965: Restore vbo after color resolve during brw_try_draw_prims()
    
--- 8< ---

If I comment out following line

"ctx->vbo_context->exec.array.recalculate_inputs = true;"

then rendering results look normal again.
Comment 1 Tapani Pälli 2016-02-15 06:11:32 UTC
Suntemple and other demos are available at:
https://wiki.unrealengine.com/Linux_Demos
Comment 2 Alejandro Piñeiro (freenode IRC: apinheiro) 2016-02-15 18:21:02 UTC
(In reply to Tapani Pälli from comment #0)
> I've bisected this to:
> --- 8< ---
> 
> commit 0dcd9a09d19d25bf247118b218b4b439e8df619b
> Author: Topi Pohjolainen <topi.pohjolainen@intel.com>
> Date:   Wed Jan 27 13:08:03 2016 +0200
> 
>     i965: Restore vbo after color resolve during brw_try_draw_prims()
>     
> --- 8< ---

I was able to confirm the rendering errors with SunTemple. But I also run a piglit run, and noticed that the commit fixes two piglit tests:

 * egl_chromium_sync_control
 * getteximage-formats init-by-clear-and-render

Just saying, as it was not mentioned on the commit message.

> If I comment out following line
> 
> "ctx->vbo_context->exec.array.recalculate_inputs = true;"
> 
> then rendering results look normal again.

But then the piglit tests start to fail again.
Comment 3 Tapani Pälli 2016-02-16 08:58:05 UTC
issues are gone now, piglits will be dealt separately later on

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.