From: Brian Date: Fri, 2 Feb 2007 18:42:04 +0000 (-0700) Subject: replace abort() with _mesa_problem() X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=5c2174778360bd493573951d378e29f7097abf5b;p=mesa.git replace abort() with _mesa_problem() --- 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; } }