Commit Graph

  • 64efd81bf8 Shader: Handle matrix cast properly Jérôme Leclercq 2022-01-23 19:58:04 +01:00
  • 249aebac05 Merge branch 'master' into phong-lighting Jérôme Leclercq 2022-01-23 13:36:48 +01:00
  • 89e9e41357 Core/SparsePtr: Use template type for +/- and +=/-= Jérôme Leclercq 2022-01-23 13:27:39 +01:00
  • bba5d7a803 Fix compilation (6000th commit!) Jérôme Leclercq 2022-01-23 10:18:00 +01:00
  • 3c308970a1 Minor fixes Jérôme Leclercq 2022-01-23 01:22:16 +01:00
  • 2ebcddf9de Core/CallOnExit: Rework to use template instead of std::function Jérôme Leclercq 2022-01-23 00:16:09 +01:00
  • 29786765c6 Big buffer refactor Jérôme Leclercq 2022-01-23 00:05:08 +01:00
  • 754a0016c7 Fix Vulkan performance warnings Jérôme Leclercq 2022-01-21 23:31:01 +01:00
  • b3ff5767f7 Graphics/Sprite: Fix AABB Jérôme Leclercq 2022-01-21 21:44:21 +01:00
  • b442af513c Fix compilation Jérôme Leclercq 2022-01-21 21:33:43 +01:00
  • 213c7d8a1e Utility/OBJSaver: Handle case where normal and/or texcoords are not present Lynix 2022-01-21 14:57:07 +01:00
  • b917738ed4 Core/ResourceSaver: Remove leading point (".obj" => "obj") Lynix 2022-01-20 16:51:07 +01:00
  • 1406c714ac Renderer/Texture: Handle image loading error Lynix 2022-01-20 16:46:50 +01:00
  • f0b6f2122d Shader: backport struct fix from phong-lighting Lynix 2022-01-19 20:44:32 +01:00
  • 9f05a22db7 Build: Disable unit tests build (and requirements) by default Lynix 2022-01-18 06:25:33 +01:00
  • 22c99bfd1d XMake: Add options to disable tools/plugins and unit tests building Jérôme Leclercq 2022-01-18 06:15:51 +01:00
  • 025deb9ae1 XMake/Packages: Fix qt5base using python instead of python3 Jérôme Leclercq 2022-01-18 06:02:05 +01:00
  • 0af9a96294 Core/Color: Add Gray constant Jérôme Leclercq 2022-01-18 06:01:44 +01:00
  • 7976ea27b9 Add initial support for normal mapping and other light types Jérôme Leclercq 2022-01-18 06:01:15 +01:00
  • b0a3941f4e Add Phong lighting (WIP) Jérôme Leclercq 2022-01-11 19:47:29 +01:00
  • f30a1faeca Fix client unit tests Lynix 2022-01-11 17:32:16 +01:00
  • 504249e70f Update xmake.lua Jérôme Leclercq 2022-01-06 20:38:57 +01:00
  • 756fd773a9 Shader: Add support for numerical fors Jérôme Leclercq 2022-01-06 20:38:55 +01:00
  • 972d5ffd3f Regenerate global headers, unicode and spirv data Jérôme Leclercq 2022-01-04 16:36:28 +01:00
  • 2bdcc045cd Shader: Replace const for with [unroll] attribute Jérôme Leclercq 2022-01-03 20:21:09 +01:00
  • b6e4a9470e Shader/Ast: Treat repeated swizzle as rvalue (cannot be assigned) Jérôme Leclercq 2022-01-02 22:02:46 +01:00
  • 4fe44339c5 Shader: Add support for for-each statements and improve arrays Jérôme Leclercq 2022-01-02 22:02:11 +01:00
  • aac6e38da2 Core/Algorithm: Improve SafeCast to handle references Jérôme Leclercq 2022-01-02 21:59:58 +01:00
  • 55784a7dfc VulkanRenderer: Fix scissor handling Jérôme Leclercq 2022-01-01 23:02:09 +01:00
  • 1f15328fdd Shader: Add initial support for arrays Jérôme Leclercq 2022-01-01 23:01:31 +01:00
  • 89c7bbf197 Update copyright date SirLynix 2022-01-01 15:30:09 +01:00
  • d1841356bf Core/Algorithm: Improve AccessByOffset check and add error message Jérôme Leclercq 2021-12-29 14:35:26 +01:00
  • 7ec017829b XMake: Remove custom assimp package since fix got merged on xmake-repo Jérôme Leclercq 2021-12-29 00:15:55 +01:00
  • 0616b7c913 CI: Install Qt5 package for MinGW until pyppmd installation is fixed again Jérôme Leclercq 2021-12-28 23:38:04 +01:00
  • d878036bfc Shader/AstOptimizer: Reduce template complexition Jérôme Leclercq 2021-12-28 23:37:35 +01:00
  • 60a7cec099 Fix compilation Jérôme Leclercq 2021-12-28 22:15:13 +01:00
  • c3f7f215d5 Update xmake.lua Jérôme Leclercq 2021-12-28 20:09:30 +01:00
  • 3a4e006106 UnitTests/Shader: Update scalar swizzle test Jérôme Leclercq 2021-12-28 20:09:26 +01:00
  • 101a3d70da Shader/AstOptimizer: Add swizzle optimization Jérôme Leclercq 2021-12-28 20:09:04 +01:00
  • 22651255df UnitTests/Shader: Add cond/const if tests Jérôme Leclercq 2021-12-28 13:36:11 +01:00
  • 343eac6616 Shader/Parser: Allow external and struct declarations to be conditional Jérôme Leclercq 2021-12-28 13:35:53 +01:00
  • a8bb5291f2 Update Optimizations.cpp Jérôme Leclercq 2021-12-28 11:54:49 +01:00
  • 2f64e493de UnitTests/Shader: Add sanitization and optimizations unit tests Jérôme Leclercq 2021-12-28 11:49:53 +01:00
  • 4e5def1095 Shader/AstOptimizer: Fix Vector4 cast propagation optimization Jérôme Leclercq 2021-12-28 11:49:41 +01:00
  • 47e2ec35e3 UnitTests/Shader: Improve GLSL handling (detect shader point type instead of assuming fragment) Jérôme Leclercq 2021-12-28 11:49:20 +01:00
  • a0f66d9e88 Shader/SPIRV: Fix multiple branch handling (by splitting) Jérôme Leclercq 2021-12-28 11:48:19 +01:00
  • e21b45946f Shader/SPIRV: Fix double termination of blocks when branching Jérôme Leclercq 2021-12-26 22:00:44 +01:00
  • feb1774eb2 Update Algorithm.inl Jérôme Leclercq 2021-12-25 20:25:43 +01:00
  • b43ed890d0 Fix scissor bugs (fixes Deferred Shading flare on Vulkan and widget scissor on OpenGL) Jérôme Leclercq 2021-12-25 20:25:39 +01:00
  • b98fd65a01 Fix a lot of small bugs/warnings Jérôme Leclercq 2021-12-25 20:07:53 +01:00
  • 1080823c4d Shader/SpirvPrinter: Handle LiteralInteger as value Jérôme Leclercq 2021-12-25 19:13:48 +01:00
  • b9642b0662 UnitTests: Add a lot of shader generation tests Jérôme Leclercq 2021-12-25 19:13:32 +01:00
  • f98ea6b0ca Shader: Add full support for scalar swizzle Jérôme Leclercq 2021-12-25 19:13:08 +01:00
  • ec3da7e3f5 XMake: Fix NAZARA_DEBUG not being defined in unit tests and examples Jérôme Leclercq 2021-12-25 19:10:26 +01:00
  • 8ad01f9e6e Core/Algorithm: Rewrite SafeCast Jérôme Leclercq 2021-12-25 18:37:07 +01:00
  • 157e74b016 Shader/GlslWriter: Reorder function implementations Jérôme Leclercq 2021-12-25 14:02:22 +01:00
  • f798901c23 UnitTests: Use glslang to validate GLSL shaders Jérôme Leclercq 2021-12-24 14:54:35 +01:00
  • 3e708cf5ed XMake: Use remove_files/remove_headerfiles Jérôme Leclercq 2021-12-24 11:06:44 +01:00
  • 1aa56b4db8 Tests: disable unity buildd Jérôme Leclercq 2021-12-23 18:26:00 +01:00
  • 0aff946665 Examples/DeferredShading: Add flare sprite Jérôme Leclercq 2021-12-23 17:40:03 +01:00
  • d4dfe97006 Minor fixes Jérôme Leclercq 2021-12-23 17:39:37 +01:00
  • b53d2a0560 Rework shader module unit tests Jérôme Leclercq 2021-12-23 17:39:24 +01:00
  • a5cc915948 Shader/SPIRV: Fix structs being always decorated as block Jérôme Leclercq 2021-12-23 17:36:40 +01:00
  • ed3ee34565 Graphics/Sprite: Allow to change origin Jérôme Leclercq 2021-12-23 17:32:18 +01:00
  • e2882f6595 Shader: Rename Parse function to ParseFromFile Jérôme Leclercq 2021-12-23 17:18:30 +01:00
  • e497faabaf Fix compilation Jérôme Leclercq 2021-12-21 14:45:53 +01:00
  • 837b72f68e Shader: Rework Swizzle and add support for swizzle store in SPIRV Jérôme Leclercq 2021-12-21 14:30:47 +01:00
  • e43a638112 Shader/SpirvData: Regenerate SPIRV data (update to 1.6.1) Jérôme Leclercq 2021-12-20 22:37:34 +01:00
  • 1a859b90e6 XMake/Actions: Fix SPIRV data generator Jérôme Leclercq 2021-12-20 22:37:04 +01:00
  • 5963f4c848 Graphics/FrameGraph: Fix texture pool issue Jérôme Leclercq 2021-12-19 18:29:20 +01:00
  • 9bd411e53c Shader/SPIRV: Add support for swizzling with one component Lynix 2021-12-18 15:51:20 +01:00
  • a6b8caa5ba Examples/DeferredShading: Add god rays (WIP) Jérôme Leclercq 2021-12-16 23:12:09 +01:00
  • a8fefeb833 Some fixes Jérôme Leclercq 2021-12-16 23:11:48 +01:00
  • 0f9060c45b Shader: Add support for while loops Jérôme Leclercq 2021-12-16 23:10:58 +01:00
  • 07199301df Graphics/FrameGraph: Handle invalidation and flush barriers Jérôme Leclercq 2021-12-16 18:29:40 +01:00
  • 38b143ce8f VulkanRenderer: Improve ImageAspectFlags handling Jérôme Leclercq 2021-12-16 18:29:15 +01:00
  • 07bf924092 Update .gitignore Jérôme Leclercq 2021-12-13 23:44:41 +01:00
  • 90ab0e9438 Graphics/FramePass: Add SetReadInput method Jérôme Leclercq 2021-12-13 23:44:34 +01:00
  • dfa2a0040a Graphics/FrameGraph: Add AttachmentProxy Jérôme Leclercq 2021-12-13 23:44:14 +01:00
  • 3185e73941 Shader: Fix handling of if/else construct Jérôme Leclercq 2021-12-12 23:04:37 +01:00
  • 31c71e542e Examples/DeferredShading: Improve bloom quality Jérôme Leclercq 2021-12-12 23:04:05 +01:00
  • f64e16f7d8 Demo/DeferredShading: Add tone-mapping (without automatic exposure for now) Jérôme Leclercq 2021-12-05 17:03:08 +01:00
  • 0aec863300 Shader: Add support for exp intrinsic Jérôme Leclercq 2021-12-05 17:02:46 +01:00
  • 7e4a058d41 Renderer/[OpenGL|Vulkan]Renderer: Add support for RGBA16F pixelformat Jérôme Leclercq 2021-12-05 17:01:55 +01:00
  • 4eb96849db Graphics/FrameGraph: Reuse textures if possible Jérôme Leclercq 2021-12-05 16:53:02 +01:00
  • 3b1bf480e6 Fix some warnings Jérôme Leclercq 2021-12-03 22:18:03 +01:00
  • 11d4ba22da Graphics/ForwardFramePipeline: Use RenderGraph to merge viewers views Jérôme Leclercq 2021-12-03 22:17:24 +01:00
  • 5aefef2517 XMake: Fix build_rendererplugins rule Jérôme Leclercq 2021-12-03 22:15:54 +01:00
  • 17df8fafa4 Renderer/CommandBuffer: Add support for texture blit/copy Jérôme Leclercq 2021-12-03 22:15:34 +01:00
  • 53747abf6e XMake: Fix build_rendererplugins rule Jérôme Leclercq 2021-12-02 12:02:39 +01:00
  • 84bc04cee7 Fix compilation Jérôme Leclercq 2021-12-01 20:35:18 +01:00
  • 61779d1cad Graphics/Widgets: Add support for scissoring Jérôme Leclercq 2021-12-01 20:26:33 +01:00
  • a483e16e15 Graphics: Fix render layer sorting Jérôme Leclercq 2021-12-01 20:25:55 +01:00
  • 8f897084d7 Widgets: Add support for render layer (fixes rendering) Jérôme Leclercq 2021-12-01 18:58:48 +01:00
  • 653c9e0028 Graphics/GraphicsComponent: Make renderMask a mandatory parameter Jérôme Leclercq 2021-12-01 18:58:25 +01:00
  • 8b899253b1 Graphics/InstancedRenderable: Add support for render layer Jérôme Leclercq 2021-12-01 18:57:50 +01:00
  • a4c0cc8c34 Widgets: Add CheckboxWidget Jérôme Leclercq 2021-12-01 10:47:21 +01:00
  • 26d6448076 Minor fixes Jérôme Leclercq 2021-12-01 10:44:28 +01:00
  • 97de5af838 Platform/SDL2: Refactor implementation Jérôme Leclercq 2021-12-01 10:42:01 +01:00
  • 45e5baf194 Graphics: Rename MaterialPassFlag::Transparent by MaterialPassFlag::SortByDistance Jérôme Leclercq 2021-12-01 10:41:15 +01:00