From 5c2174778360bd493573951d378e29f7097abf5b Mon Sep 17 00:00:00 2001 From: Brian Date: Fri, 2 Feb 2007 11:42:04 -0700 Subject: [PATCH] replace abort() with _mesa_problem() --- src/mesa/shader/slang/slang_codegen.c | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/src/mesa/shader/slang/slang_codegen.c b/src/mesa/shader/slang/slang_codegen.c index 8631c9a21e0..e384022cea8 100644 --- a/src/mesa/shader/slang/slang_codegen.c +++ b/src/mesa/shader/slang/slang_codegen.c @@ -2124,8 +2124,11 @@ _slang_gen_field(slang_assemble_ctx * A, slang_operation *oper) return n; } else { - /* the field is a structure member */ - abort(); + /* the field is a structure member (base.field) */ + /* oper->children[0] is the base */ + /* oper->a_id is the field name */ + _mesa_problem(NULL, "glsl structs/fields not supported yet"); + return NULL; } } -- 2.30.2