[Mesa-dev] [PATCH 1/3] i965/fs: Implement texelFetch() on Ironlake and Sandybridge.

Kenneth Graunke kenneth at whitecape.org
Fri Sep 9 20:18:44 PDT 2011


On 09/09/2011 10:04 AM, Eric Anholt wrote:
> On Thu,  8 Sep 2011 15:49:21 -0700, Kenneth Graunke <kenneth at whitecape.org> wrote:
>> @@ -861,7 +862,14 @@ fs_visitor::emit_texture_gen5(ir_texture *ir, fs_reg dst, fs_reg coordinate,
>>        inst = emit(FS_OPCODE_TXS, dst);
>>        break;
>>     case ir_txf:
>> -      assert(!"GLSL 1.30 features unsupported");
>> +      mlen = header_present + 4 * reg_width;
>> +
>> +      this->result = reg_undef;
>> +      ir->lod_info.lod->accept(this);
> 
> You don't need the reg_undef any more, right?

I swear I deleted that, but one must've slipped through.  Thanks.


More information about the mesa-dev mailing list