Remove RAM stored mesh data
Remove RAM stored vertices and indices data. It is now stored only in GPU memory.
This commit is contained in:
1 parent
0ef475e57e
commit
940bc7e512
7 files changed
+39
-112
No files matched your search
@@ -534,6 +534,8 @@ void free_dynamic_pipeline_state_info(VkPipelineDynamicStateCreateInfo* dynamic_
|
||||
*/
|
||||
void fill_vertex_input_info(VkPipelineVertexInputStateCreateInfo* vertex_input_info)
|
||||
{
|
||||
/* This is clusterfuck with some magic numbers here and there and unneeded malloc and memcpy stuff. Change,
|
||||
* so you won't feel ashamed. */
|
||||
VkVertexInputBindingDescription vertex_binding_description = get_binding_description();
|
||||
VkVertexInputAttributeDescription* vertex_attribute_descriptions = get_attribute_descriptions();
|
||||
VkVertexInputBindingDescription* bindingDescriptions = malloc(sizeof(VkVertexInputBindingDescription) * 2);
|
||||
|
||||
Reference in new issue
Block a user