Age | Commit message (Collapse) | Author |
|
This CL changes ToDatumType to be ToFormat and uses the generated format
within the amber script parser. The DatumType class is moved into the
vkscript/ folder as that is the only remaining usage.
|
|
Pulls in googletest with INSTANTIATE_TEST_SUITE_P
|
|
This CL adds a GetFormat method directly to the Buffer class. The method
is overriden by the two sub-classes. The DataBuffer will cache the
generated format.
|
|
The SizeInBytes name matches what is used in the DatumType class.
|
|
This CL updates the vulkan engine to allow using a data buffer when
setting the vertex buffer. The needed format string will be
auto-generated from the data type set in the data buffer.
|
|
Generate a Format from a DataBuffer.
When sending a VertexBuffer to Vulkan the data format is passed as a
VkFormat string. When the buffer is provided in AmberScript it is not a
FORMAT buffer. This CL adds the necessary code to generate a Format from
a DatumType. This will allow creating the necessary format to send to
Vulkan.
|