parent
bfb4b7607a
commit
1b8343d67b
19 changed files with 7 additions and 45 deletions
|
|
@ -570,7 +570,7 @@ public:
|
|||
shaderNames = { "emboss", "edgedetect", "sharpen" };
|
||||
for (auto& shaderName : shaderNames) {
|
||||
std::string fileName = getAssetPath() + "shaders/computeshader/" + shaderName + ".comp.spv";
|
||||
computePipelineCreateInfo.stage = loadShader(fileName.c_str(), VK_SHADER_STAGE_COMPUTE_BIT);
|
||||
computePipelineCreateInfo.stage = loadShader(fileName, VK_SHADER_STAGE_COMPUTE_BIT);
|
||||
VkPipeline pipeline;
|
||||
VK_CHECK_RESULT(vkCreateComputePipelines(device, pipelineCache, 1, &computePipelineCreateInfo, nullptr, &pipeline));
|
||||
compute.pipelines.push_back(pipeline);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue