aboutsummaryrefslogtreecommitdiff
path: root/src/vulkan/buffer_descriptor.h
AgeCommit message (Collapse)Author
2019-09-23Remove stale forward declarations (#662)dan sinclair
2019-09-18Rename Buffer::ResizeTo to Buffer::SetSizeInElements. (#655)dan sinclair
This makes the name clearer and matches SetSizeInBytes. Fixes #597
2019-04-23Move buffer filling code into Buffer class. (#484)dan sinclair
This CL moves the code to fill a buffer with a vector of Value objects into the Buffer class.
2019-04-17Flush out some class/method documentation. (#476)dan sinclair
This CL adds class/method documentation to a few more classes.
2019-04-11Unify buffer sizes. (#465)dan sinclair
* Unify buffer sizes. Currently the format buffer and data buffer count their size differently. For data buffers we counted elements (so 1 vec4 was size 1) and format buffers counted values (so 1 vec4 was size 4). This CL unifies the two sizes and adds ElementCount and ValueCount to make it explicit which version the user wants. As part of this, the data types used for ssbo and uniform commands must be consistent. The tests where we switched data formats part way through are updated. * build fix
2019-04-11Convert ProbeSSBO to use Format objects. (#464)dan sinclair
This CL moves the ProbeSSBO command to use a format object instead of a Datum type.
2019-04-10Convert BufferCommand to use Format. (#462)dan sinclair
This Cl moves the buffer command to use a Format object instead of a Datum object.
2019-03-26[vulkan] Cleanup device methods for properties (#413)dan sinclair
This Cl removes the methods to retrieve the physical_memory and physical_device properties from the vulkan::Device class. Methods are added to query the properties.
2019-03-25[vulkan] merge Descriptor and BufferDescriptor. (#410)dan sinclair
This CL merges the Descriptor and BufferDescriptor classes together into BufferDescriptor. Currently BufferDescriptor is the only subclass of Descriptor. This allows simplifying the code as we don't have to assume other kinds of descriptors.
2019-03-14 [vulkan] remove Shutdown methods. (#366)dan sinclair
This CL moves Shutdown methods to destructors where possible.
2019-03-13Remove unused descriptor code (#365)dan sinclair
2019-03-13 Rename vulkan/buffer to vulkan/transfer_buffer. (#359)dan sinclair
There are currently a lot of buffers in the system. This CL renames the vulkan/buffer class to be vulkan/transfer_buffer. This makes it a bit clearer that this is used to transfer data to/from the GPU.
2019-03-13Remove GetDescriptorInfo and store in Buffer object. (#358)dan sinclair
This Cl stores the relevant data into the amber::Buffer and removes the need to call GetDescriptorInfo to retrieve the data.
2019-02-21[vulkan] Code cleanup (#310)dan sinclair
This CL cleans up various things in the src/vulkan directory. Code is moved closer to usage if a subclass is the only caller. CommandBuffer and CommandPool are passed instead of VkCommandBuffer and VkCommandPool.
2019-01-28Add framebuffer dump in PPM format (#227)Hugues Evrard
This CL plumbs through the ability to dump the framebuffer into a PPM image.
2019-01-24 [vulkan] Load vulkan methods through method. (#246)dan sinclair
This CL changes the vulkan backend to load all vulkan methods through the vkGetInstanceProcAddr method instead of accessing directly.
2019-01-18Vulkan: readback SSBO/framebuffer right after draw or compute (#217)Jaebaek Seo
Mainly calling `FrameBuffer::CopyColorImageToHost()` after draw conducts the immediate readback of framebuffer. For the immediate readback of SSBO, we also read back other descriptors based on buffer e.g., UBO just for simplicity of implementation. Calling `Pipeline::ReadbackDescriptorsToHostDataQueue()` after draw and compute conducts the immediate readback of SSBO. Fixes #207
2019-01-17Allow CTS to provide alternate vulkan.h file. (#231)dan sinclair
This CL changes the includes to allow the CTS to use vkDefs.h instead of vulkan/vulkan.h
2019-01-14Vulkan: support push constant (#203)Jaebaek Seo
Support push constant for Vulkan, which can be set by `uniform` command of VkRunner script. Fixes #149
2019-01-08Vulkan: fix validation errors (#187)Jaebaek Seo
Fixes #185
2018-12-12Fix warnings on newer clang (#176)dan sinclair
2018-12-10Vulkan: handles uniform ubo command i.e., add UBO (#148)Jaebaek Seo
Fixes #147