diff options
author | José Fonseca <[email protected]> | 2010-05-08 21:42:55 +0100 |
---|---|---|
committer | José Fonseca <[email protected]> | 2010-05-08 23:29:05 +0100 |
commit | c376dadbb07eccf18801b9983be15f6329335d1e (patch) | |
tree | b062190437c9f1eb40d83f7f27c4c168a9ff6fec /src/gallium/drivers/identity/id_drm.h | |
parent | de088c6ae44f78d0afa3970cbaf40cdfc21d8fd9 (diff) |
gallivm: Use a minimax polynomial for exp2 in range [0,1] instead [-0.5,5].
The advantage of range[-0.5, 0.5] is that it doesn't require floor (for
which intrinsics are only available in SSE4.1).
But the EXP opcode pretty much forces us to use floor, and there is a
good floor approximation around truncation available anyway.
This fixes EXP failures in VShader DCT.
Diffstat (limited to 'src/gallium/drivers/identity/id_drm.h')
0 files changed, 0 insertions, 0 deletions