Age | Commit message (Collapse) | Author |
|
|
|
This makes the name clearer and matches SetSizeInBytes.
Fixes #597
|
|
This CL moves the code to fill a buffer with a vector of Value objects
into the Buffer class.
|
|
This CL adds class/method documentation to a few more classes.
|
|
* 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
|
|
This CL moves the ProbeSSBO command to use a format object instead of a
Datum type.
|
|
This Cl moves the buffer command to use a Format object instead of a
Datum object.
|
|
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.
|
|
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.
|
|
This CL moves Shutdown methods to destructors where possible.
|
|
|
|
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.
|
|
This Cl stores the relevant data into the amber::Buffer and removes the
need to call GetDescriptorInfo to retrieve the data.
|
|
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.
|
|
This CL plumbs through the ability to dump the framebuffer into a PPM image.
|
|
This CL changes the vulkan backend to load all vulkan methods through
the vkGetInstanceProcAddr method instead of accessing directly.
|
|
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
|
|
This CL changes the includes to allow the CTS to use vkDefs.h instead of
vulkan/vulkan.h
|
|
Support push constant for Vulkan, which can be set by `uniform`
command of VkRunner script.
Fixes #149
|
|
Fixes #185
|
|
|
|
Fixes #147
|