Commit Graph
46 Commits
Author SHA1 Message Date
swung0x48 8e5cc46577 [Chore] (MG_State/ProgramObject): directly use TProgram for reflection 2025-10-27 12:59:55 +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 bd1056f9c9 [Feat|Fix] (...): Add/Fix lots of stuff, being able not to crash in MC. 2025-10-06 16:08:35 +08:00
BZLZHH ee971306ca [Misc] (All): Run format_code.sh 2025-10-02 15:11:38 +08:00
swung0x48 a5ab9fe503 [Chore] (MG_State/Program): get rid of junk printing when linking 2025-08-25 09:28:09 +08:00
swung0x48 c33056fd8e [Feat] (MG_State/Program): glUniformMatrix* with transpose, 2025-08-22 17:29:31 +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 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 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
BZLZHH a2c5ed20de [Chore] (MG_State/ProgramState): Remove printf. 2025-08-14 23:05:25 +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 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 238d0ffade [Feat] (MG_State/Program): GetActiveUniform 2025-08-14 13:50:34 +08:00
swung0x48 aa2aefac28 [Feat] (MG_State/Program): glGetUniformLocation 2025-08-13 23:32:33 +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 7f0e65f8c7 [Feat] (MG_Util/ShaderCompiler, MG_State/Program): reflect uniform location 2025-08-13 15:18:34 +08:00
swung0x48 1f7053cb31 [Feat] (MG_State/Program): GetProgramInfoLog, GetShaderInfoLog 2025-08-11 23:37:58 +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 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 2c40177f06 [Feat] (MG_Impl/Program, MG_State/Program): initial impl of shader related states 2025-08-11 15:19:35 +08:00
swung0x48 e96e0ecc42 [Fix] (MG_State/Program): fix ShaderObject compilation error 2025-08-11 13:12:50 +08:00
BZLZHH 253e14f2c9 [Improvement] (...): Optimize code. 2025-08-10 23:18:01 +08:00
BZLZHH 93ca669929 [Refactor] (All): Restructure include system. 2025-08-09 23:10:34 +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