2016-02-21 18:50:49 +03:00
|
|
|
#pragma once
|
2019-05-29 09:52:38 +03:00
|
|
|
#include "../Common/GLSLTypes.h"
|
2016-02-21 18:50:49 +03:00
|
|
|
|
|
|
|
|
namespace vk
|
|
|
|
|
{
|
2017-08-04 17:11:39 +03:00
|
|
|
using namespace ::glsl;
|
|
|
|
|
|
2019-06-09 09:03:27 +02:00
|
|
|
int get_varying_register_location(std::string_view varying_register_name);
|
2017-08-04 17:11:39 +03:00
|
|
|
bool compile_glsl_to_spv(std::string& shader, program_domain domain, std::vector<u32> &spv);
|
2017-06-15 02:33:50 +03:00
|
|
|
|
|
|
|
|
void initialize_compiler_context();
|
|
|
|
|
void finalize_compiler_context();
|
2016-02-02 00:50:02 +03:00
|
|
|
}
|