Commit Graph
46 Commits
Author SHA1 Message Date
BZLZHH ee29a397da [Fix] (Diligent/PSO): Use GLSL For Vulkan mode somewhere. 2025-06-21 19:35:16 +08:00
BZLZHH 99dd2f5dec [Fix] (Diligent/Buffer): Fix flags absence of buffer objects in Diligent. 2025-06-21 13:23:40 +08:00
BZLZHH d3b94dd1c6 [Fix] (Diligent/Drawing): Set IBO in glMultiDrawElementsBaseVertex. 2025-06-21 12:24:02 +08:00
BZLZHH ae5c37b7e4 [Fix] (Diligent/Drawing): Fix vertex in glMultiDrawElements, 2025-06-21 10:41:19 +08:00
BZLZHH 7c3b4e52c3 [Feat] (Diligent/Drawing): Reimplement glMultiDrawElements through indirect drawing. 2025-06-21 09:48:08 +08:00
BZLZHH 61ae5e2e34 [Feat] (Diligent/Drawing): Implement glMultiDrawElements. 2025-06-21 04:11:40 +08:00
BZLZHH bc61669dad [Improvement] (All): Remove redundant code. 2025-06-20 23:44:20 +08:00
BZLZHH e77b56c9ad [Fix] (Diligent/PSO): Avoid crashing when MG_DEFAULT_UBO does not exist. 2025-06-20 16:41:13 +08:00
BZLZHH ac6827fdd8 [Fix] (Diligent/Texture): Set sampler for texture. 2025-06-20 15:42:31 +08:00
BZLZHH 0c2449dc5e [Fix] (Diligent/Buffer): Recreate buffer object when the size changes. 2025-06-15 10:32:38 +08:00
BZLZHH 937cab736b [Feat] (Diligent/Drawing): Handle uint8 in MultiDrawElementsBaseVertex. 2025-06-15 08:13:22 +08:00
BZLZHH fa7bb59a82 [Feat] (Diligent/Drawing): Implement (Multi)DrawElementsBaseVertex. 2025-06-10 02:15:56 +08:00
BZLZHH a0016861e8 [Fix] (Diligent/PSO): Avoid crashing when uniform data is invalid. 2025-06-10 01:55:04 +08:00
BZLZHH 44e787c56a [Fix] (Diligent/PSO): Get real stage for uniform sampler. 2025-06-09 00:26:41 +08:00
BZLZHH 1022a4dfc3 [Fix] (Diligent/Buffer): Update all dynamic buffers in glDraw*. 2025-06-08 23:00:13 +08:00
swung0x48 40a458b743 [Fix]: save order of uniform names, and apply it at linking and buffer mapping 2025-06-08 20:19:06 +08:00
BZLZHH c183203264 [Fix] (Diligent/Drawing): Use real type for IBO. 2025-06-08 18:17:05 +08:00
BZLZHH 4dfbc01479 [Fix] (Diligent/PSO): Build InputLayout for PSO. 2025-06-08 17:29:10 +08:00
BZLZHH 292c7eeecf [Fix] (Diligent/Buffer): Create dynamic buffer in glDraw*. 2025-06-08 13:35:32 +08:00
BZLZHH 848f110658 [Fix] (DiligentEngine): Fix some miscellaneous issues. 2025-06-08 01:57:13 +08:00
BZLZHH f5c3514dde [Fix] (Diligent/Drawing): Bind shader resources to pipeline. 2025-06-08 00:11:24 +08:00
BZLZHH f5a14c20a9 [Feat] (DiligentEngine): Implement most rendering by DiligentEngine. 2025-06-07 19:41:32 +08:00
BZLZHH 33e4b6d8de Merge branch 'Feat/dev-es-shittily-draw' into dev-es without ShittilyDraw
# Conflict:
#	MG/Includes.h

# Changes:
#      Remove ShittilyDraw, ready to implement MG_RHI...
#      Update progress.
2025-05-17 11:50:47 +08:00
BZLZHH 3b1ab8d9d9 Revert "a bunch of junk, merging 'shitty' branch"
This reverts commit c68cbfa37b.
2025-05-17 11:13:31 +08:00
BZLZHH 8805694fb9 [Misc] (ShittilyDrawing): Fix error binding of read fbo? Remove DrawBuffer. 2025-05-17 01:53:08 +08:00
BZLZHH 4316d4e13d [Feat] (ShittilyDrawing): Implement DrawBuffer. Ensure read fbo is bound. 2025-05-17 01:25:13 +08:00
BZLZHH 71df4bae3c [Misc] (Texture): Start to support GL_DEPTH_COMPONENT32... 2025-05-17 00:03:00 +08:00
BZLZHH e3a25c6274 [Feat] (ShittilyDrawing): Implement more Drawing functions. Make uniform correct. 2025-05-16 23:40:32 +08:00
BZLZHH 06a79f2fc4 [Fix] (ShittilyDrawing): Ensure proper VBO binding when syncing VAO attributes. 2025-05-16 16:16:02 +08:00
BZLZHH 80a077acdf [Feat] (ShittilyDrawing): Implement TexParamCache. 2025-05-16 16:03:56 +08:00
BZLZHH 9a692a7845 [Feat] (BufferState): Implement glDeleteBuffers. 2025-05-16 13:34:24 +08:00
swung0x48 7fdf31c782 [Misc] poking around...attempting to fix vbo problem but no avail 2025-05-11 22:59:26 +08:00
BZLZHH ba339ca182 [Fix] (DrawElementsSHITTILY): Disable bufferObj.dataValid check now. 2025-05-11 09:30:32 +08:00
swung0x48 f36c322d86 [Optimization] (GL_Drawing): skipping VAO gen, improving perf? 2025-05-10 18:47:23 +08:00
swung0x48 614c5f7324 [Fix] (BufferState, GL_Drawing): mark dirty buffers 2025-05-08 21:40:48 +08:00
swung0x48 5142f3c72b [Fix] (TextureState, GL_Drawing): mark dirty textures to skip uploading unmodified ones 2025-05-08 20:57:16 +08:00
swung0x48 1953dd60bf [Optimization] (GL_Drawing): kinda fix SyncAllTexturesToGLES, getting main menu to work 2025-05-08 17:14:42 +08:00
swung0x48 40cf5a1ebb [Optimization] (TextureState): block memcpy 2025-05-08 16:07:17 +08:00
swung0x48 f98f877e07 [Fix] (GL_Drawing.cpp): realize glBindAttribLocation, and other misc fixes 2025-05-07 23:25:46 +08:00
swung0x48 fc0396705f [Feat] NormalizePixelFormat 2025-05-07 17:44:37 +08:00
swung0x48 d1eb029671 [Fix] some format quirk 2025-05-07 17:15:50 +08:00
swung0x48 6c1d1e0e7a [Feat] implement renaming for buffer 2025-05-07 15:38:30 +08:00
swung0x48 bb45906189 [Feat] implement glBlitFramebuffer, making things start to render 2025-05-07 13:33:29 +08:00
swung0x48 c68cbfa37b a bunch of junk, merging 'shitty' branch 2025-05-06 16:20:18 +08:00
BZLZHH 3fa6aa660c [Feat] (GL_Drawing): Add DrawElementsSHITTILY. Add SPIRV->GLSL ES conversion. 2025-05-05 10:04:35 +08:00
BZLZHH 04976daa9f [Refactor] (...): Optimize code file structure. 2025-05-01 09:22:50 +08:00