Commit Graph
100 Commits
Author SHA1 Message Date
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
swung0x48 1c1d3e00a2 [Fix] (MG_Test/Program): Free context at teardown 2025-08-14 17:32:35 +08:00
swung0x48 c9fd4ecb8f [Fix] (MG_Test/Program): use Setup() instead of ctor 2025-08-14 17:20:33 +08:00
swung0x48 a4556a3742 [Chore] (MG_Test/Program): add test prints 2025-08-14 15:45:47 +08:00
swung0x48 fc74360fd2 Merge branch 'dev' of https://github.com/MobileGL-Dev/MobileGL into dev 2025-08-14 15:32:56 +08:00
swung0x48 4ce1b33304 [Feat] (MG_State/Program): Uniform* got aliased to Uniform*v 2025-08-14 15:32:05 +08:00
swung0x48 238d0ffade [Feat] (MG_State/Program): GetActiveUniform 2025-08-14 13:50:34 +08:00
swung0x48 eb926848be [Feat] (MG_Util/Converters/SpvcTypeConverter): covert spvc types to GLenum 2025-08-14 13:49:18 +08:00
swung0x48 238d63cff7 [Fix] (MG_Util/glsl/UniformTraverser): get rid of samplers from retrieved uniforms 2025-08-14 13:48:18 +08:00
swung0x48 70b440839d [Feat] (MG_Util/SpvcSession): reflect member types from SPIR-V binary 2025-08-14 10:33:15 +08:00
swung0x48 bb75045584 [Test] (MG_Test/Program): test for glGetUniformLocation 2025-08-13 23:32:40 +08:00
swung0x48 aa2aefac28 [Feat] (MG_State/Program): glGetUniformLocation 2025-08-13 23:32:33 +08:00
swung0x48 5422dcf164 [Test] (MG_Test/Program): add simple integration test for shader/program state machine 2025-08-13 23:15:05 +08:00
swung0x48 df444655e3 [Feat] (MG_State/Program): retrieve/generate layout location from/for program, and retrieve generated ubo size and all the offsets of members 2025-08-13 23:14:22 +08:00
swung0x48 09d1e035ed Revert "[Fix] (MG_State/Program): use vector to save uniforms instead"
This reverts commit bfb62872c9.
2025-08-13 17:05:21 +08:00
swung0x48 bfb62872c9 [Fix] (MG_State/Program): use vector to save uniforms instead 2025-08-13 16:41:46 +08:00
swung0x48 d1942bc57d [Feat] (MG_Test/Program): test uniform without location 2025-08-13 16:31:15 +08:00
swung0x48 7f0e65f8c7 [Feat] (MG_Util/ShaderCompiler, MG_State/Program): reflect uniform location 2025-08-13 15:18:34 +08:00
swung0x48 5e1407ec95 Merge branch 'dev' of https://github.com/MobileGL-Dev/MobileGL into dev 2025-08-13 14:20:36 +08:00
swung0x48 00f5741f7f [Feat] (MG_Util/ShaderCompiler): add new item to ShaderCompileBits and implement it 2025-08-13 14:19:37 +08:00
swung0x48 1f7053cb31 [Feat] (MG_State/Program): GetProgramInfoLog, GetShaderInfoLog 2025-08-11 23:37:58 +08:00
swung0x48 af32784f37 [Feat] (MG_State/Program): GetShaderSource 2025-08-11 23:19:10 +08:00
swung0x48 408b62a495 [Feat] (MG_State/Program): GetAttachedShaders 2025-08-11 23:07:15 +08:00
swung0x48 21a46ee151 [Feat] (MG_State/Program): glShaderSource, glUseProgram 2025-08-11 16:47:18 +08:00
swung0x48 7517711308 [Chore] (workflow): test 4 parallel jobs 2025-08-11 16:15:32 +08:00
swung0x48 19071c0217 [Fix] (MG_State/Program): typo in ProgramState::CreateProgram 2025-08-11 16:02:42 +08:00
swung0x48 429618a00a [Feat] (MG_Impl/Program): glAttachShader 2025-08-11 15:50:24 +08:00
swung0x48 4ec815a383 [Feat] (MG_Impl/Program): use helper functions to simplify the code 2025-08-11 15:40:17 +08:00
swung0x48 2c40177f06 [Feat] (MG_Impl/Program, MG_State/Program): initial impl of shader related states 2025-08-11 15:19:35 +08:00
swung0x48 9944408104 [Chore] (workflow): Force single-threaded compilation on CI 2025-08-11 13:27:55 +08:00
swung0x48 e96e0ecc42 [Fix] (MG_State/Program): fix ShaderObject compilation error 2025-08-11 13:12:50 +08:00
swung0x48 ace0b6d226 [Fix] (workflow): Enable swap on CI in an effort to
prevent compiler processes getting killed
2025-08-11 13:07:34 +08:00
swung0x48 99a8726506 [Chore] (MG_Test): move library finding to parent CMakeList and link libraries to all the test targets 2025-08-11 12:52:44 +08:00
swung0x48 12335da41b [Chore] (MG_Test): add missing includes in tests 2025-08-09 23:53:02 +08:00
swung0x48 4ecd4e4a07 [Feat] (MG_State/Program, MG_Impl/Program): skeleton and initial impl of program/shader state machine 2025-08-09 13:08:26 +08:00
swung0x48 e848ca8730 [Chore] (MG_Test/Program): rename previous ProgramTest to ProgramUtilTest 2025-08-09 12:38:33 +08:00
swung0x48 c34f816544 [Fix] (Includes.h): Add WIN32_LEAN_AND_MEAN to get rid of Windows.h garbage includes 2025-08-08 23:42:52 +08:00
swung0x48 919274924e [Feat]: Flags<Bit, Underlying> template for manipulating flag sets 2025-08-08 16:49:41 +08:00
swung0x48 916fdf40af [Feat] (MG_Util/ShaderCompiler): extract global UBO offset from GL plain uniforms 2025-08-08 13:46:08 +08:00
swung0x48 fcd52a9177 [Fix] (MG_Util/ShaderCompiler): make glslang don't emit demote to replace discard 2025-08-08 10:30:25 +08:00
swung0x48 38c0a54fcc [Feat] (MG_Util/ShaderTranspiler): separate SpvcSession 2025-08-07 12:53:51 +08:00
swung0x48 70d66d320f [Fix] (MG_Util/Debug): pthread_getname_np also works on __APPLE__ 2025-08-06 21:09:45 +08:00
swung0x48 548263279e [Feat] (MG_Util/ShaderTranspiler): POC to query member offsets from UBO 2025-08-06 17:14:01 +08:00
swung0x48 cbf6019d92 [Chore] (workflow): fix some wording 2025-08-06 13:58:19 +08:00
swung0x48 70614b769a [Fix] (MG_Benchmark/Sanity): add missing include 2025-08-06 13:49:32 +08:00
swung0x48 8501745c43 [Fix] (workflow): fix CI for benchmark 2025-08-06 13:45:45 +08:00
swung0x48 510c2fa01e [Chore] (workflow): setup CI for benchmarks 2025-08-06 13:41:10 +08:00
swung0x48 3606b80016 [Chore] (MG_Benchmark): add benchmark 2025-08-06 13:25:24 +08:00
swung0x48 2c651f2359 [Optimization] (MG_State/BufferState, VertexArrayState): optimize performance on vao deletion 2025-08-06 10:32:16 +08:00
swung0x48 972a4efed1 Revert "[Chore] (MG_Util/Program): use SPIRV-Cross C++ API instead of C ones"
This reverts commit 8e0284faec.
2025-08-02 18:01:36 +08:00
swung0x48 8e0284faec [Chore] (MG_Util/Program): use SPIRV-Cross C++ API instead of C ones 2025-08-02 12:25:08 +08:00
swung0x48 d317f7f99b [Chore] (MG_Util/Program): auto generate ubo for plain GL uniforms 2025-07-22 13:03:06 +08:00
swung0x48 fa82c9b964 [Chore] (MG_Util/Program): SpvcSession rule-of-three? 2025-07-21 22:44:02 +08:00
swung0x48 01e71d7b5f [Chore] (MG_Util/Program): wraps spirv-cross-c 2025-07-21 21:39:04 +08:00
swung0x48 97a951fabb [Chore] (MG_Test/Program/CMakeLists.txt): fix compilation on macOS 2025-07-21 20:18:57 +08:00
swung0x48 bbd05fe8aa [Chore] (MG_Util/Program): test uniform linkage across stages 2025-07-21 17:51:06 +08:00
swung0x48 cb59412fd9 [Chore] (MG_Util/Program): test in/out linkage across stages 2025-07-21 17:40:16 +08:00
swung0x48 4dfbb789be [Chore] (MG_Util/Program): get rid of junk 2025-07-21 14:45:19 +08:00
swung0x48 1ad2513700 [Fix] (MG_Util/Program): program linking 2025-07-21 14:37:32 +08:00
swung0x48 bb396f8651 [Fix] (MG_Util/Program): fix sampler extraction 2025-07-21 11:11:26 +08:00
swung0x48 0afe4c4acb [Fix] (MG_Util/Program): fix UniformTraverser and add test for it 2025-07-21 10:47:05 +08:00
swung0x48 0dfd535c40 [Chore] (MG_Test/Program/CMakeLists.txt): use debug library on debug 2025-07-21 10:05:38 +08:00
swung0x48 f1ae8f0353 [Chore] (MG_Test/Program/CMakeLists.txt): tests compile on windows 2025-07-21 09:16:14 +08:00
swung0x48 4c9f0c5399 [Chore] (Include.h): remove strstream as it is deprecated 2025-07-20 21:59:17 +08:00
swung0x48 90a004cdd4 [Chore] (MG_Test/Program): find all components for SPIRV-Cross 2025-07-20 21:57:31 +08:00
swung0x48 94af204ed8 [Chore] (MG_Test/Program): include SPIRV-Cross 2025-07-20 21:56:00 +08:00
swung0x48 bff7711e2c [Fix] (MG_Test/Program): fix CompileSimpleFragmentShader 2025-07-20 21:07:31 +08:00
swung0x48 ad041d6dab [CI] (3rdparty): attempting to install glslang 2025-07-20 20:02:47 +08:00
swung0x48 18675f72f3 [Feat] (MG_Util/ShaderTranspiler): Implement simple shader compile 2025-07-20 19:54:29 +08:00
swung0x48 4665735c89 [Fix] (MG_State/Buffer): do not shrink_to_fit() if not necessary 2025-07-20 09:58:17 +08:00
swung0x48 ded2691155 [Fix] (MG_Test/BufferTest): fixed some assertions
Fixed:
    PingPong
2025-07-20 08:42:55 +08:00
swung0x48 8a9340749d [Chore] (github): CI tests 2025-07-19 22:59:45 +08:00
swung0x48 16697b8c2b [Fix] (MG_State/Buffer): pass PingPong test 2025-07-19 22:00:01 +08:00
swung0x48 6f455bc26a [Test] (MG_Test/Program): add Sanity test 2025-07-19 21:33:28 +08:00
swung0x48 ba485e4adc [Fix] (MG_Util/Program): use std::string instead of to_string 2025-07-19 21:32:47 +08:00
swung0x48 509f3d2879 [Feat] (MG_State/Buffer): separate UploadData() into Resize()+UploadData() 2025-07-18 10:02:08 +08:00
swung0x48 0d73120d15 [Feat] (MG_State/Buffer): separate UploadData() into Resize()+UploadData() 2025-07-18 10:01:40 +08:00
swung0x48 99eaf317ba [Feat] (Range1D): IntersectionUpdate 2025-07-17 23:09:24 +08:00
swung0x48 3f0a99d272 [Fix] (MG_State/Buffer): fix some typo 2025-07-17 22:46:16 +08:00
swung0x48 5c1b0a8f10 [Test] (BufferTest): add Binding test, and fix compile errors 2025-07-17 22:15:31 +08:00
swung0x48 6de362cd1c [Fix] (Types.h): add typename specifier 2025-07-17 22:04:37 +08:00
swung0x48 e72c1f70aa [Fix] (MG_State/Buffer): remove redundant buffer target 2025-07-17 21:55:27 +08:00