[Mesa-dev] [PATCH] gallium: add double opcodes and TGSI execution (v2.1)
Ilia Mirkin
imirkin at alum.mit.edu
Tue Dec 23 19:52:20 PST 2014
On Tue, Dec 23, 2014 at 10:42 PM, Dave Airlie <airlied at gmail.com> wrote:
>>> +#define TGSI_OPCODE_DRCP 208 /* eg, cayman */
>>> +#define TGSI_OPCODE_DSQRT 209 /* eg, cayman also has DRSQ
>>> */
>>
>>
>> Adding DRSQ seems like a good idea, at least for graphics with floats its
>> more frequent than SQRT.
>
> Yes I agree with that now, I'll add it in next version.
I think you saw, but I have a bunch more that I needed for nvc0 at:
https://github.com/imirkin/mesa/commit/31e9ecd461674d979ce80537ba4cb9b453a35018.patch
And a few follow-ons which will allow selectively adding them a group
at a time depending on the caps (one for dround & co, one for
dldexp/dfracexp):
https://github.com/imirkin/mesa/commit/ad7a9cdffb7ed5aa5b6dfd88cf15724fb3a11b7d.patch
https://github.com/imirkin/mesa/commit/e1855dfed993d7600c559ed89dd3d2d3336273c9.patch
Sorry, no docs :(
Feel free to fold/whatever into your change.
-ilia
More information about the mesa-dev
mailing list