[Mesa-dev] Adding a UARL opcode to TGSI

Brian Paul brianp at vmware.com
Fri Jul 22 09:19:04 PDT 2011

On 07/21/2011 05:48 PM, Bryan Cain wrote:
> TGSI's set of signed and unsigned integer opcodes is mostly complete and
> usable, but there is one important operation missing: loading an integer
> into the address register.  Currently, the only way to do this is to use
> I2F followed by ARL.  This is very counterproductive, since every driver
> has to convert the float back to an integer to use it as an address.
> So, is there any reason not to add a UARL opcode to TGSI?

Sounds OK to me.


More information about the mesa-dev mailing list