/dports/www/firefox/firefox-99.0/third_party/rust/wgpu-core/src/device/ |
H A D | trace.rs | 22 let aspects = hal::FormatAspects::from(format); in new_render_bundle_encoder_descriptor() 25 depth_read_only: is_ds_read_only && aspects.contains(hal::FormatAspects::DEPTH), in new_render_bundle_encoder_descriptor() 26 stencil_read_only: is_ds_read_only && aspects.contains(hal::FormatAspects::STENCIL), in new_render_bundle_encoder_descriptor()
|
H A D | mod.rs | 860 let full_aspect = hal::FormatAspects::from(texture.desc.format); in create_texture_view() 861 let select_aspect = hal::FormatAspects::from(desc.range.aspect); in create_texture_view() 1874 .contains(hal::FormatAspects::DEPTH | hal::FormatAspects::STENCIL) in texture_use_parameters() 2421 if !hal::FormatAspects::from(cs.format).contains(hal::FormatAspects::COLOR) { in create_render_pipeline() 2448 let aspect = hal::FormatAspects::from(ds.format); in create_render_pipeline() 2449 if ds.is_depth_enabled() && !aspect.contains(hal::FormatAspects::DEPTH) { in create_render_pipeline() 2452 if ds.stencil.is_enabled() && !aspect.contains(hal::FormatAspects::STENCIL) { in create_render_pipeline() 4772 usage: conv::map_texture_usage(config.usage, hal::FormatAspects::COLOR), in surface_configure()
|
/dports/www/firefox/firefox-99.0/third_party/rust/wgpu-hal/src/vulkan/ |
H A D | conv.rs | 165 aspects: crate::FormatAspects, in derive_image_layout() argument 168 let is_color = aspects.contains(crate::FormatAspects::COLOR); in derive_image_layout() 348 pub fn map_aspects(aspects: crate::FormatAspects) -> vk::ImageAspectFlags { in map_aspects() 350 if aspects.contains(crate::FormatAspects::COLOR) { in map_aspects() 353 if aspects.contains(crate::FormatAspects::DEPTH) { in map_aspects() 356 if aspects.contains(crate::FormatAspects::STENCIL) { in map_aspects() 539 texture_aspect: crate::FormatAspects, in map_subresource_range() argument 542 aspect_mask: map_aspects(crate::FormatAspects::from(range.aspect) & texture_aspect), in map_subresource_range() 556 texture_aspect: crate::FormatAspects, in map_subresource_layers() argument
|
H A D | mod.rs | 363 aspects: crate::FormatAspects, 386 fn aspects(&self) -> crate::FormatAspects { in aspects() argument
|
H A D | instance.rs | 716 aspects: crate::FormatAspects::COLOR, in acquire_texture()
|
H A D | command.rs | 777 conv::derive_image_layout(crate::TextureUses::COPY_DST, crate::FormatAspects::empty()), in check_dst_image_layout()
|
/dports/www/firefox/firefox-99.0/third_party/rust/wgpu-hal/src/dx12/ |
H A D | view.rs | 265 ro_aspects: crate::FormatAspects, in to_dsv() argument 272 if ro_aspects.contains(crate::FormatAspects::DEPTH) { in to_dsv() 275 if ro_aspects.contains(crate::FormatAspects::STENCIL) { in to_dsv()
|
H A D | command.rs | 323 let planes = if crate::FormatAspects::from(barrier.texture.format) in transition_textures() 324 .contains(crate::FormatAspects::DEPTH | crate::FormatAspects::STENCIL) in transition_textures() 627 && aspects.contains(crate::FormatAspects::DEPTH) in begin_render_pass() 632 && aspects.contains(crate::FormatAspects::STENCIL) in begin_render_pass()
|
H A D | device.rs | 1 use crate::FormatAspects; 429 Format: if crate::FormatAspects::from(desc.format).contains(crate::FormatAspects::COLOR) in create_texture() 504 format_aspects: FormatAspects::from(desc.format), in create_texture_view() 568 let raw_desc = view_desc.to_dsv(FormatAspects::empty()); in create_texture_view()
|
H A D | conv.rs | 132 crate::FormatAspects::from(format), in map_texture_format_nodepth() 133 crate::FormatAspects::COLOR in map_texture_format_nodepth()
|
H A D | mod.rs | 425 format_aspects: crate::FormatAspects, // May explicitly ignore stencil aspect of raw_format!
|
/dports/www/firefox/firefox-99.0/third_party/rust/wgpu-core/src/ |
H A D | conv.rs | 66 aspect: hal::FormatAspects, in map_texture_usage() argument 85 let is_color = aspect.contains(hal::FormatAspects::COLOR); in map_texture_usage()
|
H A D | resource.rs | 353 pub fn aspects(&self) -> hal::FormatAspects { in aspects() argument 354 hal::FormatAspects::from(self.format) & hal::FormatAspects::from(self.range.aspect) in aspects()
|
/dports/www/firefox/firefox-99.0/third_party/rust/wgpu-hal/src/gles/ |
H A D | command.rs | 424 crate::FormatAspects::DEPTH => glow::DEPTH_ATTACHMENT, in begin_render_pass() 425 crate::FormatAspects::STENCIL => glow::STENCIL_ATTACHMENT, in begin_render_pass() 432 if aspects.contains(crate::FormatAspects::DEPTH) in begin_render_pass() 439 if aspects.contains(crate::FormatAspects::STENCIL) in begin_render_pass() 687 let mut aspects = crate::FormatAspects::empty(); in set_render_pipeline() 695 aspects |= crate::FormatAspects::DEPTH; in set_render_pipeline() 699 aspects |= crate::FormatAspects::STENCIL; in set_render_pipeline()
|
H A D | mod.rs | 287 aspects: crate::FormatAspects, 680 ConfigureDepthStencil(crate::FormatAspects),
|
H A D | device.rs | 683 aspects: crate::FormatAspects::from(texture.format) in create_texture_view() 684 & crate::FormatAspects::from(desc.range.aspect), in create_texture_view()
|
H A D | queue.rs | 913 if aspects.contains(crate::FormatAspects::DEPTH) { in process() 918 if aspects.contains(crate::FormatAspects::STENCIL) { in process()
|
/dports/www/firefox/firefox-99.0/third_party/rust/wgpu-core/src/command/ |
H A D | clear.rs | 183 let requested_aspects = hal::FormatAspects::from(subresource_range.aspect); in command_encoder_clear_texture() 184 let clear_aspects = hal::FormatAspects::from(dst_texture.desc.format) & requested_aspects; in command_encoder_clear_texture() 383 aspect: hal::FormatAspects::all(), in clear_texture_via_buffer_copies()
|
H A D | render.rs | 134 fn is_read_only(&self, aspects: hal::FormatAspects) -> Result<bool, RenderPassErrorInner> { in is_read_only() 135 if aspects.contains(hal::FormatAspects::DEPTH) && !self.depth.read_only { in is_read_only() 141 if aspects.contains(hal::FormatAspects::STENCIL) && !self.stencil.read_only { in is_read_only() 699 if ds_aspects.contains(hal::FormatAspects::COLOR) { in start() 705 if !ds_aspects.contains(hal::FormatAspects::STENCIL) in start() 716 } else if !ds_aspects.contains(hal::FormatAspects::DEPTH) { in start() 810 .contains(hal::FormatAspects::COLOR) in start()
|
H A D | bundle.rs | 123 let aspects = hal::FormatAspects::from(ds.format); in new() 124 (!aspects.contains(hal::FormatAspects::DEPTH) || ds.depth_read_only) in new() 125 && (!aspects.contains(hal::FormatAspects::STENCIL) || ds.stencil_read_only) in new()
|
H A D | transfer.rs | 165 hal::FormatAspects::from(format) & hal::FormatAspects::from(copy_texture.aspect); in extract_texture_selector()
|
/dports/www/firefox/firefox-99.0/third_party/rust/wgpu-hal/src/ |
H A D | lib.rs | 579 pub struct FormatAspects: u8 { 586 impl From<wgt::TextureAspect> for FormatAspects { implementation 596 impl From<wgt::TextureFormat> for FormatAspects { implementation 1066 pub aspect: FormatAspects,
|
/dports/www/firefox/firefox-99.0/third_party/rust/wgpu-hal/src/metal/ |
H A D | device.rs | 369 let aspects = crate::FormatAspects::from(desc.format); in create_texture_view() 827 let aspects = crate::FormatAspects::from(ds.format); in create_render_pipeline() 828 if aspects.contains(crate::FormatAspects::DEPTH) { in create_render_pipeline() 831 if aspects.contains(crate::FormatAspects::STENCIL) { in create_render_pipeline()
|
H A D | command.rs | 367 if at.target.view.aspects.contains(crate::FormatAspects::DEPTH) { in begin_render_pass() 389 .contains(crate::FormatAspects::STENCIL) in begin_render_pass()
|
H A D | mod.rs | 428 aspects: crate::FormatAspects,
|