Separate graphics API/Language types from the fragment recompiler

This commit is contained in:
wheremyfoodat 2024-07-21 16:02:22 +03:00
parent bbcd21de05
commit 2a6cd3c5ea
3 changed files with 11 additions and 7 deletions

View file

@ -4,15 +4,10 @@
#include "PICA/gpu.hpp"
#include "PICA/pica_frag_config.hpp"
#include "PICA/regs.hpp"
#include "PICA/shader_gen_types.hpp"
#include "helpers.hpp"
namespace PICA::ShaderGen {
// Graphics API this shader is targetting
enum class API { GL, GLES, Vulkan };
// Shading language to use (Only GLSL for the time being)
enum class Language { GLSL };
class FragmentGenerator {
API api;
Language language;