blade: Update to pick up Intel memory coherency fix & fix calling blade params (#15829)
Builds on @kvark's PR https://github.com/zed-industries/zed/pull/15781 by fixing call to Blades `create_texture_view` the arguments of which had changed. Picks up https://github.com/kvark/blade/pull/153 Release Notes: - Fixed Zed flickering on Linux when using Intel graphics. ([#14101](https://github.com/zed-industries/zed/issues/14101)). --------- Co-authored-by: Dzmitry Malyshau <kvark@fastmail.com> Co-authored-by: Thorsten Ball <mrnugget@gmail.com>
This commit is contained in:
parent
44ae9efb27
commit
fb1cd7cae2
3 changed files with 17 additions and 15 deletions
|
@ -188,13 +188,15 @@ impl BladeAtlasState {
|
|||
dimension: gpu::TextureDimension::D2,
|
||||
usage,
|
||||
});
|
||||
let raw_view = self.gpu.create_texture_view(gpu::TextureViewDesc {
|
||||
name: "",
|
||||
texture: raw,
|
||||
format,
|
||||
dimension: gpu::ViewDimension::D2,
|
||||
subresources: &Default::default(),
|
||||
});
|
||||
let raw_view = self.gpu.create_texture_view(
|
||||
raw,
|
||||
gpu::TextureViewDesc {
|
||||
name: "",
|
||||
format,
|
||||
dimension: gpu::ViewDimension::D2,
|
||||
subresources: &Default::default(),
|
||||
},
|
||||
);
|
||||
|
||||
let textures = &mut self.storage[kind];
|
||||
let atlas_texture = BladeAtlasTexture {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue