~ubuntu-branches/ubuntu/precise/mesa/precise-updates

« back to all changes in this revision

Viewing changes to src/mesa/drivers/dri/i965/brw_wm_iz.c

  • Committer: Package Import Robot
  • Author(s): Robert Hooker
  • Date: 2012-02-02 12:05:48 UTC
  • mfrom: (1.7.1) (3.3.27 sid)
  • Revision ID: package-import@ubuntu.com-20120202120548-nvkma85jq0h4coix
Tags: 8.0~rc2-0ubuntu4
Drop drisearchdir handling, it is no longer needed with multiarch
and dri-alternates being removed.

Show diffs side-by-side

added added

removed removed

Lines of Context:
124
124
                      struct brw_wm_compile *c)
125
125
{
126
126
   GLuint reg = 2;
127
 
   GLboolean kill_stats_promoted_workaround = GL_FALSE;
 
127
   bool kill_stats_promoted_workaround = false;
128
128
   int lookup = c->key.iz_lookup;
129
129
   bool uses_depth = (c->fp->program.Base.InputsRead &
130
130
                      (1 << FRAG_ATTRIB_WPOS)) != 0;
139
139
   if (c->key.stats_wm &&
140
140
       (lookup & IZ_PS_KILL_ALPHATEST_BIT) &&
141
141
       wm_iz_table[lookup].mode == P) {
142
 
      kill_stats_promoted_workaround = GL_TRUE;
 
142
      kill_stats_promoted_workaround = true;
143
143
   }
144
144
 
145
145
   if (lookup & IZ_PS_COMPUTES_DEPTH_BIT)