vk: Rename CPU_READ/WRITE_BIT to HOST_READ/WRITE_BIT
authorJason Ekstrand <jason.ekstrand@intel.com>
Tue, 7 Jul 2015 00:18:25 +0000 (17:18 -0700)
committerJason Ekstrand <jason.ekstrand@intel.com>
Tue, 7 Jul 2015 00:18:25 +0000 (17:18 -0700)
include/vulkan/vulkan.h
src/vulkan/device.c

index f509f4178b20246df901f9c3026db9c60b4b839a..2d9990f2fdeb43135e278171918b77eb14cdf4fe 100644 (file)
@@ -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,
index 35f3f31e67b146644bc681b2d1561d684cb7a932..c833d24a99719689cef36c628dfbf2e1b664eeff 100644 (file)
@@ -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: