MCPcopy Create free account
hub / github.com/KhronosGroup/Vulkan-ValidationLayers / Clear

Method Clear

layers/gpuav/resources/gpuav_vulkan_objects.cpp:230–234  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

228}
229
230void Buffer::Clear() const {
231 // Caller is in charge of calling Flush/Invalidate as needed
232 assert(mapped_ptr);
233 memset((uint8_t*)mapped_ptr, 0, static_cast<size_t>(size));
234}
235
236void BufferRange::Clear() const {
237 // Caller is in charge of calling Flush/Invalidate as needed

Calls

no outgoing calls

Tested by

no test coverage detected