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
|
|
@ -28,7 +28,7 @@ public:
|
|||
*/
|
||||
Algorithm(std::shared_ptr<vk::Device> device,
|
||||
std::shared_ptr<vk::CommandBuffer> commandBuffer,
|
||||
const std::vector<float>& specializationConstants = {});
|
||||
const Constants& specializationConstants = {});
|
||||
|
||||
/**
|
||||
* Initialiser for the shader data provided to the algorithm as well as
|
||||
|
|
@ -80,7 +80,7 @@ private:
|
|||
bool mFreePipeline = false;
|
||||
|
||||
// -------------- ALWAYS OWNED RESOURCES
|
||||
std::vector<float> mSpecializationConstants;
|
||||
Constants mSpecializationConstants;
|
||||
|
||||
// Create util functions
|
||||
void createShaderModule(const std::vector<char>& shaderFileData);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue