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 <email@example.com>
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 <firstname.lastname@example.org>
Reviewed-by: Chris Forbes <email@example.com>
Reviewed-by: Mike Stroyan <mike@LunarG.com>
Cc: "10.4 10.3" <firstname.lastname@example.org>
on Mar 25, 2017 at 17:31:24.
(provided by the Example extension).