[Mesa-dev] [PATCH 1/3] i965/fs: Implement texelFetch() on Ironlake and Sandybridge.
Eric Anholt
eric at anholt.net
Fri Sep 9 10:04:51 PDT 2011
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?
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/mesa-dev/attachments/20110909/6db1b88d/attachment.pgp>
More information about the mesa-dev
mailing list