rpcsx/rpcs3/Emu/RSX/VK/VKCommonDecompiler.h
kd-11 4e9160104a rsx/vk/gl: Cleanup and refector glsl::getFunctionImpl
- Both backends now generate very similar code
2017-11-08 13:15:34 +03:00

21 lines
442 B
C++

#pragma once
#include "../Common/ShaderParam.h"
#include "../Common/GLSLCommon.h"
namespace vk
{
using namespace ::glsl;
struct varying_register_t
{
std::string name;
int reg_location;
};
const varying_register_t& get_varying_register(const std::string& name);
bool compile_glsl_to_spv(std::string& shader, program_domain domain, std::vector<u32> &spv);
void initialize_compiler_context();
void finalize_compiler_context();
}