Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 16 additions & 0 deletions tests/FunctionCalls/FunctionCalls.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2384,6 +2384,22 @@ int main()
vk::ExternalSemaphoreProperties externalSemaphoreProperties = physicalDevice.getExternalSemaphoreProperties( externalSemaphoreInfo );
}

//=============================================
// Vulkan compute 1.1 API interface definitions
//=============================================

// Promoted from VK_KHR_device_group
{
vk::CommandBuffer commandBuffer;
uint32_t baseGroupX = 0;
uint32_t baseGroupY = 0;
uint32_t baseGroupZ = 0;
uint32_t groupCountX = 1;
uint32_t groupCountY = 1;
uint32_t groupCountZ = 1;
commandBuffer.dispatchBase( baseGroupX, baseGroupY, baseGroupZ, groupCountX, groupCountY, groupCountZ );
}

#if 0
{
vk::PhysicalDevice physicalDevice;
Expand Down
16 changes: 16 additions & 0 deletions tests/FunctionCallsRAII/FunctionCallsRAII.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1204,5 +1204,21 @@ int main()
vk::ExternalSemaphoreProperties externalSemaphoreProperties = physicalDevice.getExternalSemaphoreProperties( externalSemaphoreInfo );
}

//=============================================
// Vulkan compute 1.1 API interface definitions
//=============================================

// Promoted from VK_KHR_device_group
{
vk::raii::CommandBuffer commandBuffer = nullptr;
uint32_t baseGroupX = 0;
uint32_t baseGroupY = 0;
uint32_t baseGroupZ = 0;
uint32_t groupCountX = 1;
uint32_t groupCountY = 1;
uint32_t groupCountZ = 1;
commandBuffer.dispatchBase( baseGroupX, baseGroupY, baseGroupZ, groupCountX, groupCountY, groupCountZ );
}

return 0;
}
Loading