Commit Graph
100 Commits
Author SHA1 Message Date
swung0x48 7228b01c2d [Fix] (GLImpl/Program, MG_Backend/DirectGLES): guard against not linked program object 2025-11-06 23:21:23 +08:00
swung0x48 98a8a3a5e9 [Chore] (GLImpl/GL_Buffer): add some log 2025-11-06 00:02:02 +08:00
swung0x48 a6ffb24f30 [Fix] (MG_State/Program): fix ubo name mistaken for uniform name 2025-11-05 16:18:35 +08:00
swung0x48 13319a6847 [Feat] (MG_Test/Program): add minecraft core shader tex_color_1216 2025-11-05 15:37:55 +08:00
swung0x48 ef1924d7f9 [Feat] (MG_State/Program, DirectGLES): plumb ubo to backend 2025-11-05 15:37:10 +08:00
swung0x48 c39c03d866 [Fix] (MG_Impl/Program): DeleteShader name check bug 2025-11-05 15:12:37 +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 2f67620a6e [Fix]: some not-added stuff 2025-11-02 23:51:19 +08:00
swung0x48 1ea32e8538 [Fix] (GL_Impl/Program): fix logging 2025-11-02 11:22:52 +08:00
swung0x48 c69e83735c [Chore] (GL_Impl/Program): add more logging 2025-11-02 11:15:42 +08:00
swung0x48 6a21462554 [Fix] (GL_Impl/Program): fix dumb bug regarding IsActiveUniformBlock 2025-11-02 10:59:08 +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 4e2b348e96 Merge branch 'Feat/Backend-Direct-GLES' of https://github.com/MobileGL-Dev/MobileGL into Feat/Backend-Direct-GLES 2025-11-01 23:07:32 +08:00
swung0x48 278656ac5a [Feat]: (MG_Impl/Program, MG_State/Program): implement UBO 2025-11-01 23:06:25 +08:00
swung0x48 4706dea9de [Chore] (GLImpl/Texture): adjust some log level to avoid distraction 2025-11-01 20:52:13 +08:00
swung0x48 69a867a9a9 [Feat] (GLImpl/Getter): GL_UNIFORM_BUFFER_OFFSET_ALIGNMENT 2025-11-01 20:48:15 +08:00
swung0x48 fc745c402c [Feat] (GLImpl/Getter): GL_CONTEXT_PROFILE_MASK 2025-11-01 20:41:53 +08:00
swung0x48 e190f3887d [Feat] (GLImpl/Sync): manifold for Sync 2025-10-30 22:59:39 +08:00
swung0x48 b82c481605 [Feat] (MG_Backend/DirectGLES, GL_Impl/Getter): hardcode getter, sync some sampler parameters 2025-10-29 16:39:03 +08:00
swung0x48 683d8b35bf [Feat] (MG_Impl/Exporting): Unstub MapBufferRange 2025-10-29 16:36:30 +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 798898b9ad [Feat] (MG_Impl/GLImpl): relax check for DepthComponent32 to workaround misuse in Minecraft 1.21.5+ 2025-10-28 22:27:40 +08:00
swung0x48 6927f81754 [Feat] (MG_Backend/DirectGLES): properly implement BlitFramebuffer 2025-10-28 21:48:46 +08:00
swung0x48 0e01a7281e [Fix] (MG_State/GL_Texture): SubImage2D missing a row of texels 2025-10-28 16:57:06 +08:00
swung0x48 b3e7987985 [Fix] (MG_Backend/DirectGLES): properly sync integer vertex pointer 2025-10-28 15:43:35 +08:00
swung0x48 67475fcf34 [Fix] (MG_Backend/DirectGLES): properly bind global UBO 2025-10-28 14:46:57 +08:00
swung0x48 2597a184f0 [Fix] (MG_Backend/DirectGLES): sync more states at Clear() 2025-10-28 13:45:05 +08:00
swung0x48 de78e423fd [Fix] (MG_State/GL_Texture): take GL_UNPACK_SKIP_PIXELS and GL_UNPACK_SKIP_ROWS into account 2025-10-28 12:13:46 +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
swung0x48 507476d513 [Feat] (MG_Backend/DirectGLES): sync PBO 2025-10-27 17:00:42 +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 460b7a6eb3 [Chore] (MG_Backend/DirectGLES/Manager): log backend glGetError on failure 2025-10-27 14:25:31 +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
swung0x48 034aeb9b12 [Fix] (MG_State/GL_Program): wrong guard condition in Uniformv_State 2025-10-27 11:20:23 +08:00
swung0x48 5e5d0f3dbe [Feat] (MG_Test/Program): add test for real shader (Minecraft position_tex) 2025-10-27 10:53:06 +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
swung0x48 b91f180c7b [Fix]: fix compilation on Windows again 2025-10-26 23:06:28 +08:00
swung0x48 f951f0451f [Chore] (MG_Test/ProgramTest): add more checks to ProgramTest 2025-10-26 23:00:48 +08:00
swung0x48 63295b5493 [Chore]: fix compilation on Windows 2025-10-26 22:43:42 +08:00
swung0x48 445f55af92 [Fix]: guard against dlsym 2025-08-25 20:08:42 +08:00
swung0x48 701e93f26d [Fix] (buildsystem): add /EHsc for msvc 2025-08-25 17:34:53 +08:00
swung0x48 7b9c154f85 [Fix] (workflow): fix wrong run path 2025-08-25 16:27:33 +08:00
swung0x48 c601169b84 [Fix] (buildsystem): revert back to use 4 threads to compile 2025-08-25 16:15:32 +08:00
swung0x48 e5b91eaeba [Fix] (buildsystem): enable PIC 2025-08-25 16:13:39 +08:00
swung0x48 f5c3f12746 [Chore] (workflow): attempt to get rid of swap 2025-08-25 16:08:25 +08:00
swung0x48 c8e46fb6e2 [Chore] (workflow): let's build with all the cores available 2025-08-25 16:04:31 +08:00
swung0x48 281a28f901 [Fix] (workflow): add -DCMAKE_POLICY_VERSION_MINIMUM=3.5 to silence cmake version check 2025-08-25 16:00:35 +08:00
swung0x48 c723d1c9b9 [Fix] (workflow): fix typo 2025-08-25 15:58:01 +08:00
swung0x48 d9e7b9c975 [Fix] (workflow): Update glslang external sources 2025-08-25 15:53:20 +08:00
swung0x48 5354ff04c6 [Fix] (workflow): fix typo 2025-08-25 15:49:18 +08:00
swung0x48 69f7dda3de Merge branch 'dev' of https://github.com/MobileGL-Dev/MobileGL into dev 2025-08-25 15:47:11 +08:00
swung0x48 3513e3bffe [Refactor] (buildsystem, 3rdparty): link test and benchmark to MobileGL library 2025-08-25 15:46:59 +08:00
swung0x48 a19c0a214a [Chore] (buildsystem): fix compilation and linking on Windows when building 3rdparty from source 2025-08-25 14:53:22 +08:00
swung0x48 aebfa2745a [Chore] (3rdparty): add glslang and SPIRV-Cross as submodules 2025-08-25 14:10:43 +08:00
swung0x48 2be199bad8 [Refactor] (buildsystem): make MG_Benchmark also use FindXXX.cmake 2025-08-25 13:46:00 +08:00
swung0x48 700d72f180 [Refactor] (buildsystem): don't require SPIRV-Tools 2025-08-25 13:30:48 +08:00
swung0x48 fae9bcd0df [Refactor] (buildsystem): use FindXXX.cmake to find 3rdparty libraries 2025-08-25 12:30:32 +08:00
swung0x48 591f61a9f0 [Feat] (MG_Benchmark/Program): add linking benchmark, add more metrics to benchmarks 2025-08-25 09:28:55 +08:00
swung0x48 a5ab9fe503 [Chore] (MG_State/Program): get rid of junk printing when linking 2025-08-25 09:28:09 +08:00
swung0x48 556d47a9d5 [Benchmark] (MG_Benchmark/Program): shader compilation benchmark 2025-08-24 12:56:24 +08:00
swung0x48 620391b7ec [Test] (MG_Test/ProgramTest/UniformLocationGaps): add test to check uniform locations with gap 2025-08-22 17:53:42 +08:00
swung0x48 0da2a59e4d [Test] (MG_Test/ProgramTest/UniformMatrixFunctions): get rid of junk 2025-08-22 17:35:38 +08:00
swung0x48 ee129c4fb6 [Test] (MG_Test/ProgramTest/UniformMatrixTranspose): hard assert that uniforms to be tested exists 2025-08-22 17:34:13 +08:00
swung0x48 c33056fd8e [Feat] (MG_State/Program): glUniformMatrix* with transpose, 2025-08-22 17:29:31 +08:00
swung0x48 7a7f6a0533 [Feat] (MG_Util/Metrics): GetGLTypeSize 2025-08-22 17:29:25 +08:00
swung0x48 2be194c147 [Feat] (MG_State/Program): glUniformMatrix* without transpose 2025-08-22 15:47:14 +08:00
swung0x48 bc46cb9c5f [Feat] (MG_State/Program): glUniform*v 2025-08-22 14:58:24 +08:00
swung0x48 476de2b8f7 [Feat] (MG_State/Program): Get current program 2025-08-21 22:48:20 +08:00
swung0x48 2617903e71 [Feat] (MG_State/Program): GetActiveAttrib 2025-08-18 14:32:03 +08:00
swung0x48 cb59bc0431 [Feat] (MG_State/Program): generate program binary (SPIR-V), reflect generated ubo size/offsets 2025-08-18 11:10:24 +08:00
swung0x48 2036caa4a0 [Chore] (MG_State/Program): remove shaderTypes from ProgramAttrib 2025-08-18 09:50:30 +08:00
swung0x48 f6a0042356 [Chore] (workflow): don't debug output by default 2025-08-16 23:40:30 +08:00
swung0x48 dc1a344cf5 [Feat] (MG_Test/Program): Test for GetAttribLocation/BindAttribLocation 2025-08-16 23:10:52 +08:00
swung0x48 a072c2fc70 [Feat] (MG_State/Program): GetAttribLocation 2025-08-16 23:10:12 +08:00
swung0x48 6416788856 [Fix] (MG_State/Program): skip attrib location binding when it is not active at the first place 2025-08-16 22:54:31 +08:00
swung0x48 f328f71f62 [Feat] (MG_State/Program): BindAttribLocation 2025-08-16 22:51:21 +08:00
swung0x48 d6620959b3 [Feat] (MG_State/Program): BindAttribLocation WIP 2025-08-16 22:50:46 +08:00
swung0x48 13a5fd9761 [Chore] (MG_State/Program): un-implement ValidateProgram 2025-08-15 17:51:14 +08:00
swung0x48 5a729cd02e [Feat] (MG_State/Program): GetShaderiv 2025-08-15 17:42:30 +08:00
swung0x48 a050248982 [Feat] (MG_State/Program): GetProgramiv: GL_ACTIVE_UNIFORM_BLOCKS, GL_ACTIVE_UNIFORM_BLOCK_MAX_NAME_LENGTH 2025-08-15 17:31:58 +08:00
swung0x48 ec95c0401a [Feat] (MG_State/Program): GetProgramiv WIP 2025-08-15 17:16:49 +08:00
swung0x48 ef5b7cd99a [Refactor] (MG_State/Program): get rid of spvc junk 2025-08-15 15:58:25 +08:00
swung0x48 4aa70fda65 [Refactor] (MG_State/Program): refractor uniform reflection using glslang reflection API 2025-08-15 15:49:31 +08:00
swung0x48 a4769996c3 [Feat] (MG_Util/ShaderCompiler): separates GetSpirvBinaryFromProgram() from LinkProgram() 2025-08-15 09:35:05 +08:00
swung0x48 7bece3f8c9 [Chore] (MG_Test): get rid of -g -O0 2025-08-15 09:00:40 +08:00
swung0x48 a989cf9958 [Chore] (workflow): update Vulkan SDK version to 1.4.321.1 2025-08-14 22:09:46 +08:00
swung0x48 f4ec3c3997 [Fix] (MG_State/Program): add more prints in PostLink() to debug 2025-08-14 22:06:47 +08:00
swung0x48 c1966c5f04 [Fix] (MG_State/Program): does it still crash? 2025-08-14 21:23:55 +08:00
swung0x48 634fb4fa57 [Chore] (MG_State/Program): revert PostLink() 2025-08-14 20:12:18 +08:00
swung0x48 0a3fd42019 [Chore] (workflow): Does debug build spit errors? 2025-08-14 20:08:39 +08:00
swung0x48 94508f6395 [Chore] (MG_State/Program): PostLink bisect 2 2025-08-14 20:06:29 +08:00
swung0x48 3743922d4d [Chore] (MG_Test/Program): bisect PostLink() no.1. 2025-08-14 17:51:42 +08:00
swung0x48 0cba505ad0 [Chore] (MG_Test/Program): test if PreLink only passes 2025-08-14 17:41:50 +08:00
swung0x48 a39a46c7e3 [Chore] (MG_Test/Program): try to not link program? 2025-08-14 17:36:33 +08:00