layers: Rename verifyPipelineCreateState to match new role
authorChris Forbes <chrisforbes@google.com>
Wed, 21 Jun 2017 20:23:37 +0000 (13:23 -0700)
committerChris Forbes <chrisf@ijw.co.nz>
Thu, 22 Jun 2017 00:49:25 +0000 (17:49 -0700)
layers/core_validation.cpp

index a20db67e411644e09130fe3c18c9aefd2dbdb04f..d899d9715a006c16d11fb12dc848cabe60b1fd93 100644 (file)
@@ -1179,7 +1179,7 @@ static bool verifyLineWidth(layer_data *dev_data, DRAW_STATE_ERROR dsError, Vulk
 }
 
 // Verify that create state for a pipeline is valid
-static bool verifyPipelineCreateState(layer_data *dev_data, std::vector<PIPELINE_STATE *> const &pPipelines, int pipelineIndex) {
+static bool ValidatePipelineLocked(layer_data *dev_data, std::vector<PIPELINE_STATE *> const &pPipelines, int pipelineIndex) {
     bool skip = false;
 
     PIPELINE_STATE *pPipeline = pPipelines[pipelineIndex];
@@ -4429,7 +4429,7 @@ VKAPI_ATTR VkResult VKAPI_CALL CreateGraphicsPipelines(VkDevice device, VkPipeli
     }
 
     for (i = 0; i < count; i++) {
-        skip |= verifyPipelineCreateState(dev_data, pipe_state, i);
+        skip |= ValidatePipelineLocked(dev_data, pipe_state, i);
     }
 
     lock.unlock();
@@ -4478,7 +4478,6 @@ VKAPI_ATTR VkResult VKAPI_CALL CreateComputePipelines(VkDevice device, VkPipelin
 
         // TODO: Add Compute Pipeline Verification
         skip |= validate_compute_pipeline(dev_data, pPipeState[i]);
-        // skip |= verifyPipelineCreateState(dev_data, pPipeState[i]);
     }
 
     if (skip) {