blob: 39e6a6390b7c41636f2b0c971a8a3c66c86713ff [file]
# Per-file per-warning suppressions.
# Every suppression should have a brief explanation of why it's needed.
# Note: make sure there is only one section per warning - later sections overwrite earlier ones.
[language-extension-token]
# For MSVC-specific extensions: __FUNCSIG__, __uuidof, IID_PPV_ARGS.
src:*src/dawn/native/Surface.cpp
src:*src/dawn/native/d3d/*
src:*src/dawn/native/d3d11/*
src:*src/dawn/native/d3d12/*
src:*src/dawn/tests/end2end/AdapterEnumerationTests.cpp
src:*src/dawn/tests/end2end/VideoViewsTests_win.cpp
src:*src/dawn/tests/white_box/SharedBufferMemoryTests_win.cpp
src:*src/dawn/tests/white_box/SharedTextureMemoryTests_win.cpp
src:*src/dawn/tests/white_box/SharedTextureMemoryTests_win_d3d12.cpp
src:*src/tint/lang/hlsl/validate/validate.cc
src:*src/tint/utils/rtti/castable.h
[sign-conversion]
# The OpenGL API forces an excessive amount of sign conversion that is not useful to fix.
src:*src/dawn/native/opengl/*
src:*src/dawn/tests/*
[zero-as-null-pointer-constant]
# Used by EGL macros.
src:*src/dawn/native/opengl/*EGL*
[cast-function-type-strict]
# Needed to cast procs in GL.
src:*gen/src/dawn/native/opengl/OpenGLFunctionsBase_autogen.cpp
src:*src/dawn/native/opengl/ContextEGL.cpp
src:*src/dawn/native/opengl/EGLFunctions.cpp
src:*src/dawn/native/opengl/OpenGLVersion.cpp
# Needed to cast procs in Vulkan.
src:*src/dawn/native/vulkan/VulkanFunctions.cpp
# Needed to cast procs in webgpu.h.
src:*gen/src/dawn/native/ProcTable.cpp
src:*src/dawn/tests/end2end/EventTests.cpp
src:*src/dawn/tests/unittests/GetProcAddressTests.cpp
# For some unknown reason this one filepath can get a backslash on Windows.
src:*gen/src{/,\\}dawn/wire/client/ApiProcs_autogen.cpp.inc
# Needed to cast procs in Windows.
src:*src/tint/utils/command/command_windows.cc
src:*src/tint/lang/hlsl/validate/validate.cc
[old-style-cast]
# For C-Style casts used by RenderDoc macros
src:*src/dawn/native/vulkan/TextureVk.cpp
[double-promotion]
# Performance warning for float-to-double promotion, common in tests.
src:*src/dawn/tests/*
# Also happens inside GTest macros like EXPECT_EQ.
# Path differs currently in Dawn vs Chromium.
src:*third_party/googletest/{,src/}googletest/include/gtest/gtest.h
[sign-compare]
# Happens inside EXPECT_EQ macros and similar in our tests. Should be fixed, but not critical.
# Path differs currently in Dawn vs Chromium.
src:*third_party/googletest/{,src/}googletest/include/gtest/gtest.h