~ubuntu-branches/ubuntu/quantal/mesa/quantal

« back to all changes in this revision

Viewing changes to src/gallium/drivers/softpipe/sp_quad_fs.c

  • Committer: Package Import Robot
  • Author(s): Timo Aaltonen
  • Date: 2012-08-23 15:37:30 UTC
  • mfrom: (1.7.6)
  • Revision ID: package-import@ubuntu.com-20120823153730-c499sefj7btu4386
Tags: 9.0~git20120821.c1114c61-0ubuntu1
* Merge from unreleased debian git.
  - Includes support for ATI Trinity PCI IDs (LP: #1009089)
* rules, control, libgl1-mesa-swx11*: Remove swx11 support.
* Refresh patches:
  - drop 115_llvm_dynamic_linking.diff,
    117_nullptr_check_in_query_version.patch, and
    118_glsl_initialize_samplers.patch, all upstream
  - disable 116_use_shared_galliumcore.diff until it's reviewed and
    reworked to apply
* not-installed, libegl1-mesa-drivers-install.linux.in: Updated to
  match the single-pass build.
* libgl1-mesa-dri.*install.in: Drop libglsl.so, it's included in
  libdricore.so now.
* rules: Don't disable GLU on the common flags, we need to build it
  on the dri target.
* libglu*install.in: Fix the source file paths to match the build target.
  Drop the static lib from -dev since only shared libs get built.
* libgl1-mesa-dev.install.in: Fix the source file paths to match the
  build target.
* libgl1-mesa-dri.install.linux.in: Don't try to install libgallium.so,
  which isn't built yet.
* rules: Enable llvmpipe on armhf to see if it works or not.
* rules: Remove bin/install-sh on clean, and don't create a symlink for
  it.
* control: Add Pre-Depends on dpkg-dev due to the binaries using xz
  compression.

Show diffs side-by-side

added added

removed removed

Lines of Context:
90
90
   for (cbuf = 0; cbuf < softpipe->framebuffer.nr_cbufs; cbuf++) {
91
91
      float (*quadColor)[4] = quad->output.color[cbuf];
92
92
      unsigned j;
93
 
      for (j = 0; j < QUAD_SIZE; j++) {
 
93
      for (j = 0; j < TGSI_QUAD_SIZE; j++) {
94
94
         assert(quad->input.coverage[j] >= 0.0);
95
95
         assert(quad->input.coverage[j] <= 1.0);
96
96
         quadColor[3][j] *= quad->input.coverage[j];
153
153
   softpipe->fs_variant->prepare( softpipe->fs_variant, 
154
154
                                  softpipe->fs_machine,
155
155
                                  (struct tgsi_sampler **)
156
 
                                  softpipe->tgsi.frag_samplers_list );
 
156
                                  softpipe->tgsi.samplers_list[PIPE_SHADER_FRAGMENT] );
157
157
 
158
158
   qs->next->begin(qs->next);
159
159
}