Commit Graph
219 Commits
Author SHA1 Message Date
swung0x48 6e65942891 [Chore] (MG_Util/ShaderSourceProcessor): trim unnecessary part of shader source 2025-11-12 18:03:29 +08:00
swung0x48 755b4605e4 [Fix]: (MG_State/Program): fix incorrect Optfine behavior 2025-11-12 16:01:34 +08:00
swung0x48 9bc0ae6b97 [Chore]: (MG_State/Program): use proper enum constant, get rid of junk 2025-11-12 16:00:44 +08:00
swung0x48 6ac0fd6f0a [Feat]: (MG_Util/ShaderTranspiler): TMglGlslIoResolver: a custom glslang IoResolver to realize glBindAttribLocation semantics 2025-11-11 17:06:46 +08:00
swung0x48 c30ce008ca [Chore] (MG_State/ProgramObject): more friendly global ubo debug msg 2025-11-09 18:21:46 +08:00
BZLZHH b83977b906 [Fix] (MG_State/ProgramState): Separate detach/remove shader in ProgramObject. Add more log. 2025-11-09 11:37:50 +08:00
swung0x48 3f36992f98 [Fix] (MG_State/ProgramObject): don't link when shader involved failed to compile 2025-11-06 23:55:38 +08:00
swung0x48 a6ffb24f30 [Fix] (MG_State/Program): fix ubo name mistaken for uniform name 2025-11-05 16:18:35 +08:00
swung0x48 ef1924d7f9 [Feat] (MG_State/Program, DirectGLES): plumb ubo to backend 2025-11-05 15:37:10 +08:00
swung0x48 62798ce1b8 [Feat] (MG_State/Program): refractor UBO handling 2025-11-05 13:51:05 +08:00
swung0x48 57dd0fe480 [Feat]: implement glBindVertexAttribLocation in DirectGLES backend (fixing OptiFine?) 2025-11-04 22:16:16 +08:00
swung0x48 1d3fbedf29 [Feat] (GL_State/Buffer, GL_Impl/Buffer): implement glBindBufferRange 2025-11-02 10:31:05 +08:00
swung0x48 4b4d38a00a [Feat] (GL_State/Buffer, GL_Impl/Buffer): implement glBindBufferBase 2025-11-02 09:34:32 +08:00
swung0x48 278656ac5a [Feat]: (MG_Impl/Program, MG_State/Program): implement UBO 2025-11-01 23:06:25 +08:00
BZLZHH d652645346 [Feat] (...): Handle pixel store correctly. 2025-11-01 19:52:33 +08:00
BZLZHH bcb947235d [Feat] (...): Implement scissor box in frontend and backend. 2025-11-01 16:40:38 +08:00
BZLZHH 4d8db7fb3b [Feat] (MG_State/TextureState): Implement full texture parameter track. 2025-11-01 15:49:16 +08:00
BZLZHH 3858e8ebda [Fix] (MG_Impl/Getter): Fix crashing when object is nullptr in GetIntegerv. 2025-11-01 12:24:07 +08:00
BZLZHH 7abd9af8b6 [Fix] (MG_State/TextureState): Add missing TextureUnit::GetSamplerObject() 2025-11-01 12:03:20 +08:00
BZLZHH c4992797c7 [Feat] (MG_Impl/Getter): Implement basic GetIntegerv. 2025-11-01 11:59:12 +08:00
BZLZHH 394cf14198 [Feat] (MG_State/TextureObject): Add missing TextureObjectBase::GetExternalIndex() 2025-11-01 11:30:17 +08:00
BZLZHH 1269bc76f3 [Feat] (MG_State): Add external index getter for each object. 2025-11-01 11:18:35 +08:00
BZLZHH 8da681c720 [Fix] (MG_State/ProgramState): Handle version directive in shader source. 2025-11-01 10:07:36 +08:00
BZLZHH 731281eb61 [Feat] (MG_State/VertexArrayState): Implement default VAO at index 0. 2025-10-31 14:40:14 +08:00
BZLZHH d982928a23 [Improvement] (...): Optimize code. 2025-10-31 13:29:48 +08:00
swung0x48 2416225502 [Fix] (MG_State/ProgramState): select correct binary to do reflection 2025-10-29 10:28:59 +08:00
swung0x48 7151080a67 [Fix] (Types, GL_Texture): Memcpy insanity, proxy texture fix 2025-10-28 11:49:08 +08:00
swung0x48 56c6d73185 [Feat] (MG_State/ProgramObject, MG_Backend/DirectGLES): bind texture to uniform in backend 2025-10-27 15:45:36 +08:00
swung0x48 9883ab47fa Merge branch 'dev' into Feat/Backend-Direct-GLES 2025-10-27 13:42:31 +08:00
swung0x48 5b3d5c998a [Feat] (MG_State/ProgramObject, MG_State/GL_Program): implement sampler unit in program state 2025-10-27 13:17:42 +08:00
swung0x48 8e5cc46577 [Chore] (MG_State/ProgramObject): directly use TProgram for reflection 2025-10-27 12:59:55 +08:00
BZLZHH e31f3b8057 Merge branch 'dev' into Feat/Backend-Direct-GLES 2025-10-27 12:06:51 +08:00
BZLZHH 47ea1788db [Chore] (All): Format code. 2025-10-27 12:03:05 +08:00
swung0x48 034aeb9b12 [Fix] (MG_State/GL_Program): wrong guard condition in Uniformv_State 2025-10-27 11:20:23 +08:00
swung0x48 d73bd5dcd2 [Fix] (MG_State/ProgramObject): Properly allocate location for location-not-explicitly-defined uniforms 2025-10-27 10:51:41 +08:00
BZLZHH 5da6a0e05e [Fix] (MG_Backend/DirectGLES): Actually compile shader and use.
* TODO: remove junk code.
2025-10-26 11:43:10 +08:00
BZLZHH d90e35d630 [Fix] (MG_Backend/DirectGLES): Fix wrong buffer data in sync. 2025-10-26 09:50:05 +08:00
BZLZHH 6423a32a2e [Fix] (MG_Backend/DirectGLES|MG_State/BufferState): Fix crash. 2025-10-19 12:04:45 +08:00
BZLZHH 93a0bbaed8 [Feat] (MG_Backend/DirectGLES): Implement basic stuff for DirectGLES backend. 2025-10-19 11:47:44 +08:00
BZLZHH bd1056f9c9 [Feat|Fix] (...): Add/Fix lots of stuff, being able not to crash in MC. 2025-10-06 16:08:35 +08:00
BZLZHH e37dedb72d [Feat] (...): Basic ability to load GLES/EGL. 2025-10-06 11:47:27 +08:00
BZLZHH e77b01ac84 [Feat] (MG_Impl/RenderState): Implement some RenderState GL functions. 2025-10-03 13:16:42 +08:00
BZLZHH f7df90447b [Feat] (MG_Util/Converters): Implement converters related to RenderState enum. 2025-10-03 12:45:52 +08:00
BZLZHH 30d4964a5e [Improvement] (MG_State/RenderState): Remove redundant cullFaceEnabled setter/getter. 2025-10-03 12:25:36 +08:00
BZLZHH 4a303184e4 [Feat] (MG_Impl/Framebuffer): Implement essential framebuffer functions. 2025-10-02 23:42:14 +08:00
BZLZHH 3ba1842758 [Fix] (MG_State/FramebufferState): Fix missing functions. 2025-10-02 21:44:11 +08:00
BZLZHH d6b54f8e30 [Feat] (MG_State/FramebufferState): Implement FramebufferAttachment, FramebufferObject and FramebufferState. 2025-10-02 21:27:33 +08:00
BZLZHH 776e1d99cf [Feat] (MG_State/TextureState): Implement TextureObjectBase::IsComplete. 2025-10-02 20:22:12 +08:00
BZLZHH ee971306ca [Misc] (All): Run format_code.sh 2025-10-02 15:11:38 +08:00
BZLZHH 6d6bec3d3e [Fix] (MG_State/BufferState): Fix compiling warning. 2025-09-06 12:11:55 +08:00