Switch shader texture usage from sampler2D to texture2D plus sampler (fixes #1)

This commit is contained in:
Keavon Chambers
2020-07-11 19:01:48 -07:00
parent 6a94905f61
commit c0e092f726
8 changed files with 70 additions and 6 deletions
+1
View File
@@ -20,6 +20,7 @@ impl Pipeline {
component_type: wgpu::TextureComponentType::Float,
multisampled: false,
},
wgpu::BindingType::Sampler { comparison: false },
]);
// Combine all bind group layouts