~ubuntu-branches/ubuntu/raring/mesa/raring-proposed

« back to all changes in this revision

Viewing changes to src/gallium/state_trackers/vega/shader.c

  • Committer: Bazaar Package Importer
  • Author(s): Cyril Brulebois
  • Date: 2011-06-19 21:26:00 UTC
  • mfrom: (1.6.1 upstream) (3.3.18 sid)
  • mto: (3.3.20 sid)
  • mto: This revision was merged to the branch mainline in revision 145.
  • Revision ID: james.westby@ubuntu.com-20110619212600-rleaapdmnbtstekb
Tags: 7.11~0-2
Thank you sbuild for giving a green light when that's not actually the
case. Fix missing Pre-Depends for the libegl1-mesa-drivers package
(multiarch-support).

Show diffs side-by-side

added added

removed removed

Lines of Context:
34
34
#include "renderer.h"
35
35
 
36
36
#include "pipe/p_context.h"
37
 
#include "pipe/p_screen.h"
38
37
#include "pipe/p_state.h"
39
 
#include "util/u_inlines.h"
40
38
#include "util/u_memory.h"
41
39
#include "util/u_math.h"
42
40
#include "util/u_format.h"
136
134
   switch (ctx->state.vg.blend_mode) {
137
135
   case VG_BLEND_SRC_OVER:
138
136
      advanced_blending =
 
137
         (!paint_is_opaque(ctx->state.vg.fill_paint) ||
 
138
          !paint_is_opaque(ctx->state.vg.stroke_paint)) &&
139
139
         util_format_has_alpha(ctx->draw_buffer->strb->format);
140
140
      break;
141
141
   case VG_BLEND_DST_OVER: