Fix shaders in ShaderRobustnessPerf

This patch fixes the shaders used in ShaderRobustnessPerf tests by
replacing the deprecated "let" with "const".

Bug: dawn:594
Test: dawn_perf_tests
Change-Id: Ife3d03f40404963193fd79c05649334f52154f1a
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/105921
Commit-Queue: Austin Eng <enga@chromium.org>
Reviewed-by: Corentin Wallez <cwallez@chromium.org>
Reviewed-by: Austin Eng <enga@chromium.org>
Kokoro: Kokoro <noreply+kokoro@google.com>
This commit is contained in:
Jiawei Shao 2022-10-14 15:51:49 +00:00 committed by Dawn LUCI CQ
parent 15f80a28f1
commit 7171fa9550
1 changed files with 9 additions and 9 deletions

View File

@ -62,11 +62,11 @@ const std::string& kMatMulFloatHeader = R"(
}
}
let RowPerThread : u32 = 4u;
let ColPerThread : u32 = 4u;
let TileAOuter : u32 = 32u;
let TileBOuter : u32 = 32u;
let TileInner : u32 = 32u;)";
const RowPerThread : u32 = 4u;
const ColPerThread : u32 = 4u;
const TileAOuter : u32 = 32u;
const TileBOuter : u32 = 32u;
const TileInner : u32 = 32u;)";
const std::string& kMatMulFloatSharedArray1D = R"(
var<workgroup> mm_Asub : array<f32, 1024>;
@ -229,10 +229,10 @@ const std::string& kMatMulVec4Header = R"(
}
}
let RowPerThread : u32 = 4u;
let ColPerThread : u32 = 4u;
let TileOuter : u32 = 32u;
let TileInner : u32 = 32u;)";
const RowPerThread : u32 = 4u;
const ColPerThread : u32 = 4u;
const TileOuter : u32 = 32u;
const TileInner : u32 = 32u;)";
const std::string& kMatMulVec4SharedArray1D = R"(
var<workgroup> mm_Asub : array<vec4<f32>, 256>;
var<workgroup> mm_Bsub : array<vec4<f32>, 256>;)";