зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1178871 - work around that Mac drivers for shader struct scopes. r=jgilbert
This commit is contained in:
Родитель
7aeecfdaf5
Коммит
f804058c0f
|
@ -83,6 +83,9 @@ ChooseValidatorCompileOptions(const ShBuiltInResources& resources,
|
|||
if (gl->Vendor() == gl::GLVendor::NVIDIA) {
|
||||
options |= SH_UNROLL_FOR_LOOP_WITH_SAMPLER_ARRAY_INDEX;
|
||||
}
|
||||
|
||||
// Work around that Mac drivers handle struct scopes incorrectly.
|
||||
options |= SH_REGENERATE_STRUCT_NAMES;
|
||||
}
|
||||
#endif
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче