aboutsummaryrefslogtreecommitdiff
path: root/src/datum_type_test.cc
AgeCommit message (Collapse)Author
2019-09-24Remove DatumType usage from AmberScript parser. (#664)dan sinclair
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.
2019-07-16Update DEPS: update googletest (#581)David Neto
Pulls in googletest with INSTANTIATE_TEST_SUITE_P
2019-04-10Add Buffer::GetFormat (#458)dan sinclair
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.
2019-04-10Simplify Format::GetBytesize; rename to SizeInBytes (#457)dan sinclair
The SizeInBytes name matches what is used in the DatumType class.
2019-04-10 [vulkan] Allow setting vertex buffer with a data buffer (#450)dan sinclair
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.
2019-04-05Generate a Format from a DataBuffer. (#448)dan sinclair
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.