Skip to content

Commit

Permalink
vk: temporary workaround for sampler external (#8250)
Browse files Browse the repository at this point in the history
  • Loading branch information
poweifeng authored Nov 5, 2024
1 parent 7f92dfd commit b64df46
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions filament/backend/src/vulkan/VulkanHandles.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -87,14 +87,12 @@ BitmaskGroup fromBackendLayout(DescriptorSetLayout const& layout) {
}
break;
}
// TODO: properly handle external sampler
case DescriptorType::SAMPLER_EXTERNAL:
case DescriptorType::SAMPLER: {
fromStageFlags(binding.stageFlags, binding.binding, mask.sampler);
break;
}
case DescriptorType::SAMPLER_EXTERNAL: {
PANIC_POSTCONDITION("DescriptorType::SAMPLER_EXTERNAL is not supported yet");
break;
}
case DescriptorType::INPUT_ATTACHMENT: {
fromStageFlags(binding.stageFlags, binding.binding, mask.inputAttachment);
break;
Expand Down

0 comments on commit b64df46

Please sign in to comment.