Commit Graph
107 Commits
Author SHA1 Message Date
swung0x48 0139cabfbc [Fix] (MG_Util/Metrics): fix bool uniform size 2025-11-17 15:04:29 +08:00
swung0x48 ff0a3c5b9a [Feat] (MG_Util/Converters, MG_State/Sampler, MG_State/Texture): properly implement min/mag/mip filters 2025-11-17 13:40:34 +08:00
swung0x48 8182d9e402 [Fix] (MG_Util/Converters): fix incorrectly converted GL_TEXTURE_SWIZZLE_* pnames 2025-11-16 22:56:03 +08:00
swung0x48 6efc4d4fc3 [Chore] (MG_Util/Converters): add log when encountered unknown format 2025-11-16 21:50:17 +08:00
swung0x48 95e086442c [Feat] (MG_Backend/DirectGLES): implement glCopyTexImage2D/CopyTexSubImage2D 2025-11-16 12:44:41 +08:00
BZLZHH 49b66c30c1 [Feat] (MG_State/TextureState|MG_Impl/Texture): Add fake CubeMapTexture support. 2025-11-15 21:47:50 +08:00
swung0x48 e93dff52dc [Fix] (MG_Impl/Framebuffer, MG_State/Framebuffer, MG_Backend/DirectGLES): redone fbo attachment management. remap GL -> ES attachment names 2025-11-15 00:39:07 +08:00
swung0x48 5b2d18fdff [Fix]: (MG_Util/ShaderTranspiler): implement logic to reserve explicitly set frag outs 2025-11-13 12:54:05 +08:00
swung0x48 2878939712 [Fix]: (MG_Util/ShaderTranspiler): add explicitFragmentOutLocations to program link attribs 2025-11-13 12:20:07 +08:00
swung0x48 b04481e6da [Chore] (MG_State/ProgramObject): rename attrib to vertex in for clarity 2025-11-13 10:50:37 +08:00
swung0x48 d3ea83992c [Fix]: (MG_Util/ShaderTranspiler/ShaderSourceProcessor): fix trailing \n not get removed 2025-11-13 09:39:53 +08:00
swung0x48 e6c5e132b8 [Fix] (MG_Util/Debug/Log): more log scratch space to avoid truncation 2025-11-12 22:50:21 +08:00
swung0x48 6e65942891 [Chore] (MG_Util/ShaderSourceProcessor): trim unnecessary part of shader source 2025-11-12 18:03:29 +08:00
swung0x48 bfeb827eb7 [Feat]: (MG_Test/Program): add test to check optfine shader behavior 2025-11-12 15:56:40 +08:00
swung0x48 8b8fa41ef2 [Feat]: (MG_Test/ProgramUtil): CompileAndLinkBlitProgram 2025-11-12 13:08:53 +08:00
swung0x48 f0cf49f3ec [Fix]: (MG_Util/ShaderTranspiler/TMglGlslIoResolver): guard against vertex stage 2025-11-11 17:51:33 +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 3e9b53cecc [Feat]: (MG_Util/ShaderTranspiler): the skeleton of defining a custom TIoResolver 2025-11-10 15:53:43 +08:00
swung0x48 b151b2bba7 [Fix]: build test on macOS 2025-11-08 20:02:21 +08:00
swung0x48 57dd0fe480 [Feat]: implement glBindVertexAttribLocation in DirectGLES backend (fixing OptiFine?) 2025-11-04 22:16:16 +08:00
swung0x48 2f67620a6e [Fix]: some not-added stuff 2025-11-02 23:51:19 +08:00
BZLZHH d652645346 [Feat] (...): Handle pixel store correctly. 2025-11-01 19:52:33 +08:00
BZLZHH 5ffc4d1e2d [Feat] (MG_Utils/Converters): Add converters for TextureSwizzleParam. 2025-11-01 15:51:58 +08:00
BZLZHH 8da681c720 [Fix] (MG_State/ProgramState): Handle version directive in shader source. 2025-11-01 10:07:36 +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 1d00808719 [Fix] (MG_Util/Types): Memcpy really should not be constexpr 2025-10-29 09:20:50 +08:00
swung0x48 7151080a67 [Fix] (Types, GL_Texture): Memcpy insanity, proxy texture fix 2025-10-28 11:49:08 +08:00
swung0x48 bd01e4f99d [Fix] (MG_Util/TextureMetrics, MG_State/Texture): reimplement TextureMetrics, attempting to fix glTexSubImage2D 2025-10-28 10:17:56 +08:00
BZLZHH e31f3b8057 Merge branch 'dev' into Feat/Backend-Direct-GLES 2025-10-27 12:06:51 +08:00
swung0x48 b91f180c7b [Fix]: fix compilation on Windows again 2025-10-26 23:06:28 +08:00
swung0x48 63295b5493 [Chore]: fix compilation on Windows 2025-10-26 22:43:42 +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 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 5e42d15c61 [Feat] (MG_Util/BackendLoaders): Add GLES/EGL backend loader. 2025-10-06 01:32:55 +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 e2e7ee93db [Fix] (MG_Util/Converters): Fix incorrect functions in MGToGL/FramebufferEnumConverter.cpp 2025-10-02 22:47:33 +08:00
BZLZHH 87f487c3aa [Feat] (MG_Util/Converters): Implement converters related to framebuffer enum. 2025-10-02 22:30:17 +08:00
BZLZHH ee971306ca [Misc] (All): Run format_code.sh 2025-10-02 15:11:38 +08:00
BZLZHH 000a2ba3a7 [Perf] (MG_Util/Misc): Reimplement IndexGenerator. 2025-10-02 14:22:03 +08:00
BZLZHH 19a965c1ef [Improvement] (MG_Util/Types): Use FastSTL::unordered_map as the default implementation. 2025-10-02 11:11:35 +08:00
BZLZHH 4d45bfc242 [Feat] (MG_Util/Math): Enhance vector types. 2025-09-06 09:36:19 +08:00
swung0x48 7a7f6a0533 [Feat] (MG_Util/Metrics): GetGLTypeSize 2025-08-22 17:29:25 +08:00
swung0x48 2036caa4a0 [Chore] (MG_State/Program): remove shaderTypes from ProgramAttrib 2025-08-18 09:50:30 +08:00
swung0x48 a4769996c3 [Feat] (MG_Util/ShaderCompiler): separates GetSpirvBinaryFromProgram() from LinkProgram() 2025-08-15 09:35:05 +08:00
swung0x48 c1966c5f04 [Fix] (MG_State/Program): does it still crash? 2025-08-14 21:23:55 +08:00
BZLZHH 675ee4915b [Feat|Fix] (MG_Impl/Texture): Implement TexImage2D & related stuff. 2025-08-14 18:32:37 +08:00