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

Function TEST_F

tests/unit/tile_memory_heap.cpp:17–27  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

15class NegativeTileMemoryHeap : public TileMemoryHeapTest {};
16
17TEST_F(NegativeTileMemoryHeap, CreateBufferTest) {
18 TEST_DESCRIPTION("Use VK_BUFFER_USAGE_TILE_MEMORY_BIT_QCOM without enabling the tileMemoryHeap feature");
19 SetTargetApiVersion(VK_API_VERSION_1_1);
20 AddRequiredExtensions(VK_QCOM_TILE_MEMORY_HEAP_EXTENSION_NAME);
21 RETURN_IF_SKIP(Init());
22
23 VkBufferCreateInfo buffer_ci = vku::InitStructHelper();
24 buffer_ci.size = 4096;
25 buffer_ci.usage = VK_BUFFER_USAGE_TILE_MEMORY_BIT_QCOM;
26 CreateBufferTest(buffer_ci, "VUID-VkBufferCreateInfo-tileMemoryHeap-10762");
27}
28
29TEST_F(NegativeTileMemoryHeap, CreateBufferProtectedMemoryFlag) {
30 TEST_DESCRIPTION("Test Protected flag in CreateBuffer with tileMemoryHeap feature");

Callers

nothing calls this directly

Calls 15

BindBufferMemoryFunction · 0.85
BindBufferMemory2Function · 0.85
BindImageMemoryFunction · 0.85
CmdBindTileMemoryQCOMFunction · 0.85
CmdBindPipelineFunction · 0.85
CmdDrawFunction · 0.85
CmdExecuteCommandsFunction · 0.85
CreateFramebufferFunction · 0.85

Tested by

no test coverage detected