aboutsummaryrefslogtreecommitdiffstats
path: root/meta-amd-bsp/recipes-graphics/vulkan/vulkan-loader-layers/0004-layer_validation_tests-include-math.h.patch
blob: bd9713ea819c999786cf46b275ee31ac771416fc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
From a5beebd78eb232596f2b6b4de1ee417b629ada47 Mon Sep 17 00:00:00 2001
From: Awais Belal <awais_belal@mentor.com>
Date: Tue, 4 Sep 2018 15:33:12 +0500
Subject: [PATCH 4/5] layer_validation_tests: include math.h

Without the inclusion several math functions
fail as expected.

Signed-off-by: Awais Belal <awais_belal@mentor.com>
---
 tests/layer_validation_tests.cpp | 1 +
 1 file changed, 1 insertion(+)

diff --git a/tests/layer_validation_tests.cpp b/tests/layer_validation_tests.cpp
index 132578f85..26b0671fa 100644
--- a/tests/layer_validation_tests.cpp
+++ b/tests/layer_validation_tests.cpp
@@ -45,6 +45,7 @@
 #include "vk_typemap_helper.h"
 
 #include <limits.h>
+#include <math.h>
 
 #include <algorithm>
 #include <functional>
-- 
2.11.1