projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e049ddb
)
llvmpipe: Fix assert.
author
Vinson Lee
<vlee@vmware.com>
Tue, 29 Dec 2009 02:07:09 +0000
(18:07 -0800)
committer
Vinson Lee
<vlee@vmware.com>
Tue, 29 Dec 2009 02:07:09 +0000
(18:07 -0800)
src/gallium/drivers/llvmpipe/lp_bld_depth.c
patch
|
blob
|
history
diff --git
a/src/gallium/drivers/llvmpipe/lp_bld_depth.c
b/src/gallium/drivers/llvmpipe/lp_bld_depth.c
index 98ec1cb1b9dca428118830ae8e8f70173a4d9648..d438c0e63d7d43695775d89ed9ca137c8cf4d9db 100644
(file)
--- a/
src/gallium/drivers/llvmpipe/lp_bld_depth.c
+++ b/
src/gallium/drivers/llvmpipe/lp_bld_depth.c
@@
-90,7
+90,7
@@
lp_depth_type(const struct util_format_description *format_desc,
if(format_desc->channel[swizzle].type == UTIL_FORMAT_TYPE_FLOAT) {
type.floating = TRUE;
- assert(swizzle = 0);
+ assert(swizzle =
=
0);
assert(format_desc->channel[swizzle].size == format_desc->block.bits);
}
else if(format_desc->channel[swizzle].type == UTIL_FORMAT_TYPE_UNSIGNED) {