Commit Graph

22 Commits

Author SHA1 Message Date
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