Module: Mesa
Branch: master
Commit: 9824755daef3beed6b6d5b5d248db9ecf04e2900
URL:    
http://cgit.freedesktop.org/mesa/mesa/commit/?id=9824755daef3beed6b6d5b5d248db9ecf04e2900

Author: Vadim Girlin <[email protected]>
Date:   Fri Feb  1 13:19:35 2013 +0400

r600g: remove broken assert from r600_isa.c

Signed-off-by: Vadim Girlin <[email protected]>

---

 src/gallium/drivers/r600/r600_isa.c |    2 --
 1 files changed, 0 insertions(+), 2 deletions(-)

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

_______________________________________________
mesa-commit mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/mesa-commit

Reply via email to