Commit Graph
6 Commits
Author SHA1 Message Date
BZLZHH 383ec85400 [Feat] (ProgramState): Implement automatic GLSL uniform management.
- Add SPIRV-Cross/glslang integration for uniform reflection.
- Auto-detect and assign locations for uniforms/samplers.
- Support most types of uniform.
- Implement glUniform* functions with type safety.
- Add MG_Util::Program:
  - GLSL-SPIRV conversion
  - SPIRV uniform reflection
  - Program uniform dumping
2025-05-03 22:50:41 +08:00
BZLZHH 00140d8b57 [Feat] (...): Add ProgramState while implementing these gl functions. Rename some functions in MG_State. 2025-05-03 02:26:03 +08:00
BZLZHH 33104f699a [Feat] (...): Add BufferState and VertexBufferState while implementing these gl functions. 2025-05-01 22:20:34 +08:00
BZLZHH e644efbe81 [Feat|Improvement] (...): (MG_State) Implement glPixelStorei. Optimize code. 2025-04-30 17:31:10 +08:00
BZLZHH adbadbba30 [Chore] (GLState.cpp): Remove unused MG_State_O. 2025-04-26 10:06:45 +08:00
BZLZHH 41fefb8e54 [Feat] (...): Add global OpenGL state. Add gl texture state (almost complete for Minecraft) and implementation gl texture functions that Minecraft would use. Add gl error state. 2025-04-04 23:02:59 +08:00