vk: Minor fixes to vertex counting and lower exception to notice if var does not exist

This commit is contained in:
kd-11 2017-03-26 01:24:19 +03:00
parent 79d114cc06
commit ba968048c9
2 changed files with 4 additions and 3 deletions

View file

@ -64,7 +64,7 @@ namespace vk
}
}
fmt::throw_exception("texture not found" HERE);
LOG_NOTICE(RSX, "texture not found in program: %s", uniform_name.c_str());
}
void program::bind_uniform(VkDescriptorBufferInfo buffer_descriptor, uint32_t binding_point, VkDescriptorSet &descriptor_set)
@ -100,7 +100,8 @@ namespace vk
return;
}
}
fmt::throw_exception("vertex buffer not found" HERE);
LOG_NOTICE(RSX, "vertex buffer not found in program: %s", binding_name.c_str());
}
}
}