From: Jason Ekstrand Date: Tue, 7 Jul 2015 00:18:25 +0000 (-0700) Subject: vk: Rename CPU_READ/WRITE_BIT to HOST_READ/WRITE_BIT X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=2b404e5d00a257b527db7cd830112960a10ad465;p=mesa.git vk: Rename CPU_READ/WRITE_BIT to HOST_READ/WRITE_BIT --- diff --git a/include/vulkan/vulkan.h b/include/vulkan/vulkan.h index f509f4178b2..2d9990f2fde 100644 --- a/include/vulkan/vulkan.h +++ b/include/vulkan/vulkan.h @@ -1039,7 +1039,7 @@ typedef enum { typedef VkFlags VkQueryControlFlags; typedef enum { - VK_MEMORY_OUTPUT_CPU_WRITE_BIT = 0x00000001, + VK_MEMORY_OUTPUT_HOST_WRITE_BIT = 0x00000001, VK_MEMORY_OUTPUT_SHADER_WRITE_BIT = 0x00000002, VK_MEMORY_OUTPUT_COLOR_ATTACHMENT_BIT = 0x00000004, VK_MEMORY_OUTPUT_DEPTH_STENCIL_ATTACHMENT_BIT = 0x00000008, @@ -1048,7 +1048,7 @@ typedef enum { typedef VkFlags VkMemoryOutputFlags; typedef enum { - VK_MEMORY_INPUT_CPU_READ_BIT = 0x00000001, + VK_MEMORY_INPUT_HOST_READ_BIT = 0x00000001, VK_MEMORY_INPUT_INDIRECT_COMMAND_BIT = 0x00000002, VK_MEMORY_INPUT_INDEX_FETCH_BIT = 0x00000004, VK_MEMORY_INPUT_VERTEX_ATTRIBUTE_FETCH_BIT = 0x00000008, diff --git a/src/vulkan/device.c b/src/vulkan/device.c index 35f3f31e67b..c833d24a997 100644 --- a/src/vulkan/device.c +++ b/src/vulkan/device.c @@ -3469,7 +3469,7 @@ void anv_CmdPipelineBarrier( for_each_bit(b, out_flags) { switch ((VkMemoryOutputFlags)(1 << b)) { - case VK_MEMORY_OUTPUT_CPU_WRITE_BIT: + case VK_MEMORY_OUTPUT_HOST_WRITE_BIT: break; /* FIXME: Little-core systems */ case VK_MEMORY_OUTPUT_SHADER_WRITE_BIT: cmd.DCFlushEnable = true; @@ -3491,7 +3491,7 @@ void anv_CmdPipelineBarrier( for_each_bit(b, out_flags) { switch ((VkMemoryInputFlags)(1 << b)) { - case VK_MEMORY_INPUT_CPU_READ_BIT: + case VK_MEMORY_INPUT_HOST_READ_BIT: break; /* FIXME: Little-core systems */ case VK_MEMORY_INPUT_INDIRECT_COMMAND_BIT: case VK_MEMORY_INPUT_INDEX_FETCH_BIT: