Some small optimizations and style issues for input state

Bug=dawn:107

Change-Id: I8ecfb39a2bff11b678bd8548ec0725ba061ef333
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/6081
Commit-Queue: Kai Ninomiya <kainino@chromium.org>
Reviewed-by: Corentin Wallez <cwallez@chromium.org>
Reviewed-by: Kai Ninomiya <kainino@chromium.org>
This commit is contained in:
Yunchao He
2019-03-28 10:57:41 +00:00
committed by Commit Bot service account
parent d754fb2034
commit 494552b886
4 changed files with 5 additions and 18 deletions

View File

@@ -66,7 +66,7 @@ class InputStateTest : public DawnTest {
};
dawn::RenderPipeline MakeTestPipeline(const dawn::InputStateDescriptor& inputState,
int multiplier,
std::vector<ShaderTestSpec> testSpec) {
const std::vector<ShaderTestSpec>& testSpec) {
std::ostringstream vs;
vs << "#version 450\n";