Vulkan-Hpp
shaders.cpp File Reference
#include "shaders.hpp"
#include "SPIRV/GlslangToSpv.h"
#include "glslang/Public/ResourceLimits.h"
#include <vulkan/vulkan.hpp>

Go to the source code of this file.

Namespaces

 vk
 
 vk::su
 

Functions

EShLanguage vk::su::translateShaderStage (vk::ShaderStageFlagBits stage)
 
bool vk::su::GLSLtoSPV (const vk::ShaderStageFlagBits shaderType, std::string const &glslShader, std::vector< unsigned int > &spvShader)
 
vk::ShaderModule vk::su::createShaderModule (vk::Device const &device, vk::ShaderStageFlagBits shaderStage, std::string const &shaderText)