re-enable some code
authorBrian <brian@yutani.localnet.net>
Mon, 26 Feb 2007 22:02:36 +0000 (15:02 -0700)
committerBrian <brian@yutani.localnet.net>
Mon, 26 Feb 2007 22:02:36 +0000 (15:02 -0700)
src/mesa/shader/slang/slang_typeinfo.c

index fe3834994dde5bef7c0d66979ea364b96f29904a..07ec514c678a660abb40b6c40865e86e60534f60 100644 (file)
@@ -605,13 +605,11 @@ _slang_typeof_operation_(const slang_operation * op,
             slang_type_specifier_type base;
 
             /* determine the swizzle of the field expression */
-#if 000 /*XXX re-enable? */
             if (!_slang_type_is_vector(_ti.spec.type)) {
                slang_typeinfo_destruct(&_ti);
                slang_info_log_error(log, "Can't swizzle scalar expression");
                return GL_FALSE;
             }
-#endif
             rows = _slang_type_dim(_ti.spec.type);
             swizzle = slang_atom_pool_id(atoms, op->a_id);
             if (!_slang_is_swizzle(swizzle, rows, &ti->swz)) {