Merge pull request #733 from dtrajko/master
Correct shadersPath for computeheadless project
This commit is contained in:
commit
55d7125e7c
2 changed files with 2 additions and 2 deletions
|
|
@ -364,7 +364,7 @@ public:
|
||||||
// TODO: There is no command line arguments parsing (nor Android settings) for this
|
// TODO: There is no command line arguments parsing (nor Android settings) for this
|
||||||
// example, so we have no way of picking between GLSL or HLSL shaders.
|
// example, so we have no way of picking between GLSL or HLSL shaders.
|
||||||
// Hard-code to glsl for now.
|
// Hard-code to glsl for now.
|
||||||
const std::string shadersPath = getAssetPath() + "/shaders/glsl/computeheadless";
|
const std::string shadersPath = getAssetPath() + "shaders/glsl/computeheadless/";
|
||||||
|
|
||||||
VkPipelineShaderStageCreateInfo shaderStage = {};
|
VkPipelineShaderStageCreateInfo shaderStage = {};
|
||||||
shaderStage.sType = VK_STRUCTURE_TYPE_PIPELINE_SHADER_STAGE_CREATE_INFO;
|
shaderStage.sType = VK_STRUCTURE_TYPE_PIPELINE_SHADER_STAGE_CREATE_INFO;
|
||||||
|
|
|
||||||
|
|
@ -594,7 +594,7 @@ public:
|
||||||
// TODO: There is no command line arguments parsing (nor Android settings) for this
|
// TODO: There is no command line arguments parsing (nor Android settings) for this
|
||||||
// example, so we have no way of picking between GLSL or HLSL shaders.
|
// example, so we have no way of picking between GLSL or HLSL shaders.
|
||||||
// Hard-code to glsl for now.
|
// Hard-code to glsl for now.
|
||||||
const std::string shadersPath = getAssetPath() + "/shaders/glsl/renderheadless";
|
const std::string shadersPath = getAssetPath() + "shaders/glsl/renderheadless/";
|
||||||
|
|
||||||
shaderStages[0].sType = VK_STRUCTURE_TYPE_PIPELINE_SHADER_STAGE_CREATE_INFO;
|
shaderStages[0].sType = VK_STRUCTURE_TYPE_PIPELINE_SHADER_STAGE_CREATE_INFO;
|
||||||
shaderStages[0].stage = VK_SHADER_STAGE_VERTEX_BIT;
|
shaderStages[0].stage = VK_SHADER_STAGE_VERTEX_BIT;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue