summaryrefslogtreecommitdiffstats
path: root/src/gallium
diff options
context:
space:
mode:
authorVinson Lee <[email protected]>2010-04-17 14:45:49 -0700
committerVinson Lee <[email protected]>2010-04-17 14:45:49 -0700
commitf426295521f81a152e641593d89a7708326bffd2 (patch)
tree6c88f45da7318761536ed0385016c462e53df259 /src/gallium
parent35aae6839e7bf29e602f6bf9e8730cc62d83f8cd (diff)
i965g: Remove redundant assert.
Diffstat (limited to 'src/gallium')
-rw-r--r--src/gallium/drivers/i965/brw_resource_texture.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/gallium/drivers/i965/brw_resource_texture.c b/src/gallium/drivers/i965/brw_resource_texture.c
index a6f27b8a413..07537fe44ef 100644
--- 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:
*/