Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[xsrc/trunk]: xsrc/external/mit/MesaLib7/dist/src/mesa/drivers/dri/r300 Avoid...
details: https://anonhg.NetBSD.org/xsrc/rev/d8642a9119e6
branches: trunk
changeset: 9980:d8642a9119e6
user: kamil <kamil%NetBSD.org@localhost>
date: Wed Jul 25 18:52:53 2018 +0000
description:
Avoid Undefined Behavior in r300_render.h
Specify R300_FALLBACK_INVALID_BUFFERS without altering signed bit.
Requested by GCC when building with Undefined Behavior Sanitizer.
diffstat:
external/mit/MesaLib7/dist/src/mesa/drivers/dri/r300/r300_render.h | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diffs (12 lines):
diff -r e1436fb34dfa -r d8642a9119e6 external/mit/MesaLib7/dist/src/mesa/drivers/dri/r300/r300_render.h
--- a/external/mit/MesaLib7/dist/src/mesa/drivers/dri/r300/r300_render.h Sun Jul 22 14:54:32 2018 +0000
+++ b/external/mit/MesaLib7/dist/src/mesa/drivers/dri/r300/r300_render.h Wed Jul 25 18:52:53 2018 +0000
@@ -43,7 +43,7 @@
#define R300_FALLBACK_FRAGMENT_PROGRAM (1 << 23)
#define R300_FALLBACK_RADEON_COMMON (1 << 29)
#define R300_FALLBACK_AOS_LIMIT (1 << 30)
-#define R300_FALLBACK_INVALID_BUFFERS (1 << 31)
+#define R300_FALLBACK_INVALID_BUFFERS (1U << 31)
#define R300_RASTER_FALLBACK_MASK 0xffff0000
#define MASK_XYZW (R300_WRITE_ENA_X | R300_WRITE_ENA_Y | R300_WRITE_ENA_Z | R300_WRITE_ENA_W)
Home |
Main Index |
Thread Index |
Old Index