We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 56dc348 commit 73a03d7Copy full SHA for 73a03d7
filament/src/details/MaterialInstance.cpp
@@ -429,7 +429,7 @@ void FMaterialInstance::fixMissingSamplers() const {
429
FEngine const& engine = mMaterial->getEngine();
430
filament::DescriptorSetLayout const& layout = mMaterial->getDescriptorSetLayout();
431
432
- if (pos->format != SamplerFormat::FLOAT) {
+ if (pos->format == SamplerFormat::FLOAT) {
433
// TODO: we only handle missing samplers that are FLOAT
434
switch (pos->type) {
435
case SamplerType::SAMPLER_2D:
0 commit comments