projects
/
platform
/
upstream
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
35aae68
)
i965g: Remove redundant assert.
author
Vinson Lee
<vlee@vmware.com>
Sat, 17 Apr 2010 21:45:49 +0000
(14:45 -0700)
committer
Vinson Lee
<vlee@vmware.com>
Sat, 17 Apr 2010 21:45:49 +0000
(14:45 -0700)
src/gallium/drivers/i965/brw_resource_texture.c
patch
|
blob
|
history
diff --git
a/src/gallium/drivers/i965/brw_resource_texture.c
b/src/gallium/drivers/i965/brw_resource_texture.c
index
a6f27b8
..
07537fe
100644
(file)
--- a/
src/gallium/drivers/i965/brw_resource_texture.c
+++ b/
src/gallium/drivers/i965/brw_resource_texture.c
@@
-549,7
+549,6
@@
brw_texture_from_handle(struct pipe_screen *screen,
format = translate_tex_format(tex->b.b.format);
assert(format != BRW_SURFACEFORMAT_INVALID);
tex->ss.ss0.surface_format = format;
- assert(tex->ss.ss0.surface_format != BRW_SURFACEFORMAT_INVALID);
/* This is ok for all textures with channel width 8bit or less:
*/