llvmpipe: Don't assume/enforce fs values are in [0,1] range.
authorJosé Fonseca <jfonseca@vmware.com>
Wed, 12 Aug 2009 01:35:53 +0000 (02:35 +0100)
committerJosé Fonseca <jfonseca@vmware.com>
Sat, 29 Aug 2009 08:21:30 +0000 (09:21 +0100)
src/gallium/drivers/llvmpipe/lp_fs_llvm.c

index 8999b8de09bbe5b785d767388aff0130fcf725cd..2c1a849785334afff84b9df792d98033cfebce83 100644 (file)
@@ -98,8 +98,8 @@ shader_generate(struct llvmpipe_screen *screen,
 
    type.value = 0;
    type.floating = TRUE;
-   type.sign = FALSE;
-   type.norm = TRUE;
+   type.sign = TRUE;
+   type.norm = FALSE;
    type.width = 32;
    type.length = 4;