mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-25 00:00:11 +01:00
i965: Add missing "break" statement.
Otherwise, it would try to handle arrays as structures, use uninitialized memory, and crash.
This commit is contained in:
parent
f37b114dc3
commit
65d4234c23
1 changed files with 1 additions and 0 deletions
|
|
@ -941,6 +941,7 @@ fs_visitor::emit_assignment_writes(fs_reg &l, fs_reg &r,
|
|||
for (unsigned int i = 0; i < type->length; i++) {
|
||||
emit_assignment_writes(l, r, type->fields.array, predicated);
|
||||
}
|
||||
break;
|
||||
|
||||
case GLSL_TYPE_STRUCT:
|
||||
for (unsigned int i = 0; i < type->length; i++) {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue