BZLZHH
f56453093f
[Improvement] (Diligent/PSO): Add UniformStageCache.
2025-07-10 17:09:53 +08:00
BZLZHH
59e0291f9e
[Improvement] (HeaderSystem): Optimize header system, highly improving performance.
2025-07-10 14:01:09 +08:00
BZLZHH
833679e58a
[Chore] (gitignore): Ignore Visual Studio directory and output directory.
2025-07-10 11:41:33 +08:00
BZLZHH
f04207905f
[Chore] (DEBUG): Enable debug.
2025-07-09 18:17:10 +08:00
swung0x48
8c98afb1ac
[Fix] (MG_State/Buffer): 1. Don't check on GetBufferObject(), do it on creation 2. Don't modify g_BufferMap on querying
2025-07-08 17:53:21 +08:00
swung0x48
8c52cd34ed
[Fix] (MG_State/Clear): set render targets before clear
2025-07-08 16:17:47 +08:00
swung0x48
fbb1fc1fdb
[Misc] (MG_State/Buffer): reserve buffer size rounding up to next power of 2 to make resize complexity logarithmic
2025-07-08 15:44:11 +08:00
swung0x48
c43ae7ed2c
[Misc] (Diligent/Present): hard code disable vsync for now
2025-07-08 15:42:18 +08:00
swung0x48
ad626025d5
[Fix] (Diligent/Init): request NativeMultiDraw feature
2025-07-08 15:41:10 +08:00
swung0x48
9db24e6593
[Optimization] (Diligent/Framebuffer): explicitly unbind framebuffer on texture copy (BlitFramebuffer)
2025-07-08 14:32:25 +08:00
swung0x48
e3765f1f50
[Optimization] (MG_Constant): use vector instead of unordered_set to improve performance
2025-07-08 12:39:39 +08:00
swung0x48
532ca5ced5
[Fix] (MG_State/Texture, MG_State/Framebuffer): add stub for glCopyTexSubImage2D, glDrawBuffer, glDrawBuffers and glReadBuffer
2025-07-08 11:05:59 +08:00
swung0x48
20d02b75e1
[Fix] (MG_State/Texture): re-enable multi-miplevels
2025-07-07 10:39:00 +08:00
swung0x48
992ea967a7
[Fix] (MG_State/Texture): correctly maintain mag filter compare mode
2025-07-07 10:05:19 +08:00
swung0x48
9e3a5aefad
[Optimize] (Diligent/RenderPass): remove renderpass usage
2025-07-06 10:21:15 +08:00
BZLZHH
bf0c29b384
[Fix] (MG_Util/Program): Completely fix uniform conflicting.
2025-07-05 12:25:22 +08:00
BZLZHH
164c2f25d4
[Fix] (MG_Util/Program): Avoid uniform variables conflicting.
2025-07-05 11:56:15 +08:00
BZLZHH
4cf85c4f2a
[Fix] (MG_State/Program): Map IO binding in FinalizeProgramPipeline.
2025-07-05 10:28:39 +08:00
swung0x48
bcaf0e6e32
Revert "[Fix] (MG_Util/GLSLTool): actually linking & mapping IO?"
...
This reverts commit 92cd0f3a82 .
2025-07-04 20:11:33 +08:00
swung0x48
92cd0f3a82
[Fix] (MG_Util/GLSLTool): actually linking & mapping IO?
2025-07-02 14:35:41 +08:00
swung0x48
067d517527
[Fix] (MG_Util/GLSLTool): get rid of unnecessary whitespace removal
2025-06-30 15:32:59 +08:00
swung0x48
a6bcded3e4
[Fix] (Diligent/Drawing): set g_TriangleFanIndexBuffer to null after release
2025-06-30 13:48:24 +08:00
swung0x48
79e5eb6a74
[Fix] (MG_State/Buffer): ignore 0-sized reallocation
2025-06-30 13:47:07 +08:00
swung0x48
1078a33147
[Fix] (MG_Util/GLSLTool): set preamble to fix compilation error with vulkan target
2025-06-30 13:02:09 +08:00
swung0x48
3fb314fc44
[Fix] (MG_Util/GLSLTool): specify vulkan semantics to convert gl_VertexID/gl_InstanceID
2025-06-30 12:29:45 +08:00
BZLZHH
e1fd5678ec
[Fix] (Diligent/Shader): Try to bind varying in glsl str.
2025-06-29 11:42:38 +08:00
swung0x48
8a0d00f94b
[Optimize] (MG_State/Buffer): vector to replace umap (does that optimize anything?)
2025-06-29 01:02:00 +08:00
swung0x48
0207ee85b7
[Optimize] (MG_Util/Debug): avoid runtime cost of unneeded log function (forced at compile time)
2025-06-27 22:29:24 +08:00
swung0x48
a5a661261d
[Feat] (Diligent/EGL_Init, MG_State/Getter): separates engine init and swapchain creation
2025-06-27 13:47:43 +08:00
swung0x48
d056acf0af
[Feat] (Diligent/PSO, MG_State/Buffer): implement GL_TRIANGLE_FAN emulation, fixing sky
2025-06-27 10:14:05 +08:00
swung0x48
229b5f292e
[Fix] (MG_State/Texture): revert GetUnpackParam_ to private
2025-06-26 16:03:34 +08:00
swung0x48
3e71f83d61
[Fix] (MG_State/Texture): implement GL_UNPACK_SKIP_ROWS and GL_UNPACK_SKIP_PIXELS, fixing non-unicode fonts
2025-06-26 13:58:07 +08:00
swung0x48
fa6ace0955
[Misc]: minor fixes
2025-06-25 23:49:43 +08:00
swung0x48
1e6f91809e
[Fix] (MG_State/Texture): deal with GL_UNPACK_ROW_LENGTH
2025-06-25 23:48:24 +08:00
swung0x48
afcc892b32
[Misc] (MG_GL/Getter): return real GL_MAX_VERTEX_ATTRIBS value
2025-06-25 17:02:34 +08:00
swung0x48
1c0a1fcbcb
[Misc] (MG_State/Drawing): minor optimizations
2025-06-25 16:59:50 +08:00
swung0x48
bf8aaaa9c1
[Fix] (MG_State/VertexArray): use array to save attribs to maintain order and optimize performance
2025-06-25 16:22:16 +08:00
swung0x48
0359a4e97f
[Fix] (MG_State/Texture): get rid of 0.25 max lod clamp
2025-06-25 11:58:51 +08:00
swung0x48
a18360c931
[Fix] (MG_State/PSO, GLSLTool): revert to flip y in shader
2025-06-24 17:36:45 +08:00
swung0x48
0c031d3e0b
[Fix] (MG/GLSLTool): Finally fixing blur shader!
...
- use glslang mapIO() function to correctly link shader in/out varyings
- no need to flip y (already using VK_KHR_maintenance1 to specify negative viewport height)
- use pointers to avoid unnecessary copying
2025-06-24 16:33:16 +08:00
swung0x48
20a945c6f0
[Misc] (MG_State/PSO): temporarily disable culling, deal with cw/ccw later
2025-06-24 16:27:20 +08:00
swung0x48
433a5ac39d
[Fix] (MG_State/GL_Texture): no need to clamp max lod min value
2025-06-24 16:26:09 +08:00
swung0x48
b444b7de88
[Fix] (MG_State/GL_Texture): do not automatically generate mipmaps
2025-06-24 09:02:50 +08:00
swung0x48
94dfdb6905
[Fix] (MG_Util/Program/GLSLTool): Really really hacky way to fix blur shader
2025-06-23 23:24:39 +08:00
swung0x48
2f1b06d0f9
[Fix] (MG/Framebuffer): get rid of suspicious GL_FRAMEBUFFER handling
2025-06-23 10:51:24 +08:00
swung0x48
14b1d5a2d1
[Fix] (MG/Constants): put log level in order
2025-06-23 09:37:32 +08:00
swung0x48
7c3912b9ae
[Feat] (MG_State/Texture): implement GL_TEXTURE_COMPARE_MODE
2025-06-23 09:32:25 +08:00
swung0x48
fa657fbf0b
[Misc] (Diligent/Texture): Log unhandled texture state
2025-06-22 22:00:17 +08:00
swung0x48
6e9f990eed
[Fix] (Diligent/PSO,Program): get rid of phantom program 0
2025-06-22 21:59:20 +08:00
swung0x48
a8ae34b3bd
[Improvement] (Getter): better glGetString with GPU name
2025-06-22 19:57:41 +08:00