Merge branch 'mesa_7_6_branch'
authorBrian Paul <brianp@vmware.com>
Mon, 5 Oct 2009 20:42:08 +0000 (14:42 -0600)
committerBrian Paul <brianp@vmware.com>
Mon, 5 Oct 2009 20:42:08 +0000 (14:42 -0600)
Conflicts:

src/gallium/auxiliary/util/u_cpu_detect.c

12 files changed:
1  2 
src/gallium/auxiliary/draw/draw_pt_post_vs.c
src/gallium/auxiliary/pipebuffer/pb_buffer_fenced.c
src/gallium/drivers/softpipe/sp_fs_sse.c
src/mesa/drivers/dri/intel/intel_context.c
src/mesa/drivers/dri/intel/intel_pixel_read.c
src/mesa/drivers/dri/intel/intel_tex_copy.c
src/mesa/drivers/dri/r300/r300_context.c
src/mesa/main/context.c
src/mesa/main/dlist.c
src/mesa/main/texobj.c
src/mesa/state_tracker/st_cb_drawpixels.c
src/mesa/state_tracker/st_cb_fbo.c

index 9d3e4670eef9b43a032907c7f0ba09830804c93e,31ccc3bda9a2434747482a1ac9c0371672b643fe..f912950658523fab2b875f0730f00e5ede327fbe
@@@ -138,42 -101,10 +138,42 @@@ fs_sse_run( const struct sp_fragment_sh
                 machine->Consts,
                   (const float (*)[4])shader->immediates,
                 machine->InterpCoefs
-                //      , &machine->QuadPos
+                /*, &machine->QuadPos*/
        );
  
 -   return ~(machine->Temps[TGSI_EXEC_TEMP_KILMASK_I].xyzw[TGSI_EXEC_TEMP_KILMASK_C].u[0]);
 +   quad->inout.mask &= ~(machine->Temps[TGSI_EXEC_TEMP_KILMASK_I].xyzw[TGSI_EXEC_TEMP_KILMASK_C].u[0]);
 +   if (quad->inout.mask == 0)
 +      return FALSE;
 +
 +   /* store outputs */
 +   {
 +      const ubyte *sem_name = base->info.output_semantic_name;
 +      const ubyte *sem_index = base->info.output_semantic_index;
 +      const uint n = base->info.num_outputs;
 +      uint i;
 +      for (i = 0; i < n; i++) {
 +         switch (sem_name[i]) {
 +         case TGSI_SEMANTIC_COLOR:
 +            {
 +               uint cbuf = sem_index[i];
 +               memcpy(quad->output.color[cbuf],
 +                      &machine->Outputs[i].xyzw[0].f[0],
 +                      sizeof(quad->output.color[0]) );
 +            }
 +            break;
 +         case TGSI_SEMANTIC_POSITION:
 +            {
 +               uint j;
 +               for (j = 0; j < 4; j++) {
 +                  quad->output.depth[j] = machine->Outputs[0].xyzw[2].f[j];
 +               }
 +            }
 +            break;
 +         }
 +      }
 +   }
 +
 +   return TRUE;
  }
  
  
Simple merge
Simple merge
Simple merge
Simple merge