[Mesa-dev] [PATCH 01/19] i965/vp: Remove more code for unused opcodes.

Eric Anholt eric at anholt.net
Wed Oct 10 11:03:00 PDT 2012


Brian Paul <brianp at vmware.com> writes:

> On 10/09/2012 07:06 PM, Eric Anholt wrote:
>> These don't appear in ARB_vp or NV_vp and I missed that fact on the first
>> pass of removing dead opcodes.

> I'd have expected that LRP would be generated by GLSL's mix() 
> function, but it looks like it's not.  DX9 has LRP instructions.  Do 
> any GPUs directly support that opcode?

gen7 actually does have a LRP instruction, but this chunk of code is
only used for ARB_vps and fixed function (brw_vec4_* handles GLSL).
-------------- 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/20121010/4ab04d89/attachment.pgp>


More information about the mesa-dev mailing list