Translator: the Y′CbCr planes chain goes; nothing has made it since its producer went
`ResourceKind::YCbCrPlanes(YCbCrPlanesSampler)` sampled a two-plane YCbCr texture's planes through the device's own sampler Y′CbCr conversion. The form that made such a slot (the YCbCrInPlace lowering inputs and `fn sampler(&self) -> YCbCrPlanesSampler`) went ina7dd2e846e, and no code has constructed one since. Every remaining mention is a match pattern, an arm under one, or the cache codec's tag table. Deleted: - `bind::YCbCrPlanesSampler` (bind/ycbcr_convert.rs) and its re-export and bind/mod.rs doc line; - `pipeline::ResourceKind::YCbCrPlanes` (pipeline/sym.rs) and `pipeline::BindingSource::YCbCrPlanes` (pipeline/layout.rs); - `vk::SamplerDesc.ycbcr`, `vk::SamplerDesc::ycbcr()` and the private `SamplerKey.ycbcr` (vk/structs.rs), and the `ycbcr: None` lines of metal/sampler.rs and of the vk and ash_interop tests; - the match arms: pipeline/link.rs (the binding source, the immutable sampler, the combined-descriptor check), spirv/builder/module.rs (the combined-descriptor check), spirv/requirements/level_reads.rs and own_pixel.rs (their seeds); - the cache codec's rows: `YCbCrPlanesSampler { conversion }`, `YCbCrPlanes(f0)` in ResourceKind and in BindingSource, and `ycbcr` in SamplerDesc's field list; - tests/api_surface.rs's `YCbCrPlanesSampler` row; api_signatures.tsv loses its 5 records. level_reads' seed carried an "any level" flag that only the planes arm set; with that arm gone the flag is always false, so the seed drops it and keeps the entry it inserted. ash_interop's `sampler_create_info` doc no longer speaks of a conversion it cannot meet. The codec's enum tags are variant names, so no other tag moves: an entry holding a removed variant fails to decode, which is a miss. Removing `ycbcr` from SamplerDesc's encoded field list does change the byte layout of every encoded SamplerDesc (cache/mod.rs: "a field ... removed ... in an encoded type"), so ARTIFACT_FORMAT_VERSION goes from 596 to 597. SEMANTICS_VERSION stays: no input ever produced the removed form, so no module word, refusal, requirement or fact value changes (a golden cell hashes SPIR-V words only). Zeros, at metal2vulkan733b14ed24(this stack's base) and the consumer reims-vgpu d0a7c9614 (whose Cargo.toml pins metal2vulkan0c9db49765): - `git grep -nE 'YCbCrPlanes|SamplerDesc::ycbcr|\.ycbcr[^_a-zA-Z(]|ycbcr: (None|Some)'733b14ed24-- ':!crates/metal2vulkan/src'`: only api_signatures.tsv's five records and tests/api_surface.rs:459, both updated here. - Constructions in crates/metal2vulkan/src, `git grep -nE 'ResourceKind::YCbCrPlanes\(| BindingSource::YCbCrPlanes\(|SamplerDesc::ycbcr\(|YCbCrPlanesSampler \{'733b14ed24-- crates/metal2vulkan/src`: the struct's own declaration, the codec's decoder (cache/codec.rs:819), and pipeline/link.rs:683 and :740, each the arm of a `ResourceKind::YCbCrPlanes` pattern. The other four hits are patterns. - Consumer: `git grep -n 'YCbCrPlanes\|\.ycbcr\b' d0a7c9614 -- '*.rs'`: 0. Tables: `scripts/api-signatures/signatures.py --bless` removed 5 records and added none; `scripts/refusal-surface/refusal_surface.py` leaves docs/REFUSALS.md unchanged. Build, clippy, the suites and a states-only play run at the stack's tip.
This commit is contained in:
1 parent
a1b955eec9
commit
7ae0e4da5f
17 files changed
+17
-115
No files matched your search
@@ -125,9 +125,7 @@ impl From<vk::SpecializationMapEntry> for ash::vk::SpecializationMapEntry {
|
||||
/// The `VkSamplerCreateInfo` of a sampler description, with the reduction mode chained through
|
||||
/// `reduction` when it is not the default weighted average, and the border's component mapping
|
||||
/// through `border` when the description has one
|
||||
/// (`SamplerDesc::border_components`). A description of a Y′CbCr conversion
|
||||
/// (`SamplerDesc::ycbcr`) also needs the caller's `VkSamplerYcbcrConversionInfo` of its conversion
|
||||
/// chained, which this does not make.
|
||||
/// (`SamplerDesc::border_components`).
|
||||
///
|
||||
/// `reduction` and `border` are caller storage: they must outlive the returned structure.
|
||||
pub fn sampler_create_info<'a>(
|
||||
|
||||
@@ -1212,7 +1212,6 @@ fn sampler_create_info_chains_reduction_only_when_needed() {
|
||||
border_color: vk::BorderColor::FLOAT_OPAQUE_WHITE,
|
||||
reduction: vk::SamplerReductionMode::WEIGHTED_AVERAGE,
|
||||
border_components: None,
|
||||
ycbcr: None,
|
||||
unnormalized: false,
|
||||
};
|
||||
let mut reduction = avk::SamplerReductionModeCreateInfo::default();
|
||||
@@ -1268,7 +1267,6 @@ fn sampler_create_info_chains_reduction_only_when_needed() {
|
||||
let mapped = vk::SamplerDesc {
|
||||
border_color: vk::BorderColor::FLOAT_OPAQUE_BLACK,
|
||||
border_components: Some(argb),
|
||||
ycbcr: None,
|
||||
..desc
|
||||
};
|
||||
let mut reduction = avk::SamplerReductionModeCreateInfo::default();
|
||||
|
||||
@@ -19,8 +19,7 @@
|
||||
//! - A [`RasterizationRateMap`] is the consumer's `MTLRasterizationRateMap`: it compiles a
|
||||
//! [`RateMapDescriptor`], answers the map's queries, and gives the parameter data a
|
||||
//! `rasterization_rate_map_decoder` reads.
|
||||
//! - [`SamplerDescriptor`] is `MTLSamplerDescriptor`; [`YCbCrPlanesSampler`] the conversion a
|
||||
//! two-plane YCbCr texture's immutable sampler takes.
|
||||
//! - [`SamplerDescriptor`] is `MTLSamplerDescriptor`.
|
||||
//! - [`Dispatch`], [`DrawCall`], [`IndexBufferRef`] and [`StageInRegion`] state a dispatch, a
|
||||
//! draw, its index buffer and the compute encoder's stage-in region in Metal's terms;
|
||||
//! [`indirect_commands`] lays out an indirect command buffer's records.
|
||||
@@ -70,5 +69,4 @@ pub use state::{SamplerDescriptor, StageInRegion};
|
||||
pub(crate) use table::FunctionTableWords;
|
||||
pub use table::{function_table_entry_offset, function_table_header};
|
||||
pub(crate) use texel_parts::part_texels;
|
||||
pub use ycbcr_convert::YCbCrPlanesSampler;
|
||||
pub(crate) use ycbcr_convert::{YCbCrCodes, YCbCrOutput};
|
||||
@@ -332,20 +332,5 @@ pub(crate) fn ycbcr_read(
|
||||
}
|
||||
}
|
||||
|
||||
/// The device's own sampler Y′CbCr conversion of a two-plane YCbCr texture's planes held as an
|
||||
/// image of the multi-planar 4:2:0 format over their bytes: the codes' bits, the surface's range
|
||||
/// and matrix, Metal's reconstruction (the chroma at the midpoint through a linear chroma filter)
|
||||
/// and a linear filter. A slot that samples such a texture through it is a combined image sampler
|
||||
/// whose immutable sampler is the device's conversion of this (`ResourceKind::YCbCrPlanes`,
|
||||
/// `vk::SamplerDesc::ycbcr`); the consumer makes the image's view with the same conversion.
|
||||
#[non_exhaustive]
|
||||
#[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord)]
|
||||
#[cfg_attr(feature = "serde", derive(serde::Serialize, serde::Deserialize))]
|
||||
pub struct YCbCrPlanesSampler {
|
||||
/// The conversion: the codes' bits in bits 0 to 7, full range in bit 8, and the matrix in bits
|
||||
/// 9 and 10 (0 BT.601, 1 BT.709, 2 BT.2020).
|
||||
pub(crate) conversion: u32,
|
||||
}
|
||||
|
||||
#[cfg(test)]
|
||||
mod tests;
|
||||
+1
-5
@@ -21,7 +21,6 @@
|
||||
use std::collections::{BTreeMap, BTreeSet};
|
||||
use std::sync::Arc;
|
||||
|
||||
use crate::bind::YCbCrPlanesSampler;
|
||||
use crate::device::profile::Independence;
|
||||
use crate::device::requirements::{
|
||||
ApiVersion, FloatControl, FloatWidth, FormatUsage, Requirements, ResolveMode, SpirvCapability,
|
||||
@@ -813,10 +812,9 @@ codec_struct! {
|
||||
SamplerDesc {
|
||||
mag_filter, min_filter, mipmap_mode, address_mode_u, address_mode_v, address_mode_w,
|
||||
mip_lod_bias, max_anisotropy, compare, min_lod, max_lod, border_color, reduction,
|
||||
border_components, ycbcr, unnormalized,
|
||||
border_components, unnormalized,
|
||||
}
|
||||
ComponentMapping { r, g, b, a }
|
||||
YCbCrPlanesSampler { conversion }
|
||||
}
|
||||
|
||||
// ---- Link symbols (`pipeline::sym`) ----
|
||||
@@ -852,7 +850,6 @@ codec_enum! {
|
||||
Buffer, Texture, Sampler, Heap(f0), Synthetic(f0), InputAttachment(f0),
|
||||
CombinedTextureSampler(f0), HeapSampler(f0), AccelerationStructure(f0), TileAttachment(f0),
|
||||
TileMap, SeparateTexture(f0), SeparateSampler(f0),
|
||||
YCbCrPlanes(f0),
|
||||
SamplerArray { compare, integer },
|
||||
}
|
||||
AccelerationStructureLevel { Primitive, Instance }
|
||||
@@ -1455,7 +1452,6 @@ codec_enum! {
|
||||
Synthetic { stage, binding }, Heap(f0), InputAttachment(f0), HeapSampler { stage, sampler },
|
||||
AccelerationStructure { slot, level }, TileAttachment(f0), TileMap(f0),
|
||||
SeparateTexture { texture, sampler }, SeparateSampler { stage, sampler },
|
||||
YCbCrPlanes(f0),
|
||||
SamplerArray { stage, compare, integer },
|
||||
IdentityArray,
|
||||
}
|
||||
|
||||
Vendored
+1
-1
@@ -70,7 +70,7 @@ pub const SEMANTICS_VERSION: u32 = 2302;
|
||||
/// re-typed in an encoded type, its `codec` body or its `envelope`. A variant removed while its tag
|
||||
/// stays unused needs no bump: an entry holding it fails to decode, which is a miss. The commit that
|
||||
/// bumps it says what changed; this comment keeps no history.
|
||||
pub const ARTIFACT_FORMAT_VERSION: u32 = 596;
|
||||
pub const ARTIFACT_FORMAT_VERSION: u32 = 597;
|
||||
|
||||
/// The version of what this crate gives a runtime for the runs of a compiled pipeline, beside the
|
||||
/// compile: the device a run opens and what it enables, the Vulkan and Metal vocabularies a runtime
|
||||
|
||||
@@ -524,7 +524,6 @@ pub fn vk_sampler(
|
||||
border_color,
|
||||
reduction: vk::SamplerReductionMode::WEIGHTED_AVERAGE,
|
||||
border_components: None,
|
||||
ycbcr: None,
|
||||
unnormalized: use_.unnormalized,
|
||||
})
|
||||
}
|
||||
|
||||
@@ -84,12 +84,6 @@ pub enum BindingSource {
|
||||
texture: SlotRef,
|
||||
sampler: CombinedSampler,
|
||||
},
|
||||
/// The planes of the two-plane YCbCr texture bound at a Metal `[[texture(n)]]` slot, held as
|
||||
/// an image the device's own sampler Y′CbCr conversion samples
|
||||
/// (`ResourceKind::YCbCrPlanes`): one combined descriptor, its image the planes' image viewed
|
||||
/// with the conversion, its sampler the binding's `immutable_sampler`
|
||||
/// (`vk::SamplerDesc::ycbcr`).
|
||||
YCbCrPlanes(SlotRef),
|
||||
/// A binding the translator adds for one stage (argument table, root or handle table,
|
||||
/// constant blob).
|
||||
Synthetic {
|
||||
|
||||
@@ -680,7 +680,6 @@ fn binding_source(slot: ResourceSlot) -> BindingSource {
|
||||
stage: slot.stage,
|
||||
sampler: CombinedSampler::from_heap_index(sampler, slot.index),
|
||||
},
|
||||
ResourceKind::YCbCrPlanes(_) => BindingSource::YCbCrPlanes(metal(SlotClass::Texture)),
|
||||
ResourceKind::SamplerArray { compare, integer } => BindingSource::SamplerArray {
|
||||
stage: slot.stage,
|
||||
compare,
|
||||
@@ -730,14 +729,12 @@ fn immutable_samplers(
|
||||
}
|
||||
|
||||
/// The immutable sampler of binding `slot`: a combined image sampler's, heap sampler's, or
|
||||
/// separate sampler's constexpr sampler, made for its use; a planes image's device conversion
|
||||
/// (`ResourceKind::YCbCrPlanes`).
|
||||
/// separate sampler's constexpr sampler, made for its use.
|
||||
fn immutable_sampler(
|
||||
slot: ResourceSlot,
|
||||
p: &DeviceProfile,
|
||||
) -> Result<Option<vk::SamplerDesc>, Error> {
|
||||
let c = match slot.kind {
|
||||
ResourceKind::YCbCrPlanes(sampler) => return Ok(Some(vk::SamplerDesc::ycbcr(sampler))),
|
||||
ResourceKind::CombinedTextureSampler(c) => c,
|
||||
ResourceKind::HeapSampler(sampler) | ResourceKind::SeparateSampler(sampler) => {
|
||||
CombinedSampler::from_heap_index(sampler, slot.index)
|
||||
@@ -852,12 +849,8 @@ fn layout(
|
||||
)));
|
||||
}
|
||||
// A combined image sampler is exactly a `CombinedTextureSampler` symbol, which names
|
||||
// its texture slot and its sampler, or a planes image's (`YCbCrPlanes`), which names
|
||||
// its texture slot and the conversion its immutable sampler bakes.
|
||||
let combined = matches!(
|
||||
d.slot.kind,
|
||||
ResourceKind::CombinedTextureSampler(_) | ResourceKind::YCbCrPlanes(_)
|
||||
);
|
||||
// its texture slot and its sampler.
|
||||
let combined = matches!(d.slot.kind, ResourceKind::CombinedTextureSampler(_));
|
||||
if combined != (d.ty == vk::DescriptorType::COMBINED_IMAGE_SAMPLER) {
|
||||
return Err(Error::Internal(InternalError::new(
|
||||
InternalKind::Invariant,
|
||||
|
||||
@@ -266,12 +266,6 @@ pub enum ResourceKind {
|
||||
/// constexpr sampler is the binding's immutable sampler. `ResourceSlot::index` is the use
|
||||
/// ([`ResourceSlot::separate_sampler`]), as a heap sampler's is.
|
||||
SeparateSampler(SamplerRef),
|
||||
/// The planes of the two-plane YCbCr texture bound at the stage's texture slot
|
||||
/// `ResourceSlot::index`, held as an image of the multi-planar format that the device's own
|
||||
/// sampler Y′CbCr conversion samples: a combined image sampler whose immutable sampler is the
|
||||
/// device's conversion of this (`vk::SamplerDesc::ycbcr`), whose image the consumer views
|
||||
/// with the same conversion.
|
||||
YCbCrPlanes(crate::bind::YCbCrPlanesSampler),
|
||||
/// The constexpr samplers one heap sampling chooses among by its sampler handle: an array of
|
||||
/// one immutable sampler per candidate, each made for this use (with comparison or without,
|
||||
/// of an integer texture or not), indexed by the handle's distance from the first
|
||||
|
||||
@@ -549,15 +549,9 @@ impl ModuleBuilder {
|
||||
})
|
||||
);
|
||||
let ok = ok && subpass == matches!(sym.kind, ResourceKind::InputAttachment(_));
|
||||
// A combined image sampler is exactly one `OpTypeSampledImage`: a texture and sampler's,
|
||||
// or a planes image's through the device's conversion.
|
||||
// A combined image sampler is exactly one `OpTypeSampledImage`: a texture and sampler's.
|
||||
let combined = matches!(self.types.get(ty)?, Type::SampledImage { .. });
|
||||
let ok = ok
|
||||
&& combined
|
||||
== matches!(
|
||||
sym.kind,
|
||||
ResourceKind::CombinedTextureSampler(_) | ResourceKind::YCbCrPlanes(_)
|
||||
);
|
||||
let ok = ok && combined == matches!(sym.kind, ResourceKind::CombinedTextureSampler(_));
|
||||
// An acceleration structure binding is exactly one acceleration structure.
|
||||
let accel = matches!(self.types.get(ty)?, Type::AccelerationStructure);
|
||||
let ok = ok && accel == matches!(sym.kind, ResourceKind::AccelerationStructure(_));
|
||||
|
||||
@@ -125,17 +125,15 @@ pub fn level_reads(m: &TypedModule, meter: &mut Meter) -> Result<Vec<LevelReads>
|
||||
continue;
|
||||
};
|
||||
let seed = match slot.kind {
|
||||
ResourceKind::Texture => Some((slot.index, None, false)),
|
||||
ResourceKind::CombinedTextureSampler(cs) => Some((slot.index, Some(cs.sampler), false)),
|
||||
ResourceKind::Texture => Some((slot.index, None)),
|
||||
ResourceKind::CombinedTextureSampler(cs) => Some((slot.index, Some(cs.sampler))),
|
||||
ResourceKind::SeparateTexture(_) => slot
|
||||
.separate_texture_of()
|
||||
.map(|(texture, cs)| (texture, Some(cs.sampler), false)),
|
||||
// Planes a conversion reads as one texel: no level of them is a view's.
|
||||
ResourceKind::YCbCrPlanes(_) => Some((slot.index, None, true)),
|
||||
.map(|(texture, cs)| (texture, Some(cs.sampler))),
|
||||
_ => None,
|
||||
};
|
||||
if let Some((texture, sampler, any)) = seed {
|
||||
found.entry(texture).or_default().any |= any;
|
||||
if let Some((texture, sampler)) = seed {
|
||||
found.entry(texture).or_default();
|
||||
let index = u32::try_from(seeds.len()).unwrap_or(NONE);
|
||||
seeds.push((texture, sampler));
|
||||
work.push((g.value, index));
|
||||
|
||||
@@ -118,9 +118,9 @@ pub fn own_pixel_textures(m: &TypedModule, meter: &mut Meter) -> Result<Vec<u32>
|
||||
}
|
||||
GlobalKind::Resource(slot) => {
|
||||
let texture = match slot.kind {
|
||||
ResourceKind::Texture
|
||||
| ResourceKind::CombinedTextureSampler(_)
|
||||
| ResourceKind::YCbCrPlanes(_) => Some(slot.index),
|
||||
ResourceKind::Texture | ResourceKind::CombinedTextureSampler(_) => {
|
||||
Some(slot.index)
|
||||
}
|
||||
ResourceKind::SeparateTexture(_) => slot.separate_texture_of().map(|(t, _)| t),
|
||||
_ => None,
|
||||
};
|
||||
|
||||
@@ -231,13 +231,6 @@ pub struct SamplerDesc {
|
||||
/// mapping. Never set for a layout's immutable sampler.
|
||||
#[cfg_attr(feature = "serde", serde(default))]
|
||||
pub border_components: Option<ComponentMapping>,
|
||||
/// The device's sampler Y′CbCr conversion the sampler enables
|
||||
/// (`VkSamplerYcbcrConversionInfo`), a planes image's ([`SamplerDesc::ycbcr`],
|
||||
/// `ResourceKind::YCbCrPlanes`): the consumer makes the conversion of this (its format, the
|
||||
/// matrix's model, the range, midpoint chroma offsets and a linear chroma filter) and chains it,
|
||||
/// and views the image with the same conversion. Only a layout's immutable sampler sets it.
|
||||
#[cfg_attr(feature = "serde", serde(default))]
|
||||
pub ycbcr: Option<crate::bind::YCbCrPlanesSampler>,
|
||||
/// `unnormalizedCoordinates`: the sampler reads a Metal pixel sampler's coordinate in texels
|
||||
/// (`metal::sampler::SamplerUse::unnormalized`). Vulkan's limits hold for such a sampler: equal
|
||||
/// filters, the nearest mip mode, the level clamp `[0, 0]`, clamp to the edge or a border on
|
||||
@@ -247,34 +240,6 @@ pub struct SamplerDesc {
|
||||
pub unnormalized: bool,
|
||||
}
|
||||
|
||||
impl SamplerDesc {
|
||||
/// The immutable sampler of a planes image's binding (`ResourceKind::YCbCrPlanes`): the
|
||||
/// device's conversion `ycbcr`, through a linear filter (a conversion's linear chroma filter
|
||||
/// asks it, `VUID-VkSamplerCreateInfo-minFilter-01645`), clamped to the edge on every axis, no
|
||||
/// anisotropy or comparison and the weighted average (`VUID-VkSamplerCreateInfo-addressModeU-
|
||||
/// 01646`, `VUID-VkSamplerCreateInfo-None-01647`), level 0 alone.
|
||||
pub fn ycbcr(ycbcr: crate::bind::YCbCrPlanesSampler) -> SamplerDesc {
|
||||
SamplerDesc {
|
||||
mag_filter: Filter::LINEAR,
|
||||
min_filter: Filter::LINEAR,
|
||||
mipmap_mode: SamplerMipmapMode::NEAREST,
|
||||
address_mode_u: SamplerAddressMode::CLAMP_TO_EDGE,
|
||||
address_mode_v: SamplerAddressMode::CLAMP_TO_EDGE,
|
||||
address_mode_w: SamplerAddressMode::CLAMP_TO_EDGE,
|
||||
mip_lod_bias: 0.0,
|
||||
max_anisotropy: None,
|
||||
compare: None,
|
||||
min_lod: 0.0,
|
||||
max_lod: 0.0,
|
||||
border_color: BorderColor::FLOAT_TRANSPARENT_BLACK,
|
||||
reduction: SamplerReductionMode::WEIGHTED_AVERAGE,
|
||||
border_components: None,
|
||||
ycbcr: Some(ycbcr),
|
||||
unnormalized: false,
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
/// A [`SamplerDesc`] with floats as bit patterns, so equality is total.
|
||||
#[derive(PartialEq, Eq, Hash)]
|
||||
struct SamplerKey {
|
||||
@@ -288,7 +253,6 @@ struct SamplerKey {
|
||||
border_color: BorderColor,
|
||||
reduction: SamplerReductionMode,
|
||||
border_components: Option<ComponentMapping>,
|
||||
ycbcr: Option<crate::bind::YCbCrPlanesSampler>,
|
||||
unnormalized: bool,
|
||||
}
|
||||
|
||||
@@ -309,7 +273,6 @@ impl SamplerDesc {
|
||||
border_color: self.border_color,
|
||||
reduction: self.reduction,
|
||||
border_components: self.border_components,
|
||||
ycbcr: self.ycbcr,
|
||||
unnormalized: self.unnormalized,
|
||||
}
|
||||
}
|
||||
|
||||
@@ -210,7 +210,6 @@ fn sampler_desc_equality_is_total() {
|
||||
border_color: BorderColor::FLOAT_TRANSPARENT_BLACK,
|
||||
reduction: SamplerReductionMode::WEIGHTED_AVERAGE,
|
||||
border_components: None,
|
||||
ycbcr: None,
|
||||
unnormalized: false,
|
||||
};
|
||||
assert_eq!(desc, desc);
|
||||
@@ -224,7 +223,6 @@ fn sampler_desc_equality_is_total() {
|
||||
// A sampler made for one view mapping is another sampler.
|
||||
let mapped = SamplerDesc {
|
||||
border_components: Some(ComponentMapping::IDENTITY),
|
||||
ycbcr: None,
|
||||
..desc
|
||||
};
|
||||
assert_ne!(desc, mapped);
|
||||
|
||||
@@ -2755,7 +2755,6 @@ field metal2vulkan::vk::SamplerDesc.mip_lod_bias pub mip_lod_bias: f32
|
||||
field metal2vulkan::vk::SamplerDesc.mipmap_mode pub mipmap_mode: SamplerMipmapMode
|
||||
field metal2vulkan::vk::SamplerDesc.reduction pub reduction: SamplerReductionMode
|
||||
field metal2vulkan::vk::SamplerDesc.unnormalized pub unnormalized: bool
|
||||
field metal2vulkan::vk::SamplerDesc.ycbcr pub ycbcr: Option<crate::bind::YCbCrPlanesSampler>
|
||||
field metal2vulkan::vk::SpecializationMapEntry.constant_id pub constant_id: u32
|
||||
field metal2vulkan::vk::SpecializationMapEntry.offset pub offset: u32
|
||||
field metal2vulkan::vk::SpecializationMapEntry.size pub size: u32
|
||||
@@ -6650,7 +6649,6 @@ method metal2vulkan::vk::DescriptorType::from_raw pub fn from_raw(raw: u64) -> O
|
||||
method metal2vulkan::vk::FormatBlock::vertex_alignment pub const fn vertex_alignment(self) -> Option<u32>
|
||||
method metal2vulkan::vk::FormatExposure::exposed pub fn exposed(&self, api: super::ApiVersion, has_extension: impl Fn(&str) -> bool) -> bool
|
||||
method metal2vulkan::vk::NumericFormat::numeric_type pub const fn numeric_type(self) -> NumericType
|
||||
method metal2vulkan::vk::SamplerDesc::ycbcr pub fn ycbcr(ycbcr: crate::bind::YCbCrPlanesSampler) -> SamplerDesc
|
||||
struct metal2vulkan-air::ConstValue #[derive(Clone, Debug, PartialEq, Eq, Hash)] pub struct ConstValue
|
||||
struct metal2vulkan-air::Decoded #[derive(Clone, Debug, PartialEq, Eq)] pub struct Decoded
|
||||
struct metal2vulkan-air::DynamicLinks #[derive(Clone, Debug, Default)] pub struct DynamicLinks
|
||||
@@ -6902,7 +6900,6 @@ struct metal2vulkan::bind::RateMapDescriptor #[derive(Clone, Debug, PartialEq)]
|
||||
struct metal2vulkan::bind::RateMapLayerDescriptor #[derive(Clone, Debug, Default, PartialEq)] #[non_exhaustive] pub struct RateMapLayerDescriptor
|
||||
struct metal2vulkan::bind::SamplerDescriptor #[cfg_attr(feature = "serde", derive(serde::Serialize, serde::Deserialize))] #[derive(Clone, Copy, Debug, PartialEq)] #[non_exhaustive] pub struct SamplerDescriptor
|
||||
struct metal2vulkan::bind::StageInRegion #[cfg_attr(feature = "serde", derive(serde::Serialize, serde::Deserialize))] #[derive(Clone, Copy, Debug, PartialEq, Eq, PartialOrd, Ord, Hash)] #[non_exhaustive] pub struct StageInRegion
|
||||
struct metal2vulkan::bind::YCbCrPlanesSampler #[cfg_attr(feature = "serde", derive(serde::Serialize, serde::Deserialize))] #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord)] #[non_exhaustive] pub struct YCbCrPlanesSampler
|
||||
struct metal2vulkan::bind::indirect_commands::Bindings #[derive(Clone, Debug, Default, PartialEq, Eq)] pub struct Bindings
|
||||
struct metal2vulkan::bind::indirect_commands::BufferBinding #[derive(Clone, Copy, Debug, PartialEq, Eq)] pub struct BufferBinding
|
||||
struct metal2vulkan::bind::indirect_commands::CommandBuffer pub struct CommandBuffer<'a>
|
||||
@@ -9723,7 +9720,6 @@ variant metal2vulkan::pipeline::BindingSource::Synthetic Synthetic { stage: Stag
|
||||
variant metal2vulkan::pipeline::BindingSource::Texture Texture(SlotRef)
|
||||
variant metal2vulkan::pipeline::BindingSource::TileAttachment TileAttachment(u32)
|
||||
variant metal2vulkan::pipeline::BindingSource::TileMap TileMap(SlotRef)
|
||||
variant metal2vulkan::pipeline::BindingSource::YCbCrPlanes YCbCrPlanes(SlotRef)
|
||||
variant metal2vulkan::pipeline::BufferForm::Descriptor Descriptor
|
||||
variant metal2vulkan::pipeline::BufferForm::Psb Psb
|
||||
variant metal2vulkan::pipeline::BufferKind::Buffer Buffer
|
||||
@@ -9927,7 +9923,6 @@ variant metal2vulkan::pipeline::ResourceKind::Synthetic Synthetic(SyntheticBindi
|
||||
variant metal2vulkan::pipeline::ResourceKind::Texture Texture
|
||||
variant metal2vulkan::pipeline::ResourceKind::TileAttachment TileAttachment(u32)
|
||||
variant metal2vulkan::pipeline::ResourceKind::TileMap TileMap
|
||||
variant metal2vulkan::pipeline::ResourceKind::YCbCrPlanes YCbCrPlanes(crate::bind::YCbCrPlanesSampler)
|
||||
variant metal2vulkan::pipeline::RuntimeFact::AccelerationStructureInstanceCount AccelerationStructureInstanceCount { slot: SlotRef }
|
||||
variant metal2vulkan::pipeline::RuntimeFact::AddressAlignment AddressAlignment { slot: SlotRef, align: u32 }
|
||||
variant metal2vulkan::pipeline::RuntimeFact::AliasedImageblock AliasedImageblock { data_size: u32 }
|
||||
|
||||
|
Can't render this file because it is too large.
|
@@ -456,7 +456,6 @@ surface! {
|
||||
struct PvrtcDecode N;
|
||||
enum EtcDecode N;
|
||||
enum EtcTexels N;
|
||||
struct YCbCrPlanesSampler N;
|
||||
fn function_table_entry_offset;
|
||||
fn function_table_header;
|
||||
mod indirect_commands;
|
||||
|
||||
Reference in new issue
Block a user