Shader: Remove the need of layout(std140) in external block

This commit is contained in:
Jérôme Leclercq
2021-04-12 18:52:48 +02:00
parent 854bb16320
commit 3499c1f92f
8 changed files with 144 additions and 125 deletions

View File

@@ -19,7 +19,7 @@ struct Data
external
{
[[binding(0), layout(std140)]] viewerData: uniform<Data>,
[[binding(0)]] viewerData: uniform<Data>,
[[binding(1)]] tex: sampler2D<f32>
}