gpui: Bump blade, objc2, objc2-metal, and naga (#30347)

This commit is contained in:
tidely 2025-05-09 10:40:12 +02:00 committed by GitHub
parent 5249345312
commit 851ab13f94
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
6 changed files with 150 additions and 192 deletions

View file

@ -139,8 +139,8 @@ foreign-types = "0.5"
log.workspace = true
media.workspace = true
objc.workspace = true
objc2 = { version = "0.5", optional = true }
objc2-metal = { version = "0.2", optional = true }
objc2 = { version = "0.6", optional = true }
objc2-metal = { version = "0.3", optional = true }
#TODO: replace with "objc2"
metal.workspace = true

View file

@ -223,6 +223,7 @@ impl BladeAtlasState {
sample_count: self.path_sample_count,
dimension: gpu::TextureDimension::D2,
usage: gpu::TextureUsage::TARGET,
external: None,
});
(
@ -254,6 +255,7 @@ impl BladeAtlasState {
sample_count: 1,
dimension: gpu::TextureDimension::D2,
usage,
external: None,
});
let raw_view = self.gpu.create_texture_view(
raw,

View file

@ -769,6 +769,7 @@ impl BladeRenderer {
>,
)
.unwrap(),
gpu::TexelAspects::COLOR,
),
gpu::TextureView::from_metal_texture(
&objc2::rc::Retained::retain(
@ -780,6 +781,7 @@ impl BladeRenderer {
>,
)
.unwrap(),
gpu::TexelAspects::COLOR,
),
)
};