mirror of
https://github.com/wheremyfoodat/Panda3DS.git
synced 2025-04-23 13:55:50 +12:00
More shader JIT groundwork
This commit is contained in:
parent
bf0436a85b
commit
cf9ed3d460
7 changed files with 46 additions and 7 deletions
|
@ -12,11 +12,15 @@ class VertexLoaderJIT {
|
|||
Callback compileConfig(PICARegs regs);
|
||||
|
||||
public:
|
||||
#ifndef PANDA3DS_DYNAPICA_SUPPORTED
|
||||
#if defined(PANDA3DS_DYNAPICA_SUPPORTED) && defined(PANDA3DS_X64_HOST)
|
||||
void loadVertices(Vertex* output, size_t count, PICARegs regs);
|
||||
static constexpr bool isAvailable() { return true; }
|
||||
|
||||
#else
|
||||
void loadVertices(Vertex* output, size_t count, PICARegs regs) {
|
||||
Helpers::panic("Vertex Loader JIT: Tried to load vertices with JIT on platform that does not support vertex loader jit");
|
||||
}
|
||||
#else
|
||||
void loadVertices(Vertex* output, size_t count, PICARegs regs);
|
||||
|
||||
static constexpr bool isAvailable() { return false; }
|
||||
#endif
|
||||
};
|
Loading…
Add table
Add a link
Reference in a new issue