-
-
Notifications
You must be signed in to change notification settings - Fork 127
Open
Description
The following code crashes in the mentioned function during VkFFT initialization.
VkFFTConfiguration vkfft_config = {};
pfUINT buffer_size = (1 << 18);
vkfft_config.FFTdim = 1;
vkfft_config.size[0] = buffer_size / sizeof(float) / 2; // Complex numbers
vkfft_config.physicalDevice = &_vk_physical_device;
vkfft_config.device = &_vk_device;
vkfft_config.queue = &_vk_queue;
vkfft_config.commandPool = &_vk_command_pool;
vkfft_config.fence = &_vk_fence;
vkfft_config.isCompilerInitialized = 0;
vkfft_config.bufferSize = &buffer_size;
vkfft_config.makeForwardPlanOnly = 1;
const VkFFTResult res = initializeVkFFT(&_vkfft_app, vkfft_config);There are 2 places where it's used.
| res = vkCreateDescriptorSetLayout(app->configuration.device[0], &descriptorSetLayoutCreateInfo, 0, &axis->descriptorSetLayout); |
| res = vkCreateDescriptorSetLayout(app->configuration.device[0], &descriptorSetLayoutCreateInfo, 0, &axis->descriptorSetLayout); |
For me, adding descriptorSetLayoutBindings[i].pImmutableSamplers = NULL; in a loop before the call fixed the crash.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels