summaryrefslogtreecommitdiffstats
path: root/common.py
diff options
context:
space:
mode:
authorJosé Fonseca <[email protected]>2011-10-05 11:31:15 +0100
committerJosé Fonseca <[email protected]>2011-10-05 18:07:05 +0100
commitc620087432b2055aa9301f19f8b6444080698c90 (patch)
tree7950a03f39959a41913dded80267a19b0e316faa /common.py
parent9c697a9d004da4aa7a26d3bda17cc473f50345ea (diff)
llvmpipe: Ensure the 16x16 special rasterization path does not touch outside the tile.
llvmpipe has a few special rasterization paths for triangles contained in 16x16 blocks, but it allows the 16x16 block to be aligned only to a 4x4 grid. Some 16x16 blocks could actually intersect the tile if the triangle is 16 pixels in one dimension but 4 in the other, causing a buffer overflow. The fix consists of budging the 16x16 blocks back inside the tile.
Diffstat (limited to 'common.py')
0 files changed, 0 insertions, 0 deletions