fixbug: The material Material_MR has not been compiled to include the required GLSL or SPIR-V chunks for the vertex shader (variant=5, filtered=5)
Because the member variable mVariantFilter is not initialized, random values will appear on Windows 10 or others platform, which eventually causes some variants to be filtered out by this mVariantFilter. (#9000)
This commit is contained in:
@@ -58,7 +58,7 @@ private:
|
||||
std::vector<Material*> mMaterials;
|
||||
Engine* const mEngine;
|
||||
const bool mOptimizeShaders;
|
||||
filament::UserVariantFilterMask mVariantFilter;
|
||||
filament::UserVariantFilterMask mVariantFilter{};
|
||||
};
|
||||
|
||||
JitShaderProvider::JitShaderProvider(Engine* engine, bool optimizeShaders,
|
||||
|
||||
Reference in New Issue
Block a user