diff options
author | Brian <brian@yutani.localnet.net> | 2007-02-02 11:42:04 -0700 |
---|---|---|
committer | Brian <brian@yutani.localnet.net> | 2007-02-02 11:42:04 -0700 |
commit | 5c2174778360bd493573951d378e29f7097abf5b (patch) | |
tree | bdc9b3a8b6d08e22be3adac1866dc73455b08fc3 /src/mesa/shader/slang/slang_codegen.c | |
parent | 2f5b3c9607fd48418a5b3d3dcd6035a3b976b166 (diff) |
replace abort() with _mesa_problem()
Diffstat (limited to 'src/mesa/shader/slang/slang_codegen.c')
-rw-r--r-- | src/mesa/shader/slang/slang_codegen.c | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/src/mesa/shader/slang/slang_codegen.c b/src/mesa/shader/slang/slang_codegen.c index 8631c9a21e..e384022cea 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; } } |