Removed GLSL loading function (#62)
This commit is contained in:
parent
8cd5041111
commit
93f33521c7
2 changed files with 1 additions and 16 deletions
|
|
@ -220,18 +220,6 @@ VkPipelineShaderStageCreateInfo VulkanExampleBase::loadShader(const char * fileN
|
|||
return shaderStage;
|
||||
}
|
||||
|
||||
VkPipelineShaderStageCreateInfo VulkanExampleBase::loadShaderGLSL(const char * fileName, VkShaderStageFlagBits stage)
|
||||
{
|
||||
VkPipelineShaderStageCreateInfo shaderStage = {};
|
||||
shaderStage.sType = VK_STRUCTURE_TYPE_PIPELINE_SHADER_STAGE_CREATE_INFO;
|
||||
shaderStage.stage = stage;
|
||||
shaderStage.module = vkTools::loadShaderGLSL(fileName, device, stage);
|
||||
shaderStage.pName = "main"; // todo : make param
|
||||
assert(shaderStage.module != NULL);
|
||||
shaderModules.push_back(shaderStage.module);
|
||||
return shaderStage;
|
||||
}
|
||||
|
||||
VkBool32 VulkanExampleBase::createBuffer(
|
||||
VkBufferUsageFlags usage,
|
||||
VkDeviceSize size,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue