From: Vadim Girlin Date: Fri, 1 Feb 2013 09:19:35 +0000 (+0400) Subject: r600g: remove broken assert from r600_isa.c X-Git-Tag: mesa-9.2.1~2880 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=9824755daef3beed6b6d5b5d248db9ecf04e2900;p=platform%2Fupstream%2Fmesa.git r600g: remove broken assert from r600_isa.c Signed-off-by: Vadim Girlin --- diff --git a/src/gallium/drivers/r600/r600_isa.c b/src/gallium/drivers/r600/r600_isa.c index e3a29c3..20b1759 100644 --- a/src/gallium/drivers/r600/r600_isa.c +++ b/src/gallium/drivers/r600/r600_isa.c @@ -32,8 +32,6 @@ int r600_isa_init(struct r600_context *ctx, struct r600_isa *isa) { assert(ctx->chip_class >= R600 && ctx->chip_class <= CAYMAN); isa->hw_class = ctx->chip_class - R600; - assert(isa->hw_class >= ISA_CC_R600 && isa->hw_class <= ISA_CC_EVERGREEN); - /* reverse lookup maps are required for bytecode parsing only, * currently it's needed for handling the bytestream from llvm backend */ #if defined R600_USE_LLVM || defined HAVE_OPENCL