Skip to content

Commit

Permalink
update submod; update glam
Browse files Browse the repository at this point in the history
  • Loading branch information
shiinamiyuki committed Feb 7, 2024
1 parent c346d7f commit 7d207b7
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion luisa_compute/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ luisa_compute_track = { path = "../luisa_compute_track", version = "0.1.1-alpha.
luisa_compute_ir = { path = "../luisa_compute_sys/LuisaCompute/src/rust/luisa_compute_ir", version = "0.1.1-alpha.1" }
luisa_compute_sys = { path = "../luisa_compute_sys", version = "0.1.1-alpha.1" }
rayon = "1.8.0"
glam = { version = "0.24.0", optional = true }
glam = { version = "0.25.0", optional = true }
nalgebra = { version = "0.32.3", optional = true }

[dev-dependencies]
Expand Down
4 changes: 2 additions & 2 deletions luisa_compute/src/runtime.rs
Original file line number Diff line number Diff line change
Expand Up @@ -517,7 +517,7 @@ impl Device {
let format = T::pixel_format(storage);
let texture = self
.inner
.create_texture(format, 2, width, height, 1, mips, true);
.create_texture(format, 2, width, height, 1, mips, true, false);
let handle = Arc::new(TextureHandle {
device: self.clone(),
handle: api::Texture(texture.handle),
Expand Down Expand Up @@ -560,7 +560,7 @@ impl Device {
let format = T::pixel_format(storage);
let texture = self
.inner
.create_texture(format, 3, width, height, depth, mips, true);
.create_texture(format, 3, width, height, depth, mips, true, false);
let handle = Arc::new(TextureHandle {
device: self.clone(),
handle: api::Texture(texture.handle),
Expand Down
2 changes: 1 addition & 1 deletion luisa_compute_sys/LuisaCompute
Submodule LuisaCompute updated 184 files

0 comments on commit 7d207b7

Please sign in to comment.