llvmpipe: Recompute the fs shader key when framebuffer varies.
authorJosé Fonseca <jfonseca@vmware.com>
Fri, 30 Nov 2012 17:32:29 +0000 (17:32 +0000)
committerJosé Fonseca <jfonseca@vmware.com>
Mon, 3 Dec 2012 14:02:43 +0000 (14:02 +0000)
commit0bc6ec238bad7908b362355f668ea513e14a75b5
tree0c0848bca3d44cae2fe78443b35bcbb02af34c1d
parent54ff536823bf5a431efe1f2becdb21174c146948
llvmpipe: Recompute the fs shader key when framebuffer varies.

The fs shader now depends on the color buffer formats. The shader key was
extended to accommodate this, but llvmpipe_update_derived needs to be
updated to check the framebuffer dirty flag.

This fixes bug 57674.

Reviewed-by: Roland Scheidegger <sroland@vmware.com>
Reviewed-by: Dave Airlie <airlied@redhat.com>
src/gallium/drivers/llvmpipe/lp_state_derived.c