virtualx-engine/drivers/gles_common
lawnjelly e7d1735bff GLES - fix some sanitizer warnings
These are benign but worth fixing as it clears the log to find more important errors.

A common problem with the sanitizer is that enums are often used to represent bits (e.g. 1, 2, 4, 8 etc) but without specifying the enum type, the compiler is free to use unsigned or signed int. In this case it uses int, and when it performs bitwise operations on the int type, the sanitizer complains.

This is probably because a bitshift with negative signed value can give undefined behaviour - the sanitizer can't know ahead of time that you are using the enum for sensible bitflags.
2021-02-18 15:45:38 +00:00
..
batch_diagnose.inc Batching - more error checking options 2020-11-21 15:12:36 +00:00
rasterizer_array.h Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
rasterizer_asserts.h Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
rasterizer_canvas_batcher.h GLES - fix some sanitizer warnings 2021-02-18 15:45:38 +00:00
rasterizer_storage_common.h GLES - fix some sanitizer warnings 2021-02-18 15:45:38 +00:00
SCsub Unified GLES2 / GLES3 Batching 2020-10-16 10:34:47 +01:00