Commit Graph
201 Commits
Author SHA1 Message Date
swung0x48 dfaa2c259b [Fix] (MG_State/Framebuffer): bump attachmentVersions on SetDrawBuffer 2026-02-04 16:19:57 +08:00
BZLZHH 8e3bbda2f2 [Fix] (MG_State/RenderState): Versioning for SetColorMask. 2026-02-03 18:24:26 +08:00
BZLZHH ea098c0409 [Feat|Refactor] (MG_State/RenderState): Versioning for RenderStateParameters. 2026-02-03 17:50:46 +08:00
BZLZHH afa89772e7 [Refactor] (MG_State/RenderState): Separate RenderStateParameters from RenderState. 2026-02-03 17:29:55 +08:00
swung0x48 202922613b [Refactor] (MG_State/Framebuffer, MG_Backend/DirectGLES): Versioned framebuffer sync 2026-02-03 16:50:20 +08:00
swung0x48 6823b1e46a [Feat] (MG_Impl/Framebuffer): implement glReadBuffer 2026-02-03 12:59:11 +08:00
BZLZHH 2fab6c5b0b [Fix] (MG_Backend/DirectGLES): Always bind VBO before glVertexAttribPointer. 2026-02-03 02:38:50 +08:00
BZLZHH 42ad1634bf [Perf] (MG_State|MG_Util): Do not bump resource version when nothing changes. 2026-02-03 02:17:09 +08:00
BZLZHH c301591dcc [Feat] (MG_State/VertexArrayState): Add SwitchVersion for VA. 2026-02-03 01:33:50 +08:00
BZLZHH 0ae1b76262 [Feat] (MG_State/VertexArrayState): Replace dirty mark with resource version for VA. 2026-02-03 01:27:58 +08:00
BZLZHH 7daa69cf73 [Feat] (MG_State/TextureState): Add resource version for texture params. 2026-02-03 00:15:50 +08:00
BZLZHH 7f1cb14d33 [Feat] (MG_State/SamplerState): Add resource version. 2026-02-02 22:01:48 +08:00
swung0x48 8f55179493 [Optimize] (MG_Backend/DirectGLES): Texture object mipmap dirty bit 2026-02-02 15:37:55 +08:00
BZLZHH 0cf9d9223d [Feat|Perf] (*/BufferState): Improve dirty mark for Buffer. 2026-02-02 02:25:41 +08:00
swung0x48 f69fbef4b0 [Chore] (MG_Util/ShaderTranspiler): rename function 2026-01-30 11:10:27 +08:00
swung0x48 ffec1618f1 [Fix] (MG_State/Texture): relaxing completeness check on reasonable 0x0 mipmap 2026-01-29 15:17:53 +08:00
swung0x48 e9ef6db44b [Fix] (MG_State/Program): properly invoke SPIR-V sanitize routine 2026-01-24 19:22:13 +08:00
swung0x48 484174767d [Feat] (MG_Util/ShaderTranspiler): do FloatEqualsZero elimination by leveraging SPIRV-Tool opt pass 2026-01-24 17:35:33 +08:00
swung0x48 f60a3002e9 [Fix] (MG_State/Texture): add missing RGB16 format 2026-01-18 18:50:54 +08:00
BZLZHH 20fbfc2956 [Chore] (LICENSE): Switch project license to LGPLv3. 2026-01-18 09:33:33 +08:00
BZLZHH b68d2859e8 [Feat] (MG_Util|MG_State/TextureState): Add TexturePixelDataType::HalfFloat and TexturePixelDataType::UnsignedInt248. Handle TexturePixelDataType::Float32UnsignedInt248Rev. 2026-01-01 13:17:25 +08:00
BZLZHH 3714e275ab [Chore] (All): Update copyright year in source code files. 2026-01-01 00:42:06 +08:00
BZLZHH e7d9da42dc [Chore] (All): Adjust copyright declaration. 2025-12-31 21:49:54 +08:00
BZLZHH 58b620dee3 [Feat] (MG_Backend|MG_State/ProgramState): Add default fragment shader if missing for backends requiring FS. 2025-12-31 21:09:19 +08:00
BZLZHH c902721683 [Feat] (MG_State/RenderbufferState): Add RenderbufferObject::GetExternalIndex() 2025-12-31 19:57:46 +08:00
BZLZHH 2c214affbe [Fix] (MG_Impl/Framebuffer): Correctly set internal format for RBO. 2025-12-31 19:45:11 +08:00
BZLZHH 9f4a1041ba Merge branch 'dev' into Feat/Backend-Direct-GLES 2025-12-31 15:46:56 +08:00
BZLZHH 8ed8efe347 [Chore] (All): Add standardized source file header and update script. 2025-12-31 15:45:34 +08:00
swung0x48 aa83aa1519 [Fix] (MG_Util/ShaderTranspiler): process shader version directive correctly when it is not the first line 2025-12-30 21:20:37 +08:00
swung0x48 e886a93a18 [Chore] (MG_Impl/RenderState, MG_State/RenderState): more logs 2025-12-29 11:10:38 +08:00
BZLZHH 4f1def412c [Fix] (MG_State/RenderBufferState): Add missing RenderbufferObject::GetSamples 2025-12-14 11:30:49 +08:00
BZLZHH 3063374834 [Feat] (MG_State/RenderbufferObject): Better RenderbufferObject. 2025-12-14 11:17:09 +08:00
BZLZHH 711e427b76 [Feat] (MG_State): Integration with RenderbufferState. 2025-12-14 09:49:55 +08:00
BZLZHH 5bb9faaaa5 [Feat] (MG_State/RenderBufferState): Initially implement RenderbufferState. 2025-12-14 09:40:36 +08:00
swung0x48 c3755d77ef [Feat] (MG_Impl/Texture): implement GL_TEXTURE_SWIZZLE_RGBA 2025-12-13 21:28:04 +08:00
swung0x48 81a717ada7 [Feat] (MG_Impl/Texture): partially implement glTexParameter*v
- Fixing NeoForge loading screen
2025-12-13 20:48:59 +08:00
swung0x48 eb705c53bf [Chore] (MG_State/Texture): explicitly specify value for enums 2025-12-10 15:29:59 +08:00
swung0x48 cb4e6b5f19 [Feat] (MG_State/Texture, MG_Impl/Texture): glTexBuffer (and implement TextureObjectBuffer accordingly) 2025-12-09 21:20:39 +08:00
swung0x48 0a89ad4f30 [Feat] (MG_State/Texture): separate mipmap from TextureObjectBase 2025-12-09 10:57:10 +08:00
BZLZHH 13abb24324 [Feat] (MG_State/VertexArrayState): Implement divisor. 2025-12-07 11:03:00 +08:00
swung0x48 ab6d9f60e7 [Refactor] (MG_State/Texture): decouple texture object and mipmap storage 2025-12-06 22:24:30 +08:00
BZLZHH 6293f3f0ab [Feat] (MG_State/TextureState): Add GL_FLOAT_32_UNSIGNED_INT_24_8_REV. 2025-11-30 11:42:20 +08:00
BZLZHH 7a9cb2dafb [Fix] (MG_Backend/DirectGLES): Handle more internal format. 2025-11-30 11:24:21 +08:00
swung0x48 fe6bd76cfa [Fix] (MG_State/TextureStorage): fix wrong assertion 2025-11-30 10:34:03 +08:00
swung0x48 e58402bc9e [Fix] (MG_State/Program): insist compile for vulkan. (will require patching glslang) 2025-11-30 00:15:04 +08:00
BZLZHH 37ffacb373 [Fix] (MG_State/ProgramState): Add CompileForOpenGL bit for shader compilation. 2025-11-29 19:27:39 +08:00
BZLZHH d2d95cb4cc [Fix] (MG_State/SamplerState): mipmapMode should be None by default. 2025-11-29 17:56:38 +08:00
BZLZHH 521bcadbee [Fix] (...): Fix code mess. 2025-11-29 01:43:58 +08:00
BZLZHH 32c062d019 [Feat] (MG_State/TextureState): Add ITextureObject::GetAllSwizzleParams 2025-11-29 01:33:58 +08:00
BZLZHH 75fc52febe [Feat] (MG_State/TextureState): Stubs for unimplemented texture types. 2025-11-29 01:31:41 +08:00