From 94a374fa847e0d150039efda64a1d94ff6a9086d Mon Sep 17 00:00:00 2001 From: dan sinclair Date: Tue, 18 Aug 2020 16:08:43 +0000 Subject: [PATCH] Add missing block decoration. The uniform buffer in the test/cube.wgsl needs a block attribute in order to translate correct. Change-Id: I2a245cffbe9f4c66b9d6ebcd66617a7fbdd98af2 Reviewed-on: https://dawn-review.googlesource.com/c/tint/+/26922 Commit-Queue: David Neto Reviewed-by: David Neto --- test/cube.wgsl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/cube.wgsl b/test/cube.wgsl index f5732c70b8..88dbd6451b 100644 --- a/test/cube.wgsl +++ b/test/cube.wgsl @@ -16,7 +16,7 @@ entry_point vertex = vtx_main; entry_point fragment = frag_main; # Vertex shader -type Uniforms = struct { +type Uniforms = [[block]] struct { [[offset 0]] modelViewProjectionMatrix : mat4x4; };