mirror of
https://github.com/wheremyfoodat/Panda3DS.git
synced 2025-04-20 12:39:13 +12:00
Separate graphics API/Language types from the fragment recompiler
This commit is contained in:
parent
bbcd21de05
commit
2a6cd3c5ea
3 changed files with 11 additions and 7 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue