mirror of
https://github.com/flutter/flutter.git
synced 2026-02-20 02:29:02 +08:00
Fix gles bindings (flutter/engine#34836)
This commit is contained in:
parent
708668eb32
commit
e5f228fe1a
@ -42,7 +42,7 @@ uint32_t CompilerBackend::GetExtendedMSLResourceBinding(
|
||||
}
|
||||
}
|
||||
if (auto compiler = GetGLSLCompiler()) {
|
||||
return compiler->get_decoration(id, spv::Decoration::DecorationLocation);
|
||||
return compiler->get_decoration(id, spv::Decoration::DecorationBinding);
|
||||
}
|
||||
const auto kOOBIndex = static_cast<uint32_t>(-1);
|
||||
return kOOBIndex;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user