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:
parent
15f80a28f1
commit
7171fa9550
|
@ -62,11 +62,11 @@ const std::string& kMatMulFloatHeader = R"(
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
let RowPerThread : u32 = 4u;
|
const RowPerThread : u32 = 4u;
|
||||||
let ColPerThread : u32 = 4u;
|
const ColPerThread : u32 = 4u;
|
||||||
let TileAOuter : u32 = 32u;
|
const TileAOuter : u32 = 32u;
|
||||||
let TileBOuter : u32 = 32u;
|
const TileBOuter : u32 = 32u;
|
||||||
let TileInner : u32 = 32u;)";
|
const TileInner : u32 = 32u;)";
|
||||||
|
|
||||||
const std::string& kMatMulFloatSharedArray1D = R"(
|
const std::string& kMatMulFloatSharedArray1D = R"(
|
||||||
var<workgroup> mm_Asub : array<f32, 1024>;
|
var<workgroup> mm_Asub : array<f32, 1024>;
|
||||||
|
@ -229,10 +229,10 @@ const std::string& kMatMulVec4Header = R"(
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
let RowPerThread : u32 = 4u;
|
const RowPerThread : u32 = 4u;
|
||||||
let ColPerThread : u32 = 4u;
|
const ColPerThread : u32 = 4u;
|
||||||
let TileOuter : u32 = 32u;
|
const TileOuter : u32 = 32u;
|
||||||
let TileInner : u32 = 32u;)";
|
const TileInner : u32 = 32u;)";
|
||||||
const std::string& kMatMulVec4SharedArray1D = R"(
|
const std::string& kMatMulVec4SharedArray1D = R"(
|
||||||
var<workgroup> mm_Asub : array<vec4<f32>, 256>;
|
var<workgroup> mm_Asub : array<vec4<f32>, 256>;
|
||||||
var<workgroup> mm_Bsub : array<vec4<f32>, 256>;)";
|
var<workgroup> mm_Bsub : array<vec4<f32>, 256>;)";
|
||||||
|
|
Loading…
Reference in New Issue