summaryrefslogtreecommitdiff
path: root/src/gallium/drivers/llvmpipe/lp_jit.h
diff options
context:
space:
mode:
authorBrian Paul <brianp@vmware.com>2010-01-08 14:49:34 -0700
committerBrian Paul <brianp@vmware.com>2010-01-08 14:49:34 -0700
commitf4321fbd961a0a891c7f40b16efc61aa791e03a9 (patch)
tree9749777e97806cb35fefcd128cc549bb3753e737 /src/gallium/drivers/llvmpipe/lp_jit.h
parent5208af7853989c30bea6ce8c4ac659a2f2304225 (diff)
llvmpipe: optimize case when all four pixels are inside the triangle
When the incoming c0,c1,c2 values are equal to INT_MIN it means that all pixels are inside the triangle. Thus we can skip the detailed pixel inside/outside triangle tests. Use the new lp_build_if()/endif() functions to generate the branching code. The code is disabled ATM however because it's actually a little slower than the original code. A little more tuning may fix that though...
Diffstat (limited to 'src/gallium/drivers/llvmpipe/lp_jit.h')
0 files changed, 0 insertions, 0 deletions