projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2f5b3c9
)
replace abort() with _mesa_problem()
author
Brian
<brian@yutani.localnet.net>
Fri, 2 Feb 2007 18:42:04 +0000
(11:42 -0700)
committer
Brian
<brian@yutani.localnet.net>
Fri, 2 Feb 2007 18:42:04 +0000
(11:42 -0700)
src/mesa/shader/slang/slang_codegen.c
patch
|
blob
|
history
diff --git
a/src/mesa/shader/slang/slang_codegen.c
b/src/mesa/shader/slang/slang_codegen.c
index 8631c9a21e0e2de3a54d09122960e6cfd8ab1370..e384022cea8fed503f041de53185963c420c4b27 100644
(file)
--- 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;
}
}