Cleanup: Remove Never Failing Check

This commit is contained in:
Jeroen Bakker 2023-11-17 07:56:56 +01:00
parent be97ed2828
commit 35db18af2e
1 changed files with 0 additions and 4 deletions

View File

@ -148,10 +148,6 @@ void VKPushConstants::update(VKContext &context)
{
VKShader *shader = static_cast<VKShader *>(context.shader);
VKCommandBuffers &command_buffers = context.command_buffers_get();
VKPipeline &pipeline = shader->pipeline_get();
BLI_assert_msg(&pipeline.push_constants_get() == this,
"Invalid state detected. Push constants doesn't belong to the active shader of "
"the given context.");
VKDescriptorSetTracker &descriptor_set = context.descriptor_set_get();
switch (layout_get().storage_type_get()) {