diff --git a/impeller/compiler/spirv_sksl.cc b/impeller/compiler/spirv_sksl.cc index 0257c79fc3f29..643f90e8d1da6 100644 --- a/impeller/compiler/spirv_sksl.cc +++ b/impeller/compiler/spirv_sksl.cc @@ -349,6 +349,8 @@ void CompilerSkSL::emit_resources() { if (emit_global_variable_resources()) { statement(""); } + + declare_undefined_values(); } void CompilerSkSL::emit_interface_block(const SPIRVariable& var) {