diff options
author | Marek Olšák <[email protected]> | 2018-04-08 13:13:08 -0400 |
---|---|---|
committer | Marek Olšák <[email protected]> | 2018-04-12 19:31:30 -0400 |
commit | 43d66c8c2d4d3d4dee1309856b6ce6c5393682e5 (patch) | |
tree | 1d2ffdca4a8cf765e8db3c71e491df6611c45556 /src/amd/vulkan | |
parent | 57f4268da49ce6969e597fe3441d6a9cd8bac562 (diff) |
mesa: include mtypes.h less
- remove mtypes.h from most header files
- add main/menums.h for often used definitions
- remove main/core.h
v2: fix radv build
Reviewed-by: Brian Paul <[email protected]>
Diffstat (limited to 'src/amd/vulkan')
-rw-r--r-- | src/amd/vulkan/radv_pipeline.c | 1 | ||||
-rw-r--r-- | src/amd/vulkan/radv_private.h | 1 | ||||
-rw-r--r-- | src/amd/vulkan/radv_radeon_winsys.h | 1 | ||||
-rw-r--r-- | src/amd/vulkan/winsys/amdgpu/radv_amdgpu_bo.c | 2 | ||||
-rw-r--r-- | src/amd/vulkan/winsys/amdgpu/radv_amdgpu_cs.c | 2 |
5 files changed, 7 insertions, 0 deletions
diff --git a/src/amd/vulkan/radv_pipeline.c b/src/amd/vulkan/radv_pipeline.c index fce3201c198..88fccb2b2ea 100644 --- a/src/amd/vulkan/radv_pipeline.c +++ b/src/amd/vulkan/radv_pipeline.c @@ -48,6 +48,7 @@ #include "util/debug.h" #include "ac_exp_param.h" #include "ac_shader_util.h" +#include "main/menums.h" struct radv_blend_state { uint32_t blend_enable_4bit; diff --git a/src/amd/vulkan/radv_private.h b/src/amd/vulkan/radv_private.h index fb94c50cb00..df8fe891dcf 100644 --- a/src/amd/vulkan/radv_private.h +++ b/src/amd/vulkan/radv_private.h @@ -43,6 +43,7 @@ #define VG(x) #endif +#include "c11/threads.h" #include <amdgpu.h> #include "compiler/shader_enums.h" #include "util/macros.h" diff --git a/src/amd/vulkan/radv_radeon_winsys.h b/src/amd/vulkan/radv_radeon_winsys.h index 270b3bceaba..ba16bf332ab 100644 --- a/src/amd/vulkan/radv_radeon_winsys.h +++ b/src/amd/vulkan/radv_radeon_winsys.h @@ -29,6 +29,7 @@ #ifndef RADV_RADEON_WINSYS_H #define RADV_RADEON_WINSYS_H +#include <stdio.h> #include <stdint.h> #include <stdbool.h> #include <stdlib.h> diff --git a/src/amd/vulkan/winsys/amdgpu/radv_amdgpu_bo.c b/src/amd/vulkan/winsys/amdgpu/radv_amdgpu_bo.c index 9e83390568a..32f263adddc 100644 --- a/src/amd/vulkan/winsys/amdgpu/radv_amdgpu_bo.c +++ b/src/amd/vulkan/winsys/amdgpu/radv_amdgpu_bo.c @@ -33,6 +33,8 @@ #include <amdgpu.h> #include <amdgpu_drm.h> #include <inttypes.h> +#include <pthread.h> +#include <unistd.h> #include "util/u_atomic.h" diff --git a/src/amd/vulkan/winsys/amdgpu/radv_amdgpu_cs.c b/src/amd/vulkan/winsys/amdgpu/radv_amdgpu_cs.c index cd7ab384e73..9921d38ab0f 100644 --- a/src/amd/vulkan/winsys/amdgpu/radv_amdgpu_cs.c +++ b/src/amd/vulkan/winsys/amdgpu/radv_amdgpu_cs.c @@ -26,6 +26,8 @@ #include <amdgpu.h> #include <amdgpu_drm.h> #include <assert.h> +#include <pthread.h> +#include <errno.h> #include "ac_debug.h" #include "radv_radeon_winsys.h" |