Commit Graph

2956 Commits

Author SHA1 Message Date
Jérôme Leclercq
fbba281d14 Renderer: Add support for struct and UBO 2020-07-14 21:59:49 +02:00
Jérôme Leclercq
cd01facd01 GlslWriter: Handle OpenGL ES precision qualifier 2020-07-08 22:52:33 +02:00
Jérôme Leclercq
b076a517c6 Merge branch 'vulkan' into shader-nodes 2020-07-08 22:38:24 +02:00
ImperatorS79
ee93680083 Fix arrayLayers not being correctly computed in VulkanTexture.cpp for ImageType_2D_array 2020-07-08 22:32:50 +02:00
Jérôme Leclercq
5164294bec ShaderNodes: Add TextureEdit dialog 2020-07-04 22:52:17 +02:00
Jérôme Leclercq
33d94c05f3 ShaderNodes: Use PreviewValues instead of QImage 2020-07-03 22:53:00 +02:00
Jérôme Leclercq
83cf358d02 Physics2D/RigidBody2D: Fix EnableSimulation 2020-07-03 16:27:14 +02:00
Lynix
4f671873c1 Renderer: Add NazaraBinary shader "language" and handle it in OpenGLRenderer 2020-06-18 20:05:22 +02:00
Lynix
58e59be267 ShaderNode: Add compile to binary action 2020-06-18 20:04:39 +02:00
Lynix
74acf440fc Minor fixes 2020-06-18 20:04:25 +02:00
Lynix
691de5b5c4 Renderer/ShaderSerialize: Use ByteStream instead of ByteArray 2020-06-18 20:03:56 +02:00
Lynix
bc490a2fe5 Renderer/GlslWriter: Fix double identifier bug 2020-06-18 20:03:33 +02:00
Lynix
66a98b234f Renderer/GlslWriter: Add environment 2020-06-18 20:03:22 +02:00
Lynix
736ca1c409 Renderer/ShaderAst: Add serialization 2020-06-17 20:09:21 +02:00
Lynix
0ff10bf1e2 Improve GLSL output when using intrinsic 2020-06-17 16:07:58 +02:00
Lynix
f38bfdde8a ShaderAst: Big refactor + add binding/location support 2020-06-17 16:00:03 +02:00
Lynix
463b540739 ShaderEditor: Add VecFloatMul 2020-06-16 17:46:03 +02:00
Lynix
80527dec3e ShaderEditor: Add VecDot 2020-06-16 17:45:36 +02:00
Lynix
d3db22ce22 ShaderEditor/VecBinOp: Add component check 2020-06-16 17:45:21 +02:00
Lynix
9b911ac4bc Renderer/ShaderAst: Minor fixes relative to float/vec multiplication 2020-06-16 17:44:54 +02:00
Lynix
90abb52e4e ShaderEditor: Fixes 2020-06-16 17:44:20 +02:00
Lynix
2258a4f87f Add ShaderValidator 2020-06-06 16:44:17 +02:00
Lynix
8467c79021 Renderer: Add shader serialization 2020-06-05 19:47:29 +02:00
Lynix
de1c64253e Fix missing files 2020-06-04 18:31:43 +02:00
Lynix
0888589716 ShaderNode: Add save/load 2020-06-04 18:31:35 +02:00
Lynix
5790b502f7 ShaderNode: Add VecDiv 2020-06-04 18:30:54 +02:00
Lynix
725ecc7606 ShaderNode: Add FloatValue 2020-06-04 18:30:40 +02:00
Lynix
25562a5856 Renderer/ShaderAst: Add BinaryFunc 2020-06-04 18:29:50 +02:00
Lynix
41b50eeac3 Fix compilation 2020-06-03 19:09:51 +02:00
Lynix
1b4199c0a7 Platform/SDL2: Don't SDL_PumpEvents when not owning Windows
This is a temporary fix
2020-06-02 16:40:08 +02:00
Lynix
a73251f2df OpenGLRenderer: Fix version parsing
OpenGL ES 3.0 implementations don't seem to follow the spec, use GL_MAJOR_VERSION and GL_MINOR_VERSION instead
2020-06-01 17:11:34 +02:00
Lynix
8f04412a3f OpenGLRenderer: Fix GLES context creation
core profile bit has not meaning to OpenGL ES
2020-06-01 16:17:04 +02:00
Lynix
960a5c2d05 OpenGLRenderer: Fix extension loading 2020-06-01 16:16:41 +02:00
Lynix
effd1b4552 ShaderNode: Handle vector component count at runtime 2020-05-31 18:39:28 +02:00
Lynix
2ecc624fe4 ShaderNode: Add custom output support 2020-05-30 14:31:11 +02:00
Lynix
0a0dce4109 ShaderNode: Add possibility to set variable name (+ force variables) 2020-05-29 18:22:58 +02:00
Lynix
eabb8a630d ShaderNode: Extract texture from SampleTexture
Add TextureData and TextureValue node
2020-05-28 10:50:38 +02:00
Lynix
6ff670f13f ShaderNode: Move VecData to DataTypes folder 2020-05-28 10:47:49 +02:00
Lynix
2db78f5b10 Seriously 2020-05-28 00:22:54 +02:00
Lynix
bc7ffb6ff3 ShaderNode: Add preview size option 2020-05-28 00:11:34 +02:00
Lynix
0ec927b82e ShaderNode/NodeEditor: Replace QVBoxLayout by QFormLayout 2020-05-28 00:11:16 +02:00
Lynix
f8779915d3 Update OpenGL.cpp 2020-05-28 00:10:40 +02:00
Lynix
0f36131d9d Remove dependency to xcb_image 2020-05-28 00:00:48 +02:00
Lynix
a1d7bc49c2 Update ScopedXCB.cpp 2020-05-27 23:45:31 +02:00
Lynix
85a5e8eedd Fix compilation 2020-05-27 22:57:32 +02:00
Lynix
89504de465 More commits for science 2020-05-27 21:24:56 +02:00
Lynix
3f5b041a81 Add some GLX files back 2020-05-27 21:16:59 +02:00
Lynix
4f9380da11 More Linux fixes 2020-05-27 21:01:14 +02:00
Lynix
1734b8e5db SDL fixes 2020-05-27 20:37:20 +02:00
Lynix
3fc4de26e3 ShaderGraph: Improve GLSL generation by introducing DeclareVariable statement 2020-05-27 20:08:41 +02:00