Re: [Mesa-dev] [PATCH] llvmpipe: Fix rendering to PIPE_FORMAT_R10G10B10A2_UNORM.

2013-09-20 Thread Roland Scheidegger
Am 20.09.2013 13:59, schrieb jfons...@vmware.com: > From: José Fonseca > > We must take rounding in consideration when re-scaling to narrow > normalized channels, such as 2-bit normalized alpha. > --- > src/gallium/drivers/llvmpipe/lp_state_fs.c | 84 > +++--- > 1 file c

[Mesa-dev] [PATCH] llvmpipe: Fix rendering to PIPE_FORMAT_R10G10B10A2_UNORM.

2013-09-20 Thread jfonseca
From: José Fonseca We must take rounding in consideration when re-scaling to narrow normalized channels, such as 2-bit normalized alpha. --- src/gallium/drivers/llvmpipe/lp_state_fs.c | 84 +++--- 1 file changed, 78 insertions(+), 6 deletions(-) diff --git a/src/gallium/