Add SpirvHelper (Shader cross compilation)

- Make OpenGL2 and OpenGL3 use the same base shaders (using SpirvHelper)
- Add Transpose func to Mat4
This commit is contained in:
2026-09-06 16:06:14 +02:00
committed by tobid7
parent 5c7aad8ff3
commit e62952d0fd
13 changed files with 424 additions and 139 deletions
@@ -39,7 +39,5 @@ class GfxOpenGL3 : public GfxDriverBase<GfxOpenGL3Config> {
int pLocTex = 0;
int pLocAlfa = 0;
int pLocProjection = 0;
static const char* pVertCode;
static const char* pFragCode;
};
} // namespace PD