On Mon, 27 Feb 2012 15:46:32 +0800, Yuanhan Liu <[email protected]> wrote: > diff --git a/src/mesa/drivers/dri/i965/brw_sf.c > b/src/mesa/drivers/dri/i965/brw_sf.c > index 6e63583..7950c47 100644 > --- a/src/mesa/drivers/dri/i965/brw_sf.c > +++ b/src/mesa/drivers/dri/i965/brw_sf.c > @@ -125,6 +135,7 @@ brw_upload_sf_prog(struct brw_context *brw) > { > struct gl_context *ctx = &brw->intel.ctx; > struct brw_sf_prog_key key;
There should be a /* _NEW_BUFFERS */ comment here to note the state flag dependency. > + bool render_to_fbo = ctx->DrawBuffer->Name != 0; Other than that, Reviewed-by: Eric Anholt <[email protected]>
pgpyenFytQOyB.pgp
Description: PGP signature
_______________________________________________ mesa-dev mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/mesa-dev
