mirror of
https://github.com/wheremyfoodat/Panda3DS.git
synced 2025-04-20 20:49:12 +12:00
Shadergen: Minimize shader compilation time by caching the default VS
This commit is contained in:
parent
ac55c3e324
commit
5c1e2912a3
5 changed files with 57 additions and 37 deletions
|
@ -35,7 +35,7 @@ namespace PICA::ShaderGen {
|
|||
public:
|
||||
FragmentGenerator(API api, Language language) : api(api), language(language) {}
|
||||
std::string generate(const PICARegs& regs, const PICA::FragmentConfig& config);
|
||||
std::string getVertexShader(const PICARegs& regs);
|
||||
std::string getDefaultVertexShader();
|
||||
|
||||
void setTarget(API api, Language language) {
|
||||
this->api = api;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue