Fix build on main branch
authorRicardo Garcia <rgarcia@igalia.com>
Thu, 13 Oct 2022 15:28:27 +0000 (17:28 +0200)
committerMatthew Netsch <quic_mnetsch@quicinc.com>
Fri, 14 Oct 2022 16:13:22 +0000 (16:13 +0000)
commitcb1ca3c1be655cf253c98eef27f5ee396e69f806
treeb53baf534148748387c98a31dc4c87e1776f0912
parent95f29fabff5af8aa8dbd3af4a7b3bc6c1da72bad
Fix build on main branch

This commit fixes several build errors and warnings on the main branch,
as reported by clang/GCC on a Ubuntu 20.04 system. The warnings were
also being converted to errors in check_build_sanity, preventing the
checks from completing successfully.

* VulkanSC did not compile with DEQP_SUPPORT_DRM.
* Some GL callbacks used the wrong prototype.
* Some functions had write-only variables that were not being used.
* One class was not using the "override" suffix for virtual methods
  consistently.

VK-GL-CTS issue: 4032
Components: OpenGL, Vulkan, Framework

Change-Id: I9c3e1af13713f1f6ed10cde1c475f7a1c7e6581a
15 files changed:
external/openglcts/modules/common/glcKHRDebugTests.cpp
external/openglcts/modules/common/glcKHRDebugTests.hpp
external/openglcts/modules/gl/gl3cCullDistanceTests.cpp
external/vulkancts/modules/vulkan/api/vktApiDeviceDrmPropertiesTests.cpp
external/vulkancts/modules/vulkan/api/vktApiDeviceInitializationTests.cpp
external/vulkancts/modules/vulkan/image/vktImageSubresourceLayoutTests.cpp
external/vulkancts/modules/vulkan/wsi/vktWsiAcquireDrmDisplayTests.cpp
framework/common/tcuLibDrm.cpp
framework/common/tcuLibDrm.hpp
framework/opengl/gluShaderLibrary.cpp
framework/opengl/wrapper/glwTypes.inl
framework/platform/lnx/tcuLnxVulkanPlatform.cpp
modules/gles2/functional/es2fPolygonOffsetTests.cpp
modules/gles3/functional/es3fPolygonOffsetTests.cpp
modules/gles31/functional/es31fDebugTests.cpp