summaryrefslogtreecommitdiffstats
path: root/examples/custom_shader/src/scene/pipeline.rs
diff options
context:
space:
mode:
Diffstat (limited to 'examples/custom_shader/src/scene/pipeline.rs')
-rw-r--r--examples/custom_shader/src/scene/pipeline.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/examples/custom_shader/src/scene/pipeline.rs b/examples/custom_shader/src/scene/pipeline.rs
index 124b421f..50b70a98 100644
--- a/examples/custom_shader/src/scene/pipeline.rs
+++ b/examples/custom_shader/src/scene/pipeline.rs
@@ -97,6 +97,7 @@ impl Pipeline {
usage: wgpu::TextureUsages::TEXTURE_BINDING,
view_formats: &[],
},
+ wgpu::util::TextureDataOrder::LayerMajor,
&normal_map_data,
);
@@ -122,6 +123,7 @@ impl Pipeline {
usage: wgpu::TextureUsages::TEXTURE_BINDING,
view_formats: &[],
},
+ wgpu::util::TextureDataOrder::LayerMajor,
&skybox_data,
);