projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8ba14fa
)
llvmpipe: additional texture assertion
author
Brian Paul
<brianp@vmware.com>
Thu, 15 Apr 2010 23:41:39 +0000
(17:41 -0600)
committer
Brian Paul
<brianp@vmware.com>
Fri, 16 Apr 2010 15:27:58 +0000
(09:27 -0600)
src/gallium/drivers/llvmpipe/lp_texture.c
patch
|
blob
|
history
diff --git
a/src/gallium/drivers/llvmpipe/lp_texture.c
b/src/gallium/drivers/llvmpipe/lp_texture.c
index 7e4e4d5f0bef11182bf569363fa254e89d407db2..635ab11c112b17e46eb1957333b94b22bbd5892c 100644
(file)
--- a/
src/gallium/drivers/llvmpipe/lp_texture.c
+++ b/
src/gallium/drivers/llvmpipe/lp_texture.c
@@
-200,6
+200,10
@@
llvmpipe_resource_create(struct pipe_screen *_screen,
goto fail;
}
+ if (resource_is_texture(&lpt->base)) {
+ assert(lpt->layout[0][0]);
+ }
+
lpt->id = id_counter++;
return &lpt->base;