Shader: Switch type<subtype> to type[subtype]

This commit is contained in:
Jérôme Leclercq
2022-01-26 19:24:46 +01:00
parent 29a01e975c
commit e6951d54a5
27 changed files with 506 additions and 510 deletions

View File

@@ -13,7 +13,7 @@ TEST_CASE("structure member access", "[Shader]")
std::string_view nzslSource = R"(
struct innerStruct
{
field: vec3<f32>
field: vec3[f32]
}
struct outerStruct
@@ -23,7 +23,7 @@ struct outerStruct
external
{
[set(0), binding(0)] ubo: uniform<outerStruct>
[set(0), binding(0)] ubo: uniform[outerStruct]
}
)";