[Mesa-dev] Adding a UARL opcode to TGSI

Bryan Cain bryancain3 at gmail.com
Thu Jul 21 16:48:30 PDT 2011


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?

Bryan


More information about the mesa-dev mailing list