35#ifndef LevelCrossingDetector_h
36#define LevelCrossingDetector_h
38struct __attribute__((packed)) ZeroCrossingPushConstants
43 uint32_t inputPerThread;
44 uint32_t outputPerThread;
48struct __attribute__((packed)) PreGatherPushConstants
54struct __attribute__((packed)) GatherPushConstants
68 int64_t FindZeroCrossings(
71 vk::raii::CommandBuffer& cmdBuf,
72 std::shared_ptr<QueueHandle> queue);
78 std::unique_ptr<ComputePipeline> m_zeroCrossingPipeline;
79 std::unique_ptr<ComputePipeline> m_preGatherPipeline;
80 std::unique_ptr<ComputePipeline> m_gatherPipeline;
Helper for GPU accelerated level-crossing searches.
Definition: LevelCrossingDetector.h:64