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

  • Joined on 2014-07-09
Clément Foucault created pull request fclem/blender#4 2024-09-26 17:12:14 +02:00
GPU: GLSL-C++ compilation stubs
Clément Foucault created branch glsl-cpp-stubs-2 in fclem/blender 2024-09-26 17:08:10 +02:00
Clément Foucault pushed to glsl-cpp-stubs-2 at fclem/blender 2024-09-26 17:08:10 +02:00
Clément Foucault pushed to glsl-cpp-stubs at fclem/blender 2024-09-26 17:05:06 +02:00
e145811e71 Add shared declarations and avoid GPU_shader_shared_utils to mess with stubs
Clément Foucault pushed to glsl-cpp-stubs at fclem/blender 2024-09-26 16:46:43 +02:00
052c1fe354 Remove clang-format off for swizzle
Clément Foucault pushed to glsl-cpp-stubs at fclem/blender 2024-09-26 16:44:33 +02:00
d00d870cf8 Add shader shared
9e8c2a9fe7 Remove GPU_SHADER guard as it won't get included for shader anymore
3017a7d6b6 Use references for swizzle (GCC compatible) and use single line.
df54449678 Add shared keyword
9f191c31f5 Add compute shader functions
Compare 46 commits »
Clément Foucault pushed to glsl-cpp-stubs at fclem/blender 2024-09-26 16:43:52 +02:00
518928bc16 Add shader shared
db51cc9562 Remove GPU_SHADER guard as it won't get included for shader anymore
Compare 2 commits »
Clément Foucault commented on pull request blender/blender#127982 2024-09-26 16:33:21 +02:00
WIP: GPU: GLSL-C++ compilation stubs

So, my point is that this will likely require different workarounds for each IDE to get it working, and that should be taken into account for weighting in pros/cons.

I did have to change my…

Clément Foucault pushed to glsl-cpp-stubs at fclem/blender 2024-09-26 16:26:01 +02:00
3cbc0053ea Use references for swizzle (GCC compatible) and use single line.
f87d9f5469 Add shared keyword
Compare 2 commits »
Clément Foucault commented on pull request blender/blender#128076 2024-09-26 16:06:38 +02:00
GPU: Change GLSL include directive
Clément Foucault pushed to glsl-include at fclem/blender 2024-09-26 16:06:17 +02:00
271c76024c Add pragma once to all glsl libs
Clément Foucault pushed to glsl-include at fclem/blender 2024-09-26 15:38:31 +02:00
fc5c1cd10e Avoid processing gpu_glsl_cpp_stubs as a GLSL source. Bypass include.
Clément Foucault pushed to glsl-include at fclem/blender 2024-09-26 15:31:57 +02:00
394302478a Fix dependency hell
a2950e0cab Cleanup datatoc changes
Compare 2 commits »
Clément Foucault commented on pull request blender/blender#128076 2024-09-26 13:23:11 +02:00
GPU: Change GLSL include directive

Yes, I will make it a std::vector<std::pair<long, char>> so that the replaced char is explicit (can be used for other things later).

Clément Foucault commented on pull request blender/blender#128076 2024-09-26 13:21:53 +02:00
GPU: Change GLSL include directive

Long term I think it would work better to duplicate datatoc into a GLSL pre-processing tool, this can then depend on C++ regex library so operating on text isn't so fragile.

That would be…

Clément Foucault opened issue blender/blender#128172 2024-09-26 12:15:57 +02:00
GPU: Simplify Metal source processing
Clément Foucault commented on pull request blender/blender#128163 2024-09-26 10:24:38 +02:00
Fix #128113: Incorrect display of facing overlay on transparent textures in solid mode

@Alaska please create another patch for overlay next.

Clément Foucault commented on pull request blender/blender#128076 2024-09-25 21:17:54 +02:00
GPU: Change GLSL include directive

@ideasman42 tagging you for the changes to datatoc.