diff options
author | Hui Qi Tay <hqtay@vmware.com> | 2010-07-19 15:23:09 +0100 |
---|---|---|
committer | Keith Whitwell <keithw@vmware.com> | 2010-08-27 13:08:54 +0100 |
commit | 5286dd701640976ffc328e8e85fb3830746851a1 (patch) | |
tree | 9d11aca1063f70218e52135b78540619092b2da3 /src/gallium/drivers/llvmpipe/lp_rast_tri.c | |
parent | c95ca04b63eadb61add249531c1041aaf5b525d6 (diff) |
llvmpipe: native rasterization for lines
Rasterize lines directly by treating them as 4-sided polygons.
Still need to check the exact pixel rasteration.
Diffstat (limited to 'src/gallium/drivers/llvmpipe/lp_rast_tri.c')
-rw-r--r-- | src/gallium/drivers/llvmpipe/lp_rast_tri.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/gallium/drivers/llvmpipe/lp_rast_tri.c b/src/gallium/drivers/llvmpipe/lp_rast_tri.c index 673f67386b..8d729c7481 100644 --- a/src/gallium/drivers/llvmpipe/lp_rast_tri.c +++ b/src/gallium/drivers/llvmpipe/lp_rast_tri.c @@ -157,6 +157,10 @@ build_mask_linear(int c, int dcdx, int dcdy) #define NR_PLANES 7 #include "lp_rast_tri_tmp.h" +#define TAG(x) x##_8 +#define NR_PLANES 8 +#include "lp_rast_tri_tmp.h" + /* Special case for 3 plane triangle which is contained entirely * within a 16x16 block. |