Created attachment 111194 [details]
Patch to set dirty bit when changing fragment shader.
A fragment program can change because of Non-Orthogonal-State changes.
brw_update_texture_surfaces needs to run because of changed surface offsets.
Set BRW_NEW_FRAGMENT_PROGRAM dirty bit in brw_upload_wm_prog to signal that.
This defect is demonstrated by the new fbo/fbo-mrt-new-bind.c test that I sent
to the piglit mailing list.
Author: Kenneth Graunke <firstname.lastname@example.org>
Date: Mon Dec 22 18:43:08 2014 -0800
i965: Add missing BRW_NEW_*_PROG_DATA to texture/renderbuffer atoms.
This was probably missed when moving from a fixed binding table layout
to a dynamic one that changes based on the shader.
Fixes newly proposed Piglit test fbo-mrt-new-bind.
Signed-off-by: Kenneth Graunke <email@example.com>
Reviewed-by: Chris Forbes <firstname.lastname@example.org>
Reviewed-by: Mike Stroyan <mike@LunarG.com>
Cc: "10.4 10.3" <email@example.com>
on Jan 17, 2017 at 08:55:20.
(provided by the Example extension).