Port ComputeIndirectValidationTests to WGSL
Bug: dawn:572 Change-Id: I0db11c2416ca430b026cd2293061e99d35b18973 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/33924 Commit-Queue: Corentin Wallez <cwallez@chromium.org> Reviewed-by: Ben Clayton <bclayton@google.com>
This commit is contained in:
parent
261d261fd1
commit
e433709e6e
|
@ -22,11 +22,8 @@ class ComputeIndirectValidationTest : public ValidationTest {
|
|||
void SetUp() override {
|
||||
ValidationTest::SetUp();
|
||||
|
||||
wgpu::ShaderModule computeModule =
|
||||
utils::CreateShaderModule(device, utils::SingleShaderStage::Compute, R"(
|
||||
#version 450
|
||||
layout(local_size_x = 1) in;
|
||||
void main() {
|
||||
wgpu::ShaderModule computeModule = utils::CreateShaderModuleFromWGSL(device, R"(
|
||||
[[stage(compute), workgroup_size(1)]] fn main() -> void {
|
||||
})");
|
||||
|
||||
// Set up compute pipeline
|
||||
|
|
Loading…
Reference in New Issue