gpui: Bump blade, objc2, objc2-metal, and naga (#30347)
This commit is contained in:
parent
5249345312
commit
851ab13f94
6 changed files with 150 additions and 192 deletions
|
@ -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
|
||||
|
||||
|
|
|
@ -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,
|
||||
|
|
|
@ -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,
|
||||
),
|
||||
)
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue