mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-08 02:38:04 +02:00
glsl: fix uninitialized var in _slang_gen_for_without_continue()
This commit is contained in:
parent
5951ab311d
commit
09313043e7
1 changed files with 1 additions and 1 deletions
|
|
@ -3171,7 +3171,7 @@ _slang_gen_for_without_continue(slang_assemble_ctx *A, slang_operation *oper)
|
|||
|
||||
/* declare: bool _condFlag = true */
|
||||
{
|
||||
slang_operation *condDecl;
|
||||
slang_operation *condDecl = slang_oper_child(top, 0);
|
||||
slang_generate_declaration(A, top->locals, condDecl,
|
||||
SLANG_SPEC_BOOL, "_condFlag", GL_TRUE);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue