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

« back to all changes in this revision

Viewing changes to src/mesa/drivers/dri/i965/brw_fs_emit.cpp

  • Committer: Package Import Robot
  • Author(s): Maarten Lankhorst
  • Date: 2013-03-21 09:25:55 UTC
  • mfrom: (1.1.2)
  • Revision ID: package-import@ubuntu.com-20130321092555-mupc3s4vbgvaeqem
Tags: 9.0.3-0ubuntu0.1~precise1
Copy mesa update from quantal. (LP: #1134466)

Show diffs side-by-side

added added

removed removed

Lines of Context:
312
312
         msg_type = GEN5_SAMPLER_MESSAGE_SAMPLE_RESINFO;
313
313
         break;
314
314
      case SHADER_OPCODE_TXD:
315
 
         /* There is no sample_d_c message; comparisons are done manually */
316
 
         msg_type = GEN5_SAMPLER_MESSAGE_SAMPLE_DERIVS;
 
315
         if (inst->shadow_compare) {
 
316
            /* Gen7.5+.  Otherwise, lowered by brw_lower_texture_gradients(). */
 
317
            assert(intel->is_haswell);
 
318
            msg_type = HSW_SAMPLER_MESSAGE_SAMPLE_DERIV_COMPARE;
 
319
         } else {
 
320
            msg_type = GEN5_SAMPLER_MESSAGE_SAMPLE_DERIVS;
 
321
         }
317
322
         break;
318
323
      case SHADER_OPCODE_TXF:
319
324
         msg_type = GEN5_SAMPLER_MESSAGE_SAMPLE_LD;