summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrian <brian@yutani.localnet.net>2007-02-26 15:02:36 -0700
committerBrian <brian@yutani.localnet.net>2007-02-26 15:02:36 -0700
commit365f8fb0dd19a8fa43b1de8e89793059095981db (patch)
tree5e6ea73c8f93188a85f3ae0e9fe39f201c7ba51c
parented0ae62ad746d10fe546c900a42e55af5d05c227 (diff)
re-enable some code
-rw-r--r--src/mesa/shader/slang/slang_typeinfo.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/mesa/shader/slang/slang_typeinfo.c b/src/mesa/shader/slang/slang_typeinfo.c
index fe3834994d..07ec514c67 100644
--- a/src/mesa/shader/slang/slang_typeinfo.c
+++ b/src/mesa/shader/slang/slang_typeinfo.c
@@ -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)) {