Merge pull request #733 from dtrajko/master

Correct shadersPath for computeheadless project
This commit is contained in:
Sascha Willems 2020-06-09 07:26:23 +02:00 committed by GitHub
commit 55d7125e7c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View file

@ -364,7 +364,7 @@ public:
// 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.
// Hard-code to glsl for now.
const std::string shadersPath = getAssetPath() + "/shaders/glsl/computeheadless";
const std::string shadersPath = getAssetPath() + "shaders/glsl/computeheadless/";
VkPipelineShaderStageCreateInfo shaderStage = {};
shaderStage.sType = VK_STRUCTURE_TYPE_PIPELINE_SHADER_STAGE_CREATE_INFO;

View file

@ -594,7 +594,7 @@ public:
// 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.
// 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].stage = VK_SHADER_STAGE_VERTEX_BIT;