[Mesa-dev] [PATCH 1/2] mesa: Keep a computed value for dual source blend func with each buffer.
Dave Airlie
airlied at gmail.com
Wed May 23 10:01:21 PDT 2012
On Sat, May 19, 2012 at 4:00 AM, Eric Anholt <eric at anholt.net> wrote:
> The i965 driver needed this as well for hardware setup, so instead of
> duplicating the logic, just save it off.
> ---
> src/mesa/main/blend.c | 20 ++++++++++++++++++++
> src/mesa/main/context.c | 24 +++++++-----------------
> src/mesa/main/mtypes.h | 5 +++++
> 3 files changed, 32 insertions(+), 17 deletions(-)
Yup this seems totally sane, and I think I can use it.
Reviewed-by: Dave Airlie <airlied at redhat.com>
Dave.
More information about the mesa-dev
mailing list