summaryrefslogtreecommitdiffstats
path: root/src/gallium/auxiliary/pipebuffer/pb_buffer.h
diff options
context:
space:
mode:
authorJosé Fonseca <[email protected]>2010-05-08 21:42:55 +0100
committerJosé Fonseca <[email protected]>2010-05-08 23:29:05 +0100
commitc376dadbb07eccf18801b9983be15f6329335d1e (patch)
treeb062190437c9f1eb40d83f7f27c4c168a9ff6fec /src/gallium/auxiliary/pipebuffer/pb_buffer.h
parentde088c6ae44f78d0afa3970cbaf40cdfc21d8fd9 (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/auxiliary/pipebuffer/pb_buffer.h')
0 files changed, 0 insertions, 0 deletions