llvmpipe: abstract the code to set number of subpixel bits
authorZack Rusin <zackr@vmware.com>
Wed, 25 Sep 2013 23:38:33 +0000 (19:38 -0400)
committerZack Rusin <zackr@vmware.com>
Wed, 9 Oct 2013 22:30:31 +0000 (18:30 -0400)
commitedde6c77bd1cb91f6f7c42010919e6f406f507ce
tree26039517cd76354dc4d1182052ef71e6ec220f47
parent87fe4a33d30b78549426d9af7ad121eff38fa29b
llvmpipe: abstract the code to set number of subpixel bits

As we're moving towards expanding the number of subpixel
bits and the width of the variables used in the computations
we need to make this code a bit more centralized.

Signed-off-by: Zack Rusin <zackr@vmware.com>
Reviewed-by: José Fonseca <jfonseca@vmware.com>
Reviewed-by: Brian Paul <brianp@vmware.com>
src/gallium/drivers/llvmpipe/lp_rast.h
src/gallium/drivers/llvmpipe/lp_setup.c
src/gallium/drivers/llvmpipe/lp_setup_tri.c