Vulkan: Push constants #104880

Merged
Jeroen Bakker merged 73 commits from Jeroen-Bakker/blender:vulkan-push-constants into main 2023-03-06 12:29:06 +01:00
1 changed files with 2 additions and 2 deletions
Showing only changes of commit 22cc7f7749 - Show all commits

View File

@ -677,8 +677,8 @@ bool VKShader::finalize(const shader::ShaderCreateInfo *info)
BLI_assert(geometry_module_ == VK_NULL_HANDLE);
BLI_assert(fragment_module_ == VK_NULL_HANDLE);
BLI_assert(compute_module_ != VK_NULL_HANDLE);
compute_pipeline_ = std::move(VKPipeline::create_compute_pipeline(
*context_, compute_module_, layout_, pipeline_layout_));
compute_pipeline_ = VKPipeline::create_compute_pipeline(
*context_, compute_module_, layout_, pipeline_layout_);
result = compute_pipeline_.is_valid();
}