aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Forbes <chrisforbes@google.com>2016-09-13 11:22:22 +1200
committerChris Forbes <chrisforbes@google.com>2016-09-13 11:22:22 +1200
commit5dcbc1d600dae780e98ae574d61dbd25cd584678 (patch)
tree9ee8a3a49e7a2eb5751d52c6db99ab09c11b5b11
parentfcdf38a0f61ec9b1e692aeb4643ecde67db11f7a (diff)
downloadusermoji-5dcbc1d600dae780e98ae574d61dbd25cd584678.tar.xz
layers: tweak comments from review feedback
Signed-off-by: Chris Forbes <chrisforbes@google.com>
-rw-r--r--layers/core_validation.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/layers/core_validation.cpp b/layers/core_validation.cpp
index c17ca3e4..2124b67a 100644
--- a/layers/core_validation.cpp
+++ b/layers/core_validation.cpp
@@ -2742,7 +2742,6 @@ static bool validate_pipeline_shader_stage(debug_report_data *report_data,
auto pipelineLayout = pipeline->pipeline_layout;
- /* validate push constant usage */
pass &= validate_specialization_offsets(report_data, pStage);
pass &= validate_push_constant_usage(report_data, &pipelineLayout.push_constant_ranges, module, accessible_ids, pStage->stage);
@@ -2855,8 +2854,7 @@ static bool validate_and_capture_pipeline_shader_state(debug_report_data *report
enabledFeatures, shaderModuleMap);
}
- // if the shader stages are no good individually, cross-stage validation is
- // pointless.
+ // if the shader stages are no good individually, cross-stage validation is pointless.
if (!pass)
return false;