Fix DeferredShading demo

This commit is contained in:
Jérôme Leclercq
2021-10-20 23:50:39 +02:00
parent e84ec8e4ac
commit a18415216b
8 changed files with 85 additions and 62 deletions

View File

@@ -14,7 +14,8 @@ struct ViewerData
external
{
[set(1), binding(0)] skybox: samplerCube<f32>
[binding(0)] viewerData: uniform<ViewerData>,
[binding(1)] skybox: samplerCube<f32>
}
struct VertOut
@@ -40,11 +41,6 @@ fn main(input: VertOut) -> FragOut
return output;
}
external
{
[set(0), binding(0)] viewerData: uniform<ViewerData>
}
struct VertIn
{
[location(0)] position: vec3<f32>