From 8244d6e5adfcc668676e3783ac6ce53e8dcc2a88 Mon Sep 17 00:00:00 2001 From: José Fonseca Date: Sat, 8 Aug 2009 22:51:11 +0100 Subject: llvmpipe: Allow floating types without sign. With the meaning that all values are assumed to be positive. --- src/gallium/drivers/llvmpipe/lp_bld_type.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/gallium/drivers/llvmpipe/lp_bld_type.h') diff --git a/src/gallium/drivers/llvmpipe/lp_bld_type.h b/src/gallium/drivers/llvmpipe/lp_bld_type.h index c56dd3b20e..3ce566be64 100644 --- a/src/gallium/drivers/llvmpipe/lp_bld_type.h +++ b/src/gallium/drivers/llvmpipe/lp_bld_type.h @@ -73,7 +73,8 @@ union lp_type { /** * Whether it can represent negative values or not. * - * Floating point values should always have this bit set. + * If this is not set for floating point, it means that all values are + * assumed to be positive. */ unsigned sign:1; -- cgit v1.2.3