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

« back to all changes in this revision

Viewing changes to src/gallium/drivers/nv50/codegen/nv50_ir_target_nv50.cpp

  • Committer: Package Import Robot
  • Author(s): Maarten Lankhorst
  • Date: 2013-01-22 11:54:09 UTC
  • mfrom: (1.7.13)
  • Revision ID: package-import@ubuntu.com-20130122115409-5e9xii2ee1whab3e
Tags: 9.0.2-0ubuntu1
* New upstream release.
* Decrease size of mesa's libgl1-mesa-dri again
  - re-enable 117-static-gallium.patch
  - add 118-dricore-gallium.patch to link against libdricore again

Show diffs side-by-side

added added

removed removed

Lines of Context:
323
323
      ldSize = typeSizeof(ld->dType);
324
324
   }
325
325
 
 
326
   if (sf == FILE_IMMEDIATE)
 
327
      return true;
 
328
 
 
329
 
 
330
   // Check if memory access is encodable:
 
331
 
326
332
   if (ldSize < 4 && sf == FILE_SHADER_INPUT) // no < 4-byte aligned a[] access
327
333
      return false;
328
334
   if (ld->getSrc(0)->reg.data.offset > (int32_t)(127 * ldSize))