544afe6f0e
Bump projectm-eval submodule version to 1.0.5
2025-11-11 09:41:29 +01:00
537add365f
Silence CMake warning if projectM-Eval is not found externally.
...
Also output additional information in both cases (found/not found).
2025-11-04 13:51:37 +01:00
7050626be0
Add additional alternates for the mult() function with int as arguments
...
Required to propagate NaNs as SM3/DX9 does.
Signed-off-by: Kai Blaschke <kai.blaschke@kb-dev.net >
2025-11-02 15:05:29 +01:00
394106bfd4
Add missing "distance" intrinsic to HLSLparser
...
Signed-off-by: Kai Blaschke <kai.blaschke@kb-dev.net >
2025-10-28 16:43:35 +01:00
3e67f6e477
Update SOIL2 to v1.31 to fix issue with GL_OES_texture_npot
...
Resolves issue #910
Fail over to glGetString if SOIL_GL_GetProcAddress fails
Signed-off-by: Kai Blaschke <kai.blaschke@kb-dev.net >
2025-10-27 19:06:27 +01:00
b3e7e8cdba
Convert HLSL array subscript operator operand to int
2025-09-11 10:56:36 +02:00
d89c09ef5f
Update projectm-eval submodule to v1.0.3
2025-08-04 19:41:55 +02:00
a77df53bc7
hlslparser: Add missing "faceforward" HLSL intrinsic.
2024-12-16 17:43:18 +01:00
e7e77baa96
hlslparser: Add missing "ldexp" HLSL intrinsic.
...
Had to simulate it with the "x * exp2(exp)" expression in GLSL, as GLSL only supports integer types as exponents in its native ldexp implementation, while HLSL solely uses floats.
2024-12-16 17:43:14 +01:00
f6ff7943c1
Add "refract()" intrinsic support to hlslparser
2024-08-26 09:53:05 +02:00
1b8004f714
Improve vcpkg manifest, use features for build options.
...
Now pulling in the required vcpkg dependencies only if a certain build feature is requested.
2024-08-07 18:31:32 +02:00
f60cd86ab6
Add option to use system projectm-eval (used in vcpkg)
2024-05-03 15:09:33 -05:00
436fd5221b
Fix include dirs in SOIL2 library
2024-03-19 23:14:09 +01:00
fa3a15c4cb
Use CMakeLists.txt in GLM source dir
...
Also simplified it a bit, excluding the unnecessary source files and adding the interface library on the top level CMakeLists.txt.
2024-03-19 23:14:09 +01:00
03b4c071a2
Properly cast argument types when adding abs to shader functions
2024-02-28 17:03:37 +01:00
07c9a8a660
Re-add native matrix multiplication
2024-02-21 14:36:35 +01:00
3aa48a3f99
Modify NaN propagation for multiplication
2024-02-21 14:36:35 +01:00
db89e54109
Add mat3x4 and mat4x3 indexing functions
2024-02-21 14:12:12 +01:00
04be6f40d0
Fix pow domain on some drivers
2024-02-21 14:11:37 +01:00
7d97baffcd
Match math function behavior to DX9 implementation
2024-02-21 14:11:37 +01:00
1513675c31
Remove no longer used omptl and OpenMP support.
...
Fixup: remove omtpl
2024-02-02 15:08:04 +01:00
6e93c1f624
Consolidate USE_GLES define usage.
2024-01-19 11:57:06 +01:00
bbb715a844
Update projectm-eval submodule where another memory leak was fixed.
2024-01-19 11:57:06 +01:00
484c3579d7
Fix a memory leak in HLSLMacro class due to use of std::string.
...
The HLSLMacro struct is manually malloc'd, not using new/delete, so the std::string destructor is never called on the instance stored in the class.
Fixed by using a char* allocated by HLSLTree, which will then properly take care of deleting it after parsing is complete.
2024-01-19 11:57:06 +01:00
7cb79fe5b5
Improve robustness and fix leaking of hlslparser's Array memory management.
2024-01-19 11:57:06 +01:00
0a0fd082cf
Update projectm-eval submodule commit
2023-11-11 17:40:57 +01:00
4b3226ac3a
Added projectM-Eval as submodule, flipped rendering stuff around a bit more.
2023-09-11 10:19:48 +02:00
ce0e5853b2
More work on shader stuff, warp/comp shaders now compile properly.
...
Fixed a transpile issue with a hack used by some preset authors to set a texture sampler to a different filter/wrap mode, removing the "sampler_state" block entirely now as there's no GLSL equivalent (samplers are solely configured on the application side).
Also consolidated a few vertex types into RenderItem and fixed a few old-school effects like DarkenCenter.
2023-09-11 10:19:47 +02:00
e7094aa190
Remove "Pipeline" classes and temp fix all compilation issues.
2023-09-11 10:19:46 +02:00
b9f1c16f58
Move third-party libraries to "vendor" dir.
2023-03-03 14:30:24 +01:00
d9fb429abd
GLSL and emscripten - JavaScript and WebGL support ( #92 )
...
* add glm lib in vendor folder
* fix makefile
* add more help and context to emscripten readme
* add correct output parameter to emcc
* add how to restart the process to the readme
* simplify emscripten compilation
* apply patch
* fix blur shaders to work with WebGL
2019-05-11 19:07:49 +03:00