Miguel Pozo pragma37
  • Joined on 2018-04-26
Miguel Pozo commented on pull request blender/blender#122232 2024-05-27 16:39:52 +02:00
GPU: Add GPU_shader_batch_create_from_infos

I guess it can technically fail just like malloc can fail. But it could also fail if the subprocess name is wrong, which shouldn't happen, but better be safe than sorry.

I've added an error…

Miguel Pozo commented on pull request blender/blender#122232 2024-05-27 16:36:07 +02:00
GPU: Add GPU_shader_batch_create_from_infos

It's the system library required for the shared memory Linux functions. https://refspecs.linuxfoundation.org/LSB_3.0.0/LSB-Core-generic/LSB-Core-generic/app-librt.html

Miguel Pozo commented on pull request blender/blender#122232 2024-05-27 16:31:38 +02:00
GPU: Add GPU_shader_batch_create_from_infos

Added a comment, but basically is_batch_compilation is true when the shader is being compiled as part of a GPU_shader_batch. What the backends have to do depends on the strategy they use for batch…

Miguel Pozo commented on pull request blender/blender#122232 2024-05-27 16:29:34 +02:00
GPU: Add GPU_shader_batch_create_from_infos

Solved (I think). See 11f70b8ff4.

Miguel Pozo pushed to pull-gpu-batch-compilation at pragma37/blender 2024-05-27 16:26:35 +02:00
e718662ee3 Document is_batch_compilation
30efe59382 Cleanup GLCompilerWorker
3cbc850235 Remove debug leftover
104ad7d71f Make the size of string null terminator explicit
a5e8b991a9 Initialize/store GLShaderCompiler in GLBackend
Compare 10 commits »
Miguel Pozo commented on issue blender/blender#120403 2024-05-24 20:15:52 +02:00
NPR Design

I don't think we will be able to have that granularity with the already existing BSDF nodes.

I was doubtful too, but I think it might still possible to expose these shading options in…

Miguel Pozo commented on pull request blender/blender#121925 2024-05-24 19:16:54 +02:00
WIP: GPU: Subprocess based parallel shader compilation

@blender-bot package

Miguel Pozo pushed to test-parallel-compilation-workers-2 at pragma37/blender 2024-05-24 19:15:31 +02:00
2e7fb43367 Cleanup: remove duplicated declaration of ShaderBinaryHeader
caa41b6386 Improve docstrings
Compare 2 commits »
Miguel Pozo pushed to pull-gpu-batch-compilation at pragma37/blender 2024-05-24 19:15:04 +02:00
6511a571c8 Cleanup: remove duplicated declaration of ShaderBinaryHeader
Miguel Pozo created pull request blender/blender#122232 2024-05-24 19:06:59 +02:00
GPU: Add GPU_shader_batch_create_from_infos
Miguel Pozo pushed to pull-gpu-batch-compilation at pragma37/blender 2024-05-24 18:18:52 +02:00
Miguel Pozo created branch parallel-compilation-workers-prs in pragma37/blender 2024-05-24 18:18:05 +02:00
Miguel Pozo pushed to parallel-compilation-workers-prs at pragma37/blender 2024-05-24 18:18:05 +02:00
Miguel Pozo created branch pull-gpu-batch-compilation in pragma37/blender 2024-05-24 18:07:26 +02:00
Miguel Pozo pushed to pull-gpu-batch-compilation at pragma37/blender 2024-05-24 18:07:26 +02:00
9b3e5dc9a1 EEVEE: Request all probe passes on the same sample
32685888dc Add GPU_material_batch_compile
7a9f53f980 EEVEE parallel static shader compilation
95b5f038a5 Add GPU_shader_batch_create_from_infos
Compare 4 commits »
Miguel Pozo pushed to test-parallel-compilation-workers-2 at pragma37/blender 2024-05-24 17:13:19 +02:00
09dab0fadc Potential fix for rare Wayland crashes
Miguel Pozo commented on pull request blender/blender#117913 2024-05-24 15:41:51 +02:00
Render: Merge EEVEE and Cycles motion blur settings

@frogstomp You can still achieve the same if you press play before navigation.

Miguel Pozo commented on pull request blender/blender#121925 2024-05-23 23:37:31 +02:00
WIP: GPU: Subprocess based parallel shader compilation

@Sergey I've looked a bit into it, but I couldn't find any solution I liked to handle crashes/hanged/closed processes. At the moment it just assumes that if a compilation takes more than 30s,…

Miguel Pozo commented on pull request blender/blender#121925 2024-05-23 19:59:19 +02:00
WIP: GPU: Subprocess based parallel shader compilation

@blender-bot build linux