Updated to add typedef on Constants and Workgroup
This commit is contained in:
parent
bf86daa3ef
commit
9adfa34fd3
8 changed files with 25 additions and 19 deletions
|
|
@ -10,6 +10,12 @@ static const char* KOMPUTE_LOG_TAG = "KomputeLog";
|
|||
|
||||
#include <vulkan/vulkan.hpp>
|
||||
|
||||
// Typedefs to simplify interaction with core types
|
||||
namespace kp {
|
||||
typedef std::array<uint32_t, 3> Workgroup;
|
||||
typedef std::vector<float> Constants;
|
||||
}
|
||||
|
||||
// Must be after vulkan is included
|
||||
#ifndef KOMPUTE_VK_API_VERSION
|
||||
#ifndef KOMPUTE_VK_API_MAJOR_VERSION
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue