summaryrefslogtreecommitdiff
path: root/src/gallium/drivers/llvmpipe/lp_bld_type.c
diff options
context:
space:
mode:
authorJosé Fonseca <jfonseca@vmware.com>2009-08-08 22:51:11 +0100
committerJosé Fonseca <jfonseca@vmware.com>2009-08-29 09:21:26 +0100
commit8244d6e5adfcc668676e3783ac6ce53e8dcc2a88 (patch)
treed90310dda6cb6f12d22972f854bd75b9135a0964 /src/gallium/drivers/llvmpipe/lp_bld_type.c
parent9493260fdcef4a8238b9d9a9dc3e753dd89810fe (diff)
llvmpipe: Allow floating types without sign.
With the meaning that all values are assumed to be positive.
Diffstat (limited to 'src/gallium/drivers/llvmpipe/lp_bld_type.c')
-rw-r--r--src/gallium/drivers/llvmpipe/lp_bld_type.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/llvmpipe/lp_bld_type.c b/src/gallium/drivers/llvmpipe/lp_bld_type.c
index fd6ff99e2e..8e0026fd97 100644
--- a/src/gallium/drivers/llvmpipe/lp_bld_type.c
+++ b/src/gallium/drivers/llvmpipe/lp_bld_type.c
@@ -29,13 +29,13 @@
#include "util/u_debug.h"
#include "lp_bld_type.h"
+#include "lp_bld_const.h"
LLVMTypeRef
lp_build_elem_type(union lp_type type)
{
if (type.floating) {
- assert(type.sign);
switch(type.width) {
case 32:
return LLVMFloatType();