0
0
forked from blender/blender
blender/intern/cycles/scene
Jesse Yurkovich fc31352b70 Build: Ambiguous call to isfinite for MSVC 17.11
Overload resolution must have changed and is causing issues for one
particular code path attempting to use `isfinite(ccl::uchar)`.
Compiler output attached.

It turns out that the code in question can be simplified to just remove
the ambiguity because only the float codepath wants to check for finite
values.

----
Reduced repro: https://godbolt.org/z/YWz3Yc3x8

Pull Request: blender/blender#125348
2024-09-11 14:28:27 +02:00
..
alembic_read.cpp Merge remote-tracking branch 'origin/blender-v3.6-release' into main 2023-06-15 03:41:07 +02:00
alembic_read.h Merge remote-tracking branch 'origin/blender-v3.6-release' into main 2023-06-15 03:41:07 +02:00
alembic.cpp Merge remote-tracking branch 'origin/blender-v3.6-release' into main 2023-06-15 03:41:07 +02:00
alembic.h Clang Format: bump to version 17 2024-01-03 13:38:14 +01:00
attribute.cpp Cleanup: use braces for sources in intern/ 2023-09-17 09:05:40 +10:00
attribute.h License headers: use SPDX-FileCopyrightText in intern/cycles 2023-06-14 16:53:23 +10:00
background.cpp Cleanup: use braces for sources in intern/ 2023-09-17 09:05:40 +10:00
background.h License headers: use SPDX-FileCopyrightText in intern/cycles 2023-06-14 16:53:23 +10:00
bake.cpp Cleanup: use braces for sources in intern/ 2023-09-17 09:05:40 +10:00
bake.h License headers: use SPDX-FileCopyrightText in intern/cycles 2023-06-14 16:53:23 +10:00
camera.cpp Cleanup: Correct Cycles code comment 2024-06-19 10:42:13 +02:00
camera.h License headers: use SPDX-FileCopyrightText in intern/cycles 2023-06-14 16:53:23 +10:00
CMakeLists.txt Build: Improve OSL library dependency handling in Cycles 2024-03-29 15:24:30 +01:00
colorspace.cpp Color management: Further relax threshold for sRGB detection 2023-08-07 15:53:03 +02:00
colorspace.h License headers: use SPDX-FileCopyrightText in intern/cycles 2023-06-14 16:53:23 +10:00
constant_fold.cpp Fix #122739: mix causes unnecessary evaluation when ints are used 2024-06-12 10:37:39 +02:00
constant_fold.h Fix #122739: mix causes unnecessary evaluation when ints are used 2024-06-12 10:37:39 +02:00
curves.cpp Fix Cycles division by zero with zero length curves 2023-12-11 14:46:19 +01:00
curves.h License headers: use SPDX-FileCopyrightText in intern/cycles 2023-06-14 16:53:23 +10:00
devicescene.cpp License headers: use SPDX-FileCopyrightText in intern/cycles 2023-06-14 16:53:23 +10:00
devicescene.h License headers: use SPDX-FileCopyrightText in intern/cycles 2023-06-14 16:53:23 +10:00
film.cpp Cleanup: use braces for sources in intern/ 2023-09-17 09:05:40 +10:00
film.h License headers: use SPDX-FileCopyrightText in intern/cycles 2023-06-14 16:53:23 +10:00
geometry_attributes.cpp Clang Format: bump to version 17 2024-01-03 13:38:14 +01:00
geometry_bvh.cpp Cleanup: use braces for sources in intern/ 2023-09-17 09:05:40 +10:00
geometry_mesh.cpp Cleanup: use braces for sources in intern/ 2023-09-17 09:05:40 +10:00
geometry.cpp Cleanup: Compiler warning when building without OSL 2024-04-29 15:22:21 +02:00
geometry.h License headers: use SPDX-FileCopyrightText in intern/cycles 2023-06-14 16:53:23 +10:00
hair.cpp Cleanup: use braces for sources in intern/ 2023-09-17 09:05:40 +10:00
hair.h License headers: use SPDX-FileCopyrightText in intern/cycles 2023-06-14 16:53:23 +10:00
image_oiio.cpp License headers: use SPDX-FileCopyrightText in intern/cycles 2023-06-14 16:53:23 +10:00
image_oiio.h License headers: use SPDX-FileCopyrightText in intern/cycles 2023-06-14 16:53:23 +10:00
image_sky.cpp License headers: use SPDX-FileCopyrightText in intern/cycles 2023-06-14 16:53:23 +10:00
image_sky.h License headers: use SPDX-FileCopyrightText in intern/cycles 2023-06-14 16:53:23 +10:00
image_vdb.cpp Cycles: update to work with OpenVDB 11 2023-12-10 19:36:40 +01:00
image_vdb.h License headers: use SPDX-FileCopyrightText in intern/cycles 2023-06-14 16:53:23 +10:00
image.cpp Build: Ambiguous call to isfinite for MSVC 17.11 2024-09-11 14:28:27 +02:00
image.h License headers: use SPDX-FileCopyrightText in intern/cycles 2023-06-14 16:53:23 +10:00
integrator.cpp Cycles: Fix directional artifacts in blue noise sampling pattern 2024-06-15 22:05:18 +02:00
integrator.h Cycles: Set quality parameter for OIDN 2024-02-06 20:58:17 +01:00
light_tree.cpp Fix #125168: Cycles spot light theata_e can flip with a wide spread 2024-07-25 15:50:48 +02:00
light_tree.h License headers: use SPDX-FileCopyrightText in intern/cycles 2023-06-14 16:53:23 +10:00
light.cpp Fix #74816: crash in Cycles light distribution due to integer overflow 2024-06-13 15:57:11 +02:00
light.h Lights: Option to use old point light falloff 2024-02-07 19:07:11 +01:00
mesh_displace.cpp Cleanup: use braces for sources in intern/ 2023-09-17 09:05:40 +10:00
mesh_subdivision.cpp Cleanup: locate break statements inside the case body 2023-09-23 21:17:50 +10:00
mesh.cpp Cleanup: use braces for sources in intern/ 2023-09-17 09:05:40 +10:00
mesh.h License headers: use SPDX-FileCopyrightText in intern/cycles 2023-06-14 16:53:23 +10:00
object.cpp Fix: Cycles assert when having volumes and objects with displacement 2024-05-31 15:53:12 +02:00
object.h License headers: use SPDX-FileCopyrightText in intern/cycles 2023-06-14 16:53:23 +10:00
osl.cpp Cleanup: spacing around C-style comment blocks 2024-03-09 23:40:57 +11:00
osl.h License headers: use SPDX-FileCopyrightText in intern/cycles 2023-06-14 16:53:23 +10:00
particles.cpp Cleanup: use braces for sources in intern/ 2023-09-17 09:05:40 +10:00
particles.h License headers: use SPDX-FileCopyrightText in intern/cycles 2023-06-14 16:53:23 +10:00
pass.cpp Clang Format: bump to version 17 2024-01-03 13:38:14 +01:00
pass.h Cleanup: fewer iostreams related includes in Cycles 2023-08-15 13:55:38 +02:00
pointcloud.cpp Cleanup: use braces for sources in intern/ 2023-09-17 09:05:40 +10:00
pointcloud.h Fix #103918: Cycles point cloud motion blur artifacts on the GPU 2023-07-07 20:15:36 +02:00
procedural.cpp License headers: use SPDX-FileCopyrightText in intern/cycles 2023-06-14 16:53:23 +10:00
procedural.h License headers: use SPDX-FileCopyrightText in intern/cycles 2023-06-14 16:53:23 +10:00
scene.cpp Fix #123763: Cycles Metal renders with MNEE stuck on some Macs 2024-06-26 14:15:01 +02:00
scene.h Cleanup: fewer iostreams related includes in Cycles 2023-08-15 13:55:38 +02:00
shader_graph.cpp Fix #123201: Cycles OSL bump mapping broken 2024-06-14 16:54:44 +02:00
shader_graph.h Fix #122739: mix causes unnecessary evaluation when ints are used 2024-06-12 10:37:39 +02:00
shader_nodes.cpp Fix #122739: mix causes unnecessary evaluation when ints are used 2024-06-12 10:37:39 +02:00
shader_nodes.h Cycles: Add thin film iridescence to Principled BSDF 2024-05-02 14:28:44 +02:00
shader.cpp Cycles: Add thin film iridescence to Principled BSDF 2024-05-02 14:28:44 +02:00
shader.h Cycles: Add thin film iridescence to Principled BSDF 2024-05-02 14:28:44 +02:00
shader.tables Cycles: Rework component layering in Principled BSDF 2023-08-10 23:53:37 +02:00
stats.cpp License headers: use SPDX-FileCopyrightText in intern/cycles 2023-06-14 16:53:23 +10:00
stats.h License headers: use SPDX-FileCopyrightText in intern/cycles 2023-06-14 16:53:23 +10:00
svm.cpp Refactor: Cycles: Replace fixed Tangent input with custom input 2024-04-26 15:25:14 +02:00
svm.h Refactor: Cycles: Replace fixed Tangent input with custom input 2024-04-26 15:25:14 +02:00
tables.cpp Cleanup: use braces for sources in intern/ 2023-09-17 09:05:40 +10:00
tables.h License headers: use SPDX-FileCopyrightText in intern/cycles 2023-06-14 16:53:23 +10:00
tabulated_sobol.cpp License headers: use SPDX-FileCopyrightText in intern/cycles 2023-06-14 16:53:23 +10:00
tabulated_sobol.h License headers: use SPDX-FileCopyrightText in intern/cycles 2023-06-14 16:53:23 +10:00
volume.cpp Cleanup: back-tick quote file extensions in code-comments 2024-05-04 15:06:46 +10:00
volume.h License headers: use SPDX-FileCopyrightText in intern/cycles 2023-06-14 16:53:23 +10:00