bug 14437: Remove VK_PIPELINE_STAGE_TRANSITION_BIT
authorCourtney Goeltzenleuchter <courtney@LunarG.com>
Wed, 16 Sep 2015 21:47:14 +0000 (15:47 -0600)
committerCourtney Goeltzenleuchter <courtney@LunarG.com>
Thu, 17 Sep 2015 21:32:11 +0000 (15:32 -0600)
include/vulkan.h
layers/param_checker.cpp

index 840c8403deac77f9376c08ed7950d3d8b222d3d7..25d25eec6dd6964a13d7bf50af054501d5ca583a 100644 (file)
@@ -1021,10 +1021,9 @@ typedef enum {
     VK_PIPELINE_STAGE_COLOR_ATTACHMENT_OUTPUT_BIT = 0x00000400,
     VK_PIPELINE_STAGE_COMPUTE_SHADER_BIT = 0x00000800,
     VK_PIPELINE_STAGE_TRANSFER_BIT = 0x00001000,
-    VK_PIPELINE_STAGE_TRANSITION_BIT = 0x00002000,
-    VK_PIPELINE_STAGE_HOST_BIT = 0x00004000,
+    VK_PIPELINE_STAGE_HOST_BIT = 0x00002000,
     VK_PIPELINE_STAGE_ALL_GRAPHICS = 0x000007FF,
-    VK_PIPELINE_STAGE_ALL_GPU_COMMANDS = 0x00003FFF,
+    VK_PIPELINE_STAGE_ALL_GPU_COMMANDS = 0x00001FFF,
 } VkPipelineStageFlagBits;
 typedef VkFlags VkPipelineStageFlags;
 
index ea31546c017089047be81f05fddfe4cd32c15ff2..583363ae7e0258f9fa06670ded7accb2dd5d93be 100644 (file)
@@ -1343,7 +1343,6 @@ bool ValidateEnumerator(VkPipelineStageFlagBits const& enumerator)
         VK_PIPELINE_STAGE_COLOR_ATTACHMENT_OUTPUT_BIT |
         VK_PIPELINE_STAGE_ALL_GPU_COMMANDS |
         VK_PIPELINE_STAGE_TOP_OF_PIPE_BIT |
-        VK_PIPELINE_STAGE_TRANSITION_BIT |
         VK_PIPELINE_STAGE_COMPUTE_SHADER_BIT |
         VK_PIPELINE_STAGE_TESS_CONTROL_SHADER_BIT |
         VK_PIPELINE_STAGE_EARLY_FRAGMENT_TESTS_BIT |
@@ -1395,10 +1394,6 @@ std::string EnumeratorString(VkPipelineStageFlagBits const& enumerator)
     {
         strings.push_back("VK_PIPELINE_STAGE_TOP_OF_PIPE_BIT");
     }
-    if(enumerator & VK_PIPELINE_STAGE_TRANSITION_BIT)
-    {
-        strings.push_back("VK_PIPELINE_STAGE_TRANSITION_BIT");
-    }
     if(enumerator & VK_PIPELINE_STAGE_COMPUTE_SHADER_BIT)
     {
         strings.push_back("VK_PIPELINE_STAGE_COMPUTE_SHADER_BIT");