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
swung0x48
f000ef4cbd
[Fix] (MG_State/Core): fix typo
2025-07-17 21:39:06 +08:00
swung0x48
6a2b122ab7
[Test] (MG_Test/Sanity): Setup basic sanity test.
2025-07-17 12:42:44 +08:00
swung0x48
1d40f89dfe
[Feat] (MG_Util/Compiler): shader compiler WIP 2
2025-07-16 17:25:49 +08:00
swung0x48
8e1427fbd0
[Misc] (3rdparty): Update glslang to 15.4.0
2025-07-15 09:58:37 +08:00
swung0x48
ea30e0ee92
[Feat] (MG_Util/Compiler): shader compiler WIP
2025-07-13 21:14:18 +08:00
swung0x48
d6bdd6854f
[Misc] (include): add missing headers in glslang
2025-07-13 09:13:06 +08:00
swung0x48
a59fe679a7
Merge branch 'Feat/Diligent' of https://github.com/MobileGL-Dev/MobileGL into feat/Diligent
2025-07-10 18:04:41 +08:00
swung0x48
82a4be37f2
[Fix] (MG_State/Program): fixing discrapencies between builtins of Vulkan and OpenGL GLSL (gl_VertexID/gl_VertexIndex)
2025-07-10 18:04:19 +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
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
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