first attempt to add support for geom but I don't like much the design
authorEleni Maria Stea <estea@igalia.com>
Sat, 20 Nov 2021 15:07:52 +0000 (17:07 +0200)
committerEleni Maria Stea <estea@igalia.com>
Sat, 20 Nov 2021 15:07:52 +0000 (17:07 +0200)
commitd1dbc679d802194c2973d0acc82dae17c6e1f569
tree1970baa30eaee9f4640e35fc38386040104e8db4
parent739a8266145a78fdc015ac74c890474f023b1fd1
first attempt to add support for geom but I don't like much the design

vertex descriptions shouldn't be like that. I don't like the current
create_vertex_descriptions, I need to dynamically allocate as many as I
need to fit vertices, indices, normals and tangents.

I am also not sure if geometry should store all the vertices or just
information about which ones are used. The data will be send later. When
I create the renderer, the pipelines etc I only need the *description*.

So to be fixed.
src/main.cc
src/vk.c
src/vk.h