Graphics: Make use of shader binding sets

This commit is contained in:
Jérôme Leclercq
2021-06-16 14:47:54 +02:00
parent 5559fe1af7
commit 3cd9172f7a
49 changed files with 592 additions and 792 deletions

View File

@@ -14,7 +14,7 @@ struct ViewerData
external
{
[binding(1)] skybox: samplerCube<f32>
[set(1), binding(0)] skybox: samplerCube<f32>
}
struct VertOut
@@ -42,7 +42,7 @@ fn main(input: VertOut) -> FragOut
external
{
[binding(0)] viewerData: uniform<ViewerData>
[set(0), binding(0)] viewerData: uniform<ViewerData>
}
struct VertIn