mirror of
https://github.com/RPCSX/rpcsx.git
synced 2026-01-07 01:00:06 +01:00
21 lines
583 B
C++
21 lines
583 B
C++
#pragma once
|
|
#include "../Common/ShaderParam.h"
|
|
#include "VKHelpers.h"
|
|
|
|
namespace vk
|
|
{
|
|
struct varying_register_t
|
|
{
|
|
std::string name;
|
|
int reg_location;
|
|
};
|
|
|
|
std::string getFloatTypeNameImpl(size_t elementCount);
|
|
std::string getFunctionImpl(FUNCTION f);
|
|
std::string compareFunctionImpl(COMPARE f, const std::string &Op0, const std::string &Op1);
|
|
void insert_glsl_legacy_function(std::ostream& OS);
|
|
|
|
const varying_register_t& get_varying_register(const std::string& name);
|
|
bool compile_glsl_to_spv(std::string& shader, glsl::program_domain domain, std::vector<u32> &spv);
|
|
}
|