summaryrefslogtreecommitdiff
path: root/progs/tests/vpeval.c
diff options
context:
space:
mode:
authorBrian Paul <brianp@vmware.com>2010-01-14 19:15:00 -0700
committerBrian Paul <brianp@vmware.com>2010-01-14 19:15:00 -0700
commit4461442849bfdb817334b38567136f7f9dabdf59 (patch)
tree2539c1448256f7c617e6b902deba793ca63a4959 /progs/tests/vpeval.c
parentca12e30d97b83fb33e1f8f83da05b5ed2809b0af (diff)
llvmpipe: implement scissor testing
The scissor test is implemented as another per-quad operation in the JIT code. The four scissor box params are passed via the lp_jit_context. In the JIT code we compare the quad's x/y coords against the clip bounds and create a new in/out mask that's AND'd with the main quad mask. Note: we should also do scissor testing in the triangle setup code to improve efficiency. That's not done yet.
Diffstat (limited to 'progs/tests/vpeval.c')
0 files changed, 0 insertions, 0 deletions