mirror of
https://github.com/encounter/dawn-cmake.git
synced 2025-12-21 10:49:14 +00:00
Update WGSL struct syntax.
This CL updates the Dawn tests to use the new WGSL struct syntax. Bug: tint:175 Change-Id: I7ce43385f9107f1a133117c41325a344d2241657 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/30640 Commit-Queue: Corentin Wallez <cwallez@chromium.org> Reviewed-by: Corentin Wallez <cwallez@chromium.org>
This commit is contained in:
committed by
Commit Bot service account
parent
03e1400fce
commit
3f6bb08d00
@@ -744,7 +744,7 @@ TEST_F(RenderPipelineValidationTest, DISABLED_BindingsFromCorrectEntryPoint) {
|
||||
DAWN_SKIP_TEST_IF(!HasWGSL());
|
||||
|
||||
wgpu::ShaderModule module = utils::CreateShaderModuleFromWGSL(device, R"(
|
||||
type Uniforms = [[block]] struct {
|
||||
[[block]] struct Uniforms {
|
||||
[[offset 0]] data : vec4<f32>;
|
||||
};
|
||||
[[binding 0, set 0]] var<uniform> var0 : Uniforms;
|
||||
|
||||
Reference in New Issue
Block a user