• Joined on 2024-01-26
pbo commented on pull request blender/blender#117534 2024-01-28 03:40:01 +01:00
Fix compile time with MSVC (Release)

@brecht The fail remaining in lint job is not a file I modified. Are we supposed to fix format too as part of this PR?

pbo commented on pull request blender/blender#117534 2024-01-27 19:06:39 +01:00
Fix compile time with MSVC (Release)

Another CI pass, and we should be good to go. In CI job, blender compile on windows-x64 went from 15min to 9min.

pbo commented on pull request blender/blender#117534 2024-01-27 19:04:19 +01:00
Fix compile time with MSVC (Release)

Fixed formatting (lint fail).

pbo pushed to fix_compile_time at pbo/blender 2024-01-27 19:03:41 +01:00
481ccf3cfd Fix: MSVC compile time for gpu/intern/gpu_shader_create_info.cc
4b05a50613 Fix: MSVC compile time for intern/cycles/kernel/device/cpu/kernel.cpp
Compare 2 commits »
pbo commented on pull request blender/blender#117534 2024-01-27 18:34:24 +01:00
Fix compile time with MSVC (Release)

(sorry, I think it conflicted with the build command you required)

pbo commented on pull request blender/blender#117534 2024-01-27 18:33:46 +01:00
Fix compile time with MSVC (Release)

Rebased on top of main.

pbo pushed to fix_compile_time at pbo/blender 2024-01-27 18:33:20 +01:00
bf2e18784a Fix: MSVC compile time for gpu/intern/gpu_shader_create_info.cc
24d8f69a96 Fix: MSVC compile time for intern/cycles/kernel/device/cpu/kernel.cpp
e8b7731d7c UI: Use icon for curves surface UV map property
359bfbcd78 Cleanup: Use enum class and forward declaration for paint mode
fb0d6198c0 Cleanup: Move remaining asset editors code to C++ namespace
Compare 48 commits »
pbo commented on pull request blender/blender#117534 2024-01-27 18:32:06 +01:00
Fix compile time with MSVC (Release)

Switched kernel inline to version suggested in comment.

pbo commented on pull request blender/blender#117534 2024-01-27 18:31:27 +01:00
Fix compile time with MSVC (Release)

Implemented your version,

pbo pushed to fix_compile_time at pbo/blender 2024-01-27 18:28:41 +01:00
502db13495 Fix: MSVC compile time for gpu/intern/gpu_shader_create_info.cc
87e108bd36 Fix: MSVC compile time for intern/cycles/kernel/device/cpu/kernel.cpp
Compare 2 commits »
pbo commented on pull request blender/blender#117534 2024-01-26 11:58:21 +01:00
Fix compile time with MSVC (Release)

From: https://learn.microsoft.com/en-us/cpp/preprocessor/optimize?view=msvc-170

When you use the on parameter, it resets the optimizations to the ones that you specified using the /O compiler…

pbo commented on pull request blender/blender#117534 2024-01-26 11:52:30 +01:00
Fix compile time with MSVC (Release)

Added "pragma optimize on" after function having a problem.

pbo commented on pull request blender/blender#117534 2024-01-26 11:51:58 +01:00
Fix compile time with MSVC (Release)

You're right, I was misleaded by MSDN documentation mentioning "function-by-function basis".

pbo pushed to fix_compile_time at pbo/blender 2024-01-26 11:51:00 +01:00
2384598481 Fix: MSVC compile time for gpu/intern/gpu_shader_create_info.cc
pbo commented on pull request blender/blender#117534 2024-01-26 10:17:55 +01:00
Fix compile time with MSVC (Release)

@LazyDodo This will probably interests you, since it drastically speeds up (some) incremental rebuilds when using MSVC.

pbo created pull request blender/blender#117534 2024-01-26 10:16:05 +01:00
Fix compile time with MSVC (Release)
pbo pushed to fix_compile_time at pbo/blender 2024-01-26 10:14:06 +01:00
4d933888cd Fix: MSVC compile time for gpu/intern/gpu_shader_create_info.cc
52fbd5ce37 Fix: MSVC compile time for intern/cycles/kernel/device/cpu/kernel.cpp
Compare 2 commits »
pbo created branch fix_compile_time in pbo/blender 2024-01-26 10:14:06 +01:00
pbo created repository pbo/blender 2024-01-26 09:49:05 +01:00