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

  • Joined on 2014-07-09
Clément Foucault created pull request blender/blender#128261 2024-09-27 16:18:54 +02:00
GPU: Add GLSL preprocessor
Clément Foucault created branch glsl-preprocess in fclem/blender 2024-09-27 16:17:25 +02:00
Clément Foucault pushed to glsl-preprocess at fclem/blender 2024-09-27 16:17:25 +02:00
0e91f81eeb Remove old datatoc option
34e5bb19ac GPU: Add GLSL preprocessor
e21b424eee Attributes: support setting the active attribute to "None"
6ed98c912b Anim: Handle legit slot assignment failure in versioning code
fff6e59dde Anim: when assigning Action, check its ID type and NLA tweak mode
Compare 10 commits »
Clément Foucault commented on pull request blender/blender#127995 2024-09-27 12:17:55 +02:00
Vulkan: Add support for VK_KHR_fragment_shader_barycentric

I am wondering if the injection of the geometry shader forward the gl_ViewportID and gl_LayerID. That might explain the shadow issue.

I believe the experiment 2 is correct.

Clément Foucault commented on pull request blender/blender#127995 2024-09-27 10:21:55 +02:00
Vulkan: Add support for VK_KHR_fragment_shader_barycentric

one way to check would be to make the wires much bigger. I believe this is a shadow issue.

Clément Foucault commented on pull request blender/blender#127995 2024-09-27 10:20:54 +02:00
Vulkan: Add support for VK_KHR_fragment_shader_barycentric

The difference is also noticeable on Metal where no geometry shader in injected. So I believe somethings changes with the Geometry shader injection.

Clément Foucault commented on pull request blender/blender#128076 2024-09-27 10:09:50 +02:00
GPU: Change GLSL include directive

I only took a quick look, but PreprocessGlsl takes a CompileOptions parameter where you can add callbacks to handle include directives (IncluderInterface).

Looks like it! Might be worth…

Clément Foucault pushed to glsl-cpp-stubs-2 at fclem/blender 2024-09-26 21:29:18 +02:00
cc5c7ce829 Add const correctness to image write functions
Clément Foucault pushed to create-info-cpp-macros at fclem/blender 2024-09-26 21:28:49 +02:00
6f6493ba3e Make eevee_shader_shared work with GLSL_CPP_STUBS
6e3c1b27c8 Add macros for each create info type and SHADER_LIBRARY_CREATE_INFO
Compare 2 commits »
Clément Foucault commented on pull request blender/blender#128076 2024-09-26 21:26:36 +02:00
GPU: Change GLSL include directive

@LazyDodo I do agree, but can't that be split to a follow up task as this will grow in complexity (have to deal with cmake and that might need your involvement)?

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

@LazyDodo Then where? Do we want a copy of datatoc right now for so little? I am fine doing it in a follow up task to not make this one grow in scope.

@pragma37 What do you mean by that? If…

Clément Foucault pushed to create-info-cpp-macros at fclem/blender 2024-09-26 19:28:54 +02:00
af3454742e Fix compilation
Clément Foucault pushed to create-info-cpp-macros at fclem/blender 2024-09-26 18:15:08 +02:00
2888380ffe Add all infos to the stub file
c7052aca58 Fix ambiguous namespace error
69027ddbd9 Unroll variadic additional_infos
360970121d Use namespaces for different interfaces
5554ffd998 Fix macros and make it compile
Compare 54 commits »
Clément Foucault closed pull request blender/blender#127982 2024-09-26 17:17:07 +02:00
WIP: GPU: GLSL-C++ compilation stubs
Clément Foucault commented on pull request blender/blender#127982 2024-09-26 17:17:04 +02:00
WIP: GPU: GLSL-C++ compilation stubs

Continuing on fclem/blender#4

Clément Foucault commented on pull request fclem/blender#4 2024-09-26 17:16:31 +02:00
GPU: GLSL-C++ compilation stubs

Continuation of blender/blender#127982

Pushed here to make sure to push as a whole commits and show dependencies.

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 pushed to glsl-cpp-stubs-2 at fclem/blender 2024-09-26 17:08:10 +02:00
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 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