18 lines
450 B
C++
18 lines
450 B
C++
#ifndef VULKAN_SHADER_PARSER_H
|
|
#define VULKAN_SHADER_PARSER_H
|
|
|
|
#include "materialsystem/vulkan_shadermeta.h"
|
|
#include "materialsystem/compiledshadermgr.h"
|
|
#include "tier1/utlvector.h"
|
|
|
|
class CVkShaderParser
|
|
{
|
|
public:
|
|
CUtlVector<VulkanDescriptor_t> GetDescriptors( CCompiledShader *pShader, EShaderStage eStage );
|
|
CUtlBuffer<unsigned char> GetShaderCode( CCompiledShader *pShader, EShaderStage eStage );
|
|
};
|
|
|
|
CVkShaderParser *ShaderParser();
|
|
|
|
#endif
|