blender/intern/cycles/util
Leszek Godlewski 07d3a3962a Fix Cycles build in VS2022, use explicit two's complement in find_first_set()
Compiling Cycles in Visual Studio 2022 yields the error:
C4146: unary minus operator applied to unsigned type, result still unsigned

Replacing it with explicit two's complement achieves the same result as signed
negation but avoids the error.

Differential Revision: https://developer.blender.org/D16616
2022-12-07 18:34:57 +01:00
..
algorithm.h
aligned_malloc.cpp
aligned_malloc.h
args.h
array.h
atomic.h Cycles: Add support for rendering on Intel GPUs using oneAPI 2022-06-29 12:58:04 +02:00
boundbox.h
CMakeLists.txt Cycles: Remove OpenGL header 2022-12-02 17:19:00 +01:00
color.h Refactor: replace Cycles sse/avx types by vectorized float4/int4/float8/int8 2022-11-08 12:28:40 +01:00
debug.cpp Cleanup: minor changes to DebugFlags 2022-08-11 17:03:10 +02:00
debug.h Cleanup: minor changes to DebugFlags 2022-08-11 17:03:10 +02:00
defines.h Cycles: Add basic support for using OSL with OptiX 2022-11-09 15:30:21 +01:00
deque.h
disjoint_set.h
foreach.h
function.h
guarded_allocator.cpp
guarded_allocator.h
guiding.h Cycles: add Path Guiding on CPU through Intel OpenPGL 2022-09-27 15:56:32 +02:00
half.h Refactor: replace Cycles sse/avx types by vectorized float4/int4/float8/int8 2022-11-08 12:28:40 +01:00
hash.h Refactor: replace Cycles sse/avx types by vectorized float4/int4/float8/int8 2022-11-08 12:28:40 +01:00
ies.cpp
ies.h
image.h Cycles: load 8 bit image textures as half float for some color spaces 2022-06-02 18:04:38 +02:00
image_impl.h
list.h
log.cpp
log.h Cleanup: add verbose logging category names instead of numbers 2022-06-17 14:08:14 +02:00
map.h
math.h Fix Cycles build in VS2022, use explicit two's complement in find_first_set() 2022-12-07 18:34:57 +01:00
math_cdf.cpp
math_cdf.h
math_fast.h Fix Cycles SSE4 define for fast math rint function. 2022-12-06 19:06:43 +01:00
math_float2.h Refactor: replace Cycles sse/avx types by vectorized float4/int4/float8/int8 2022-11-08 12:28:40 +01:00
math_float3.h Refactor: replace Cycles sse/avx types by vectorized float4/int4/float8/int8 2022-11-08 12:28:40 +01:00
math_float4.h Refactor: replace Cycles sse/avx types by vectorized float4/int4/float8/int8 2022-11-08 12:28:40 +01:00
math_float8.h Refactor: replace Cycles sse/avx types by vectorized float4/int4/float8/int8 2022-11-08 12:28:40 +01:00
math_int2.h Refactor: replace Cycles sse/avx types by vectorized float4/int4/float8/int8 2022-11-08 12:28:40 +01:00
math_int3.h Refactor: replace Cycles sse/avx types by vectorized float4/int4/float8/int8 2022-11-08 12:28:40 +01:00
math_int4.h Refactor: replace Cycles sse/avx types by vectorized float4/int4/float8/int8 2022-11-08 12:28:40 +01:00
math_int8.h Refactor: replace Cycles sse/avx types by vectorized float4/int4/float8/int8 2022-11-08 12:28:40 +01:00
math_intersect.h Cycles: store axis and length of an area light instead of their product 2022-12-02 15:23:09 +01:00
math_matrix.h Cleanup: use make_float4(f) zero_float4() to simplify code 2022-03-23 20:06:12 +01:00
md5.cpp Cycles: Remove use of sprintf() in MD5 code 2022-11-03 15:10:37 +01:00
md5.h
murmurhash.cpp
murmurhash.h
openimagedenoise.h
openvdb.h
optimization.h
param.h
path.cpp Cycles: Cache only up to 5 kernels of each type on Metal 2022-11-11 18:10:29 +00:00
path.h Cycles: Cache only up to 5 kernels of each type on Metal 2022-11-11 18:10:29 +00:00
profiling.cpp
profiling.h
progress.h Cycles: take into account time limit for progress bar 2022-08-11 19:37:18 +02:00
projection.h
queue.h
rect.h
semaphore.h
set.h
simd.cpp
simd.h Cleanup: clang-format 2022-04-13 13:45:42 +10:00
stack_allocator.h
static_assert.h
stats.h
string.cpp Cycles: Apple Silicon optimization to specialize intersection kernels 2022-07-15 13:40:04 +02:00
string.h Cycles: Apple Silicon optimization to specialize intersection kernels 2022-07-15 13:40:04 +02:00
system.cpp Cleanup: simplify CPU instruction checking 2022-08-09 16:59:05 +02:00
system.h Cleanup: simplify CPU instruction checking 2022-08-09 16:59:05 +02:00
task.cpp Cleanup: add verbose logging category names instead of numbers 2022-06-17 14:08:14 +02:00
task.h
tbb.h Fix T97498, T97651: crash in Cycles with TBB 2021 after recent changes 2022-04-28 00:24:13 +02:00
texture.h Cycles: Add half precision float support for volumes with NanoVDB 2022-05-23 19:08:01 +02:00
thread.cpp
thread.h
time.cpp Cycles: unify math functions names 2022-06-23 15:02:53 +02:00
time.h
transform.cpp Refactor: replace Cycles sse/avx types by vectorized float4/int4/float8/int8 2022-11-08 12:28:40 +01:00
transform.h Cycles: Add basic support for using OSL with OptiX 2022-11-09 15:30:21 +01:00
transform_avx2.cpp Cycles: make transform inverse match Embree exactly 2022-08-09 16:59:05 +02:00
transform_inverse.h Refactor: replace Cycles sse/avx types by vectorized float4/int4/float8/int8 2022-11-08 12:28:40 +01:00
transform_sse41.cpp Cycles: make transform inverse match Embree exactly 2022-08-09 16:59:05 +02:00
types.h Refactor: replace Cycles sse/avx types by vectorized float4/int4/float8/int8 2022-11-08 12:28:40 +01:00
types_float2.h Cleanup: make vector types make/print functions consistent between CPU and GPU 2022-08-09 16:07:23 +02:00
types_float2_impl.h Cleanup: make vector types make/print functions consistent between CPU and GPU 2022-08-09 16:07:23 +02:00
types_float3.h Cycles: use packed float3 back for oneAPI 2022-10-26 10:53:23 +02:00
types_float3_impl.h Cleanup: make vector types make/print functions consistent between CPU and GPU 2022-08-09 16:07:23 +02:00
types_float4.h Cleanup: make vector types make/print functions consistent between CPU and GPU 2022-08-09 16:07:23 +02:00
types_float4_impl.h Cleanup: make vector types make/print functions consistent between CPU and GPU 2022-08-09 16:07:23 +02:00
types_float8.h Refactor: replace Cycles sse/avx types by vectorized float4/int4/float8/int8 2022-11-08 12:28:40 +01:00
types_float8_impl.h Refactor: replace Cycles sse/avx types by vectorized float4/int4/float8/int8 2022-11-08 12:28:40 +01:00
types_int2.h Cleanup: simplifications and consistency for vector types 2022-07-28 21:27:13 +02:00
types_int2_impl.h Cleanup: simplifications and consistency for vector types 2022-07-28 21:27:13 +02:00
types_int3.h Cleanup: make vector types make/print functions consistent between CPU and GPU 2022-08-09 16:07:23 +02:00
types_int3_impl.h Cleanup: make vector types make/print functions consistent between CPU and GPU 2022-08-09 16:07:23 +02:00
types_int4.h Cleanup: make vector types make/print functions consistent between CPU and GPU 2022-08-09 16:07:23 +02:00
types_int4_impl.h Cleanup: make vector types make/print functions consistent between CPU and GPU 2022-08-09 16:07:23 +02:00
types_int8.h Refactor: replace Cycles sse/avx types by vectorized float4/int4/float8/int8 2022-11-08 12:28:40 +01:00
types_int8_impl.h Refactor: replace Cycles sse/avx types by vectorized float4/int4/float8/int8 2022-11-08 12:28:40 +01:00
types_spectrum.h Cycles: add new Spectrum and PackedSpectrum types 2022-08-09 16:49:34 +02:00
types_uchar2.h Cleanup: simplifications and consistency for vector types 2022-07-28 21:27:13 +02:00
types_uchar2_impl.h Cleanup: simplifications and consistency for vector types 2022-07-28 21:27:13 +02:00
types_uchar3.h Cleanup: simplifications and consistency for vector types 2022-07-28 21:27:13 +02:00
types_uchar3_impl.h Cleanup: simplifications and consistency for vector types 2022-07-28 21:27:13 +02:00
types_uchar4.h Cleanup: simplifications and consistency for vector types 2022-07-28 21:27:13 +02:00
types_uchar4_impl.h Cleanup: simplifications and consistency for vector types 2022-07-28 21:27:13 +02:00
types_uint2.h Cleanup: simplifications and consistency for vector types 2022-07-28 21:27:13 +02:00
types_uint2_impl.h Cleanup: simplifications and consistency for vector types 2022-07-28 21:27:13 +02:00
types_uint3.h Cleanup: simplifications and consistency for vector types 2022-07-28 21:27:13 +02:00
types_uint3_impl.h Cleanup: simplifications and consistency for vector types 2022-07-28 21:27:13 +02:00
types_uint4.h Cleanup: simplifications and consistency for vector types 2022-07-28 21:27:13 +02:00
types_uint4_impl.h Cleanup: simplifications and consistency for vector types 2022-07-28 21:27:13 +02:00
types_ushort4.h Cleanup: simplifications and consistency for vector types 2022-07-28 21:27:13 +02:00
unique_ptr.h
vector.h Cleanup: simplify CPU instruction checking 2022-08-09 16:59:05 +02:00
version.h Cycles: sync changes from standalone repository 2022-09-18 17:34:23 +02:00
windows.cpp
windows.h
xml.h