summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJosé Fonseca <[email protected]>2009-08-12 02:35:53 +0100
committerJosé Fonseca <[email protected]>2009-08-29 09:21:30 +0100
commit1b3c83d699f83972a42595860c6e71643fb6f03c (patch)
tree08bf35c9d8a4f0ca5ef9edd9cc56eafae068e319
parent1709ace359a2d513cf09de28bf372248f6103f6a (diff)
llvmpipe: Don't assume/enforce fs values are in [0,1] range.
-rw-r--r--src/gallium/drivers/llvmpipe/lp_fs_llvm.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gallium/drivers/llvmpipe/lp_fs_llvm.c b/src/gallium/drivers/llvmpipe/lp_fs_llvm.c
index 8999b8de09b..2c1a8497853 100644
--- a/src/gallium/drivers/llvmpipe/lp_fs_llvm.c
+++ b/src/gallium/drivers/llvmpipe/lp_fs_llvm.c
@@ -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;