Clément Foucault fclem
  • I'm pixel pusher.

  • Joined on 2014-07-09
Clément Foucault pushed to glsl-cpp-stubs at fclem/blender 2024-09-24 11:42:18 +02:00
03cd3546a5 Guard against GLSL / MSL include
Clément Foucault commented on issue blender/blender#127983 2024-09-23 21:49:25 +02:00
GPU: Improve GLSL workflow

About the external resources, I found a not so intrusive system. Here is the mockup:

/* For create info. */
#define CREATE_INFO_BEGIN(name) GPU_SHADER_CREATE_INFO(name)
#define CREATE_INFO_…
Clément Foucault pushed to glsl-cpp-stubs at fclem/blender 2024-09-23 19:07:59 +02:00
dc393fb406 Add array syntax compatibility
72a66df00b Remove unused parameters
Compare 2 commits »
Clément Foucault commented on issue blender/blender#127983 2024-09-23 18:54:01 +02:00
GPU: Improve GLSL workflow

About the Array definition syntax, I propose defining the following:

/* In C++, Metal. */
/* clang-format off */
#define float_array(...) { __VA_ARGS__ }
#define float2_array(...) {…
Clément Foucault pushed to glsl-cpp-stubs at fclem/blender 2024-09-23 18:09:30 +02:00
85bcd4a95d Some missing functions
24dbd8eebc Matrices
671e5be4a0 Remove vector ops argument names
Compare 3 commits »
Clément Foucault pushed to glsl-cpp-stubs at fclem/blender 2024-09-23 17:21:05 +02:00
6e4790387c Add builtin and keywords
8eb490876f Add color swizzle
Compare 2 commits »
Clément Foucault pushed to glsl-cpp-stubs at fclem/blender 2024-09-23 16:49:27 +02:00
d407c757d8 Builtin functions
bc209b594a Add optional bias to texture function
4247c2b7b8 Simplify vector ops and remove vec1
Compare 3 commits »
Clément Foucault pushed to glsl-cpp-stubs at fclem/blender 2024-09-23 12:59:53 +02:00
b74a9bcc39 Boolean vectors
0cab59b0bc Add vector explicit casts
Compare 2 commits »
Clément Foucault commented on issue blender/blender#127983 2024-09-23 12:50:58 +02:00
GPU: Improve GLSL workflow

Turns out I have the stubs part mostly solved in Malt (they're auto-generated from the spec), so we could reuse that

I see a lot of duplication and it might not lint some type conversions…

Clément Foucault pushed to glsl-cpp-stubs at fclem/blender 2024-09-23 11:46:00 +02:00
1f415ecbda image stubs
82f3dd4e8d Int vectors alias
Compare 2 commits »
Clément Foucault pushed to main at blender/blender 2024-09-23 11:31:27 +02:00
3d74be9c5b Fix #126947: EEVEE: Color drifting & darkening at high sample count
Clément Foucault closed issue blender/blender#126947 2024-09-23 11:31:26 +02:00
EEVEE: Dithered shadows get darker with higher sample counts
Clément Foucault deleted branch fix-126947 from fclem/blender 2024-09-23 11:31:26 +02:00
Clément Foucault merged pull request blender/blender#127948 2024-09-23 11:31:22 +02:00
Fix #126947: EEVEE: Color drifting & darkening at high sample count
Clément Foucault pushed to glsl-cpp-stubs at fclem/blender 2024-09-23 11:23:50 +02:00
9413c0a388 Add texture stubs
dfc1d88902 Add 1 component vector with auto cast
8102410bbc Fix typo
Compare 3 commits »
Clément Foucault pushed to glsl-cpp-stubs at fclem/blender 2024-09-23 08:46:53 +02:00
5992a87eed Cleanup macros
Clément Foucault pushed to glsl-cpp-stubs at fclem/blender 2024-09-23 08:44:50 +02:00
e9155ce3ea Cleanup template and dependency, support recursive swizzle
Clément Foucault opened issue blender/blender#127983 2024-09-22 20:29:59 +02:00
GPU: Improve GLSL workflow
Clément Foucault created pull request blender/blender#127982 2024-09-22 20:24:11 +02:00
WIP: Experiment with C++ stubs
Clément Foucault pushed to glsl-cpp-stubs at fclem/blender 2024-09-22 20:22:04 +02:00
ffe29341e6 Experiment with C++ stubs
b302f37952 Cleanup: remove/comment unused struct members & variables
4bd0cc888e Cleanup: various non functional changes
31e908bce4 Fix #127910: Bake Object Transform does not set an active layer
447cde140d Cleanup: Remove unused BLI_array macro implementation
Compare 10 commits »