summaryrefslogtreecommitdiffstats
path: root/src/mesa
diff options
context:
space:
mode:
Diffstat (limited to 'src/mesa')
-rw-r--r--src/mesa/shader/slang/slang_codegen.c7
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 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;
}
}