Fix forward: the API signature table and REFUSALS.md at the dead-variant batch's landing over the orphans
The dead-variant batch (cutxlate-dw) and the translator orphans (cutcheck) deleted items on both sides: the orphans removed CompensatedViewport, is_permanent_for and the ViewportCompensation path; the batch removed the offset-0 class (ZERO_OFFSET_CLASS, ZERO_OFFSET_TOLD, storage_view_buffers), Needs::DriverDefect and the dead DriverWorkaround variants. The landing's rebase kept both deletions, so the generated tables are regenerated from the merged sources: scripts/api-signatures/signatures.py --bless and scripts/refusal-surface/refusal_surface.py. Verified: both scripts ran on the merged tree; the table holds no ZERO_OFFSET row.
This commit is contained in:
1 parent
75b96cc87a
commit
82abe62334
2 files changed
+33
-173
No files matched your search
@@ -132,11 +132,8 @@ assoc-const metal2vulkan::bind::IndexBoundsFillModule::POOL_BINDING pub const PO
|
||||
assoc-const metal2vulkan::bind::IndexBoundsFillModule::SET pub const SET: u32
|
||||
assoc-const metal2vulkan::bind::IndexBoundsFillModule::WORDS_BINDING pub const WORDS_BINDING: u32
|
||||
assoc-const metal2vulkan::bind::IndexBoundsPass::BYTES pub const BYTES: u64
|
||||
assoc-const metal2vulkan::bind::IndexBoundsPass::FILL_DISPATCH_OFFSET pub const FILL_DISPATCH_OFFSET: u64
|
||||
assoc-const metal2vulkan::bind::IndexBoundsPass::FIRST_DRAW_OFFSET pub const FIRST_DRAW_OFFSET: u64
|
||||
assoc-const metal2vulkan::bind::IndexBoundsPass::PARAMETER_WORDS pub const PARAMETER_WORDS: usize
|
||||
assoc-const metal2vulkan::bind::IndexBoundsPass::POOL_HEADER_BYTES pub const POOL_HEADER_BYTES: u64
|
||||
assoc-const metal2vulkan::bind::IndexBoundsPass::SECOND_DRAW_OFFSET pub const SECOND_DRAW_OFFSET: u64
|
||||
assoc-const metal2vulkan::bind::IndexBoundsPlanModule::ARGUMENTS_BINDING pub const ARGUMENTS_BINDING: u32
|
||||
assoc-const metal2vulkan::bind::IndexBoundsPlanModule::POOL_BINDING pub const POOL_BINDING: u32
|
||||
assoc-const metal2vulkan::bind::IndexBoundsPlanModule::SET pub const SET: u32
|
||||
@@ -158,7 +155,6 @@ assoc-const metal2vulkan::bind::IndexGatherModule::SET pub const SET: u32
|
||||
assoc-const metal2vulkan::bind::IndexGatherModule::TABLE_BINDING pub const TABLE_BINDING: u32
|
||||
assoc-const metal2vulkan::bind::IndexGatherPlanModule::ARGUMENTS_BINDING pub const ARGUMENTS_BINDING: u32
|
||||
assoc-const metal2vulkan::bind::IndexGatherPlanModule::DRAWS_BINDING pub const DRAWS_BINDING: u32
|
||||
assoc-const metal2vulkan::bind::IndexGatherPlanModule::DRAW_BYTES pub const DRAW_BYTES: u64
|
||||
assoc-const metal2vulkan::bind::IndexGatherPlanModule::LOCAL_SIZE pub const LOCAL_SIZE: u32
|
||||
assoc-const metal2vulkan::bind::IndexGatherPlanModule::MAX_DRAWS pub const MAX_DRAWS: u32
|
||||
assoc-const metal2vulkan::bind::IndexGatherPlanModule::POOL_BINDING pub const POOL_BINDING: u32
|
||||
@@ -207,7 +203,6 @@ assoc-const metal2vulkan::bind::MeshArgumentsModule::STATUS_BINDING pub const ST
|
||||
assoc-const metal2vulkan::bind::MeshDispatch::DISPATCH_OFFSET pub const DISPATCH_OFFSET: u64
|
||||
assoc-const metal2vulkan::bind::MeshDispatch::DRAW_ID pub const DRAW_ID: usize
|
||||
assoc-const metal2vulkan::bind::MeshDispatch::DRAW_OFFSET pub const DRAW_OFFSET: u64
|
||||
assoc-const metal2vulkan::bind::MeshDispatch::OBJECT_DISPATCH_OFFSET pub const OBJECT_DISPATCH_OFFSET: u64
|
||||
assoc-const metal2vulkan::bind::MeshDispatch::POOL_WORDS pub const POOL_WORDS: usize
|
||||
assoc-const metal2vulkan::bind::MeshScanModule::ARGUMENTS_BINDING pub const ARGUMENTS_BINDING: u32
|
||||
assoc-const metal2vulkan::bind::MeshScanModule::LOCAL_SIZE pub const LOCAL_SIZE: u32
|
||||
@@ -274,8 +269,6 @@ assoc-const metal2vulkan::bind::PredicationStepModule::RECORD_BINDING pub const
|
||||
assoc-const metal2vulkan::bind::PredicationStepModule::WORD_BINDING pub const WORD_BINDING: u32
|
||||
assoc-const metal2vulkan::bind::PvrtcDecode::BLOCK_BYTES pub const BLOCK_BYTES: u32
|
||||
assoc-const metal2vulkan::bind::PvrtcDecode::TEXEL_BYTES pub const TEXEL_BYTES: u32
|
||||
assoc-const metal2vulkan::bind::RasterizationRateMap::PARAMETER_DATA_ALIGNMENT pub const PARAMETER_DATA_ALIGNMENT: u64
|
||||
assoc-const metal2vulkan::bind::RasterizationRateMap::PARAMETER_DATA_SIZE pub const PARAMETER_DATA_SIZE: u64
|
||||
assoc-const metal2vulkan::bind::RateMapRegions::MAX_REGIONS pub const MAX_REGIONS: usize
|
||||
assoc-const metal2vulkan::bind::ReplayFaults::ACTION pub const ACTION: ReplayFaults
|
||||
assoc-const metal2vulkan::bind::ReplayFaults::BARRIER pub const BARRIER: ReplayFaults
|
||||
@@ -294,8 +287,6 @@ assoc-const metal2vulkan::bind::ReplayPreprocessModule::RESIDENT_PUSH pub const
|
||||
assoc-const metal2vulkan::bind::ReplayPreprocessModule::STATUS_PUSH pub const STATUS_PUSH: u32
|
||||
assoc-const metal2vulkan::bind::RewritePhase::ALL pub const ALL: [RewritePhase; 3]
|
||||
assoc-const metal2vulkan::bind::RewriteProgram::ALL pub const ALL: [RewriteProgram; 8]
|
||||
assoc-const metal2vulkan::bind::RootTable::ENTRY_ALIGNMENT pub const ENTRY_ALIGNMENT: u64
|
||||
assoc-const metal2vulkan::bind::RootTable::RESIDENT_FIELDS_OFFSET pub const RESIDENT_FIELDS_OFFSET: u32
|
||||
assoc-const metal2vulkan::bind::RootTable::SINK_HOST_OFFSET pub const SINK_HOST_OFFSET: u32
|
||||
assoc-const metal2vulkan::bind::RotateTexelsModule::DESTINATION_BINDING pub const DESTINATION_BINDING: u32
|
||||
assoc-const metal2vulkan::bind::RotateTexelsModule::LOCAL_SIZE pub const LOCAL_SIZE: u32
|
||||
@@ -305,7 +296,6 @@ assoc-const metal2vulkan::bind::RotateTexelsModule::SHAPE_WORDS pub const SHAPE_
|
||||
assoc-const metal2vulkan::bind::RotateTexelsModule::SOURCE_BINDING pub const SOURCE_BINDING: u32
|
||||
assoc-const metal2vulkan::bind::RowsCopyModule::DESTINATION_BINDING pub const DESTINATION_BINDING: u32
|
||||
assoc-const metal2vulkan::bind::RowsCopyModule::LOCAL_SIZE pub const LOCAL_SIZE: u32
|
||||
assoc-const metal2vulkan::bind::RowsCopyModule::MOST_FIRST_WORD pub const MOST_FIRST_WORD: u32
|
||||
assoc-const metal2vulkan::bind::RowsCopyModule::PUSH_BYTES pub const PUSH_BYTES: u32
|
||||
assoc-const metal2vulkan::bind::RowsCopyModule::SET pub const SET: u32
|
||||
assoc-const metal2vulkan::bind::RowsCopyModule::SOURCE_BINDING pub const SOURCE_BINDING: u32
|
||||
@@ -403,13 +393,11 @@ assoc-const metal2vulkan::bind::YCbCrInPlace::WORDS pub const WORDS: usize
|
||||
assoc-const metal2vulkan::bind::YCbCrRefreshModule::COMPLETED pub const COMPLETED: u32
|
||||
assoc-const metal2vulkan::bind::YCbCrRefreshModule::COPY_BINDING pub const COPY_BINDING: u32
|
||||
assoc-const metal2vulkan::bind::YCbCrRefreshModule::LOCAL_SIZE pub const LOCAL_SIZE: u32
|
||||
assoc-const metal2vulkan::bind::YCbCrRefreshModule::MOST_FIRST_WORD pub const MOST_FIRST_WORD: u32
|
||||
assoc-const metal2vulkan::bind::YCbCrRefreshModule::PLANES_BINDING pub const PLANES_BINDING: u32
|
||||
assoc-const metal2vulkan::bind::YCbCrRefreshModule::PUSH_BYTES pub const PUSH_BYTES: u32
|
||||
assoc-const metal2vulkan::bind::YCbCrRefreshModule::ROW_WORDS pub const ROW_WORDS: u32
|
||||
assoc-const metal2vulkan::bind::YCbCrRefreshModule::SET pub const SET: u32
|
||||
assoc-const metal2vulkan::bind::YCbCrRefreshModule::STATE_BINDING pub const STATE_BINDING: u32
|
||||
assoc-const metal2vulkan::bind::YCbCrRefreshModule::STATE_WORDS pub const STATE_WORDS: u32
|
||||
assoc-const metal2vulkan::bind::YCbCrSampleModule::IMAGE_BINDING pub const IMAGE_BINDING: u32
|
||||
assoc-const metal2vulkan::bind::YCbCrSampleModule::LOCAL_SIZE pub const LOCAL_SIZE: u32
|
||||
assoc-const metal2vulkan::bind::YCbCrSampleModule::PLANES_BINDING pub const PLANES_BINDING: u32
|
||||
@@ -633,11 +621,8 @@ assoc-const-value metal2vulkan::bind::IndexBoundsFillModule::POOL_BINDING 2
|
||||
assoc-const-value metal2vulkan::bind::IndexBoundsFillModule::SET 0
|
||||
assoc-const-value metal2vulkan::bind::IndexBoundsFillModule::WORDS_BINDING 0
|
||||
assoc-const-value metal2vulkan::bind::IndexBoundsPass::BYTES 96
|
||||
assoc-const-value metal2vulkan::bind::IndexBoundsPass::FILL_DISPATCH_OFFSET 72
|
||||
assoc-const-value metal2vulkan::bind::IndexBoundsPass::FIRST_DRAW_OFFSET 32
|
||||
assoc-const-value metal2vulkan::bind::IndexBoundsPass::PARAMETER_WORDS 8
|
||||
assoc-const-value metal2vulkan::bind::IndexBoundsPass::POOL_HEADER_BYTES 16
|
||||
assoc-const-value metal2vulkan::bind::IndexBoundsPass::SECOND_DRAW_OFFSET 52
|
||||
assoc-const-value metal2vulkan::bind::IndexBoundsPlanModule::ARGUMENTS_BINDING 1
|
||||
assoc-const-value metal2vulkan::bind::IndexBoundsPlanModule::POOL_BINDING 2
|
||||
assoc-const-value metal2vulkan::bind::IndexBoundsPlanModule::SET 0
|
||||
@@ -659,7 +644,6 @@ assoc-const-value metal2vulkan::bind::IndexGatherModule::SET 0
|
||||
assoc-const-value metal2vulkan::bind::IndexGatherModule::TABLE_BINDING 0
|
||||
assoc-const-value metal2vulkan::bind::IndexGatherPlanModule::ARGUMENTS_BINDING 1
|
||||
assoc-const-value metal2vulkan::bind::IndexGatherPlanModule::DRAWS_BINDING 4
|
||||
assoc-const-value metal2vulkan::bind::IndexGatherPlanModule::DRAW_BYTES 20
|
||||
assoc-const-value metal2vulkan::bind::IndexGatherPlanModule::LOCAL_SIZE 128
|
||||
assoc-const-value metal2vulkan::bind::IndexGatherPlanModule::MAX_DRAWS 512
|
||||
assoc-const-value metal2vulkan::bind::IndexGatherPlanModule::POOL_BINDING 2
|
||||
@@ -708,7 +692,6 @@ assoc-const-value metal2vulkan::bind::MeshArgumentsModule::STATUS_BINDING 2
|
||||
assoc-const-value metal2vulkan::bind::MeshDispatch::DISPATCH_OFFSET 4 * crate::lower::mesh::work::DISPATCH as u64
|
||||
assoc-const-value metal2vulkan::bind::MeshDispatch::DRAW_ID crate::lower::mesh::work::DRAW_ID as usize
|
||||
assoc-const-value metal2vulkan::bind::MeshDispatch::DRAW_OFFSET 4 * crate::lower::mesh::work::DRAW as u64
|
||||
assoc-const-value metal2vulkan::bind::MeshDispatch::OBJECT_DISPATCH_OFFSET 4 * crate::lower::mesh::work::OBJECT_DISPATCH as u64
|
||||
assoc-const-value metal2vulkan::bind::MeshDispatch::POOL_WORDS crate::lower::mesh::work::POOL_WORDS as usize
|
||||
assoc-const-value metal2vulkan::bind::MeshScanModule::ARGUMENTS_BINDING 2
|
||||
assoc-const-value metal2vulkan::bind::MeshScanModule::LOCAL_SIZE 64
|
||||
@@ -775,8 +758,6 @@ assoc-const-value metal2vulkan::bind::PredicationStepModule::RECORD_BINDING 0
|
||||
assoc-const-value metal2vulkan::bind::PredicationStepModule::WORD_BINDING 2
|
||||
assoc-const-value metal2vulkan::bind::PvrtcDecode::BLOCK_BYTES 8
|
||||
assoc-const-value metal2vulkan::bind::PvrtcDecode::TEXEL_BYTES 4
|
||||
assoc-const-value metal2vulkan::bind::RasterizationRateMap::PARAMETER_DATA_ALIGNMENT 4
|
||||
assoc-const-value metal2vulkan::bind::RasterizationRateMap::PARAMETER_DATA_SIZE format::BYTES as u64
|
||||
assoc-const-value metal2vulkan::bind::RateMapRegions::MAX_REGIONS 128 * 128
|
||||
assoc-const-value metal2vulkan::bind::ReplayFaults::ACTION ReplayFaults(1 <<1)
|
||||
assoc-const-value metal2vulkan::bind::ReplayFaults::BARRIER ReplayFaults(1 <<11)
|
||||
@@ -795,8 +776,6 @@ assoc-const-value metal2vulkan::bind::ReplayPreprocessModule::RESIDENT_PUSH 0
|
||||
assoc-const-value metal2vulkan::bind::ReplayPreprocessModule::STATUS_PUSH 8
|
||||
assoc-const-value metal2vulkan::bind::RewritePhase::ALL [RewritePhase::Count, RewritePhase::Place, RewritePhase::Write]
|
||||
assoc-const-value metal2vulkan::bind::RewriteProgram::ALL [RewriteProgram::LineStrip, RewriteProgram::TriangleStrip, RewriteProgram::LineLoop, RewriteProgram::TriangleFan, RewriteProgram::Quads, RewriteProgram::QuadStrip, RewriteProgram::LineList, RewriteProgram::TriangleList]
|
||||
assoc-const-value metal2vulkan::bind::RootTable::ENTRY_ALIGNMENT ENTRY_BYTES
|
||||
assoc-const-value metal2vulkan::bind::RootTable::RESIDENT_FIELDS_OFFSET (SINK_ROOT * ENTRY_BYTES + RESIDENT_FIRST) as u32
|
||||
assoc-const-value metal2vulkan::bind::RootTable::SINK_HOST_OFFSET (SINK_ROOT * ENTRY_BYTES + HOST) as u32
|
||||
assoc-const-value metal2vulkan::bind::RotateTexelsModule::DESTINATION_BINDING 1
|
||||
assoc-const-value metal2vulkan::bind::RotateTexelsModule::LOCAL_SIZE 64
|
||||
@@ -806,7 +785,6 @@ assoc-const-value metal2vulkan::bind::RotateTexelsModule::SHAPE_WORDS 13
|
||||
assoc-const-value metal2vulkan::bind::RotateTexelsModule::SOURCE_BINDING 0
|
||||
assoc-const-value metal2vulkan::bind::RowsCopyModule::DESTINATION_BINDING 1
|
||||
assoc-const-value metal2vulkan::bind::RowsCopyModule::LOCAL_SIZE 64
|
||||
assoc-const-value metal2vulkan::bind::RowsCopyModule::MOST_FIRST_WORD 0xffff
|
||||
assoc-const-value metal2vulkan::bind::RowsCopyModule::PUSH_BYTES 16
|
||||
assoc-const-value metal2vulkan::bind::RowsCopyModule::SET 0
|
||||
assoc-const-value metal2vulkan::bind::RowsCopyModule::SOURCE_BINDING 0
|
||||
@@ -904,13 +882,11 @@ assoc-const-value metal2vulkan::bind::YCbCrInPlace::WORDS 8
|
||||
assoc-const-value metal2vulkan::bind::YCbCrRefreshModule::COMPLETED 3
|
||||
assoc-const-value metal2vulkan::bind::YCbCrRefreshModule::COPY_BINDING 1
|
||||
assoc-const-value metal2vulkan::bind::YCbCrRefreshModule::LOCAL_SIZE 64
|
||||
assoc-const-value metal2vulkan::bind::YCbCrRefreshModule::MOST_FIRST_WORD 0xffff
|
||||
assoc-const-value metal2vulkan::bind::YCbCrRefreshModule::PLANES_BINDING 0
|
||||
assoc-const-value metal2vulkan::bind::YCbCrRefreshModule::PUSH_BYTES 16
|
||||
assoc-const-value metal2vulkan::bind::YCbCrRefreshModule::ROW_WORDS Self::LOCAL_SIZE * 1024
|
||||
assoc-const-value metal2vulkan::bind::YCbCrRefreshModule::SET 0
|
||||
assoc-const-value metal2vulkan::bind::YCbCrRefreshModule::STATE_BINDING 2
|
||||
assoc-const-value metal2vulkan::bind::YCbCrRefreshModule::STATE_WORDS 4
|
||||
assoc-const-value metal2vulkan::bind::YCbCrSampleModule::IMAGE_BINDING 1
|
||||
assoc-const-value metal2vulkan::bind::YCbCrSampleModule::LOCAL_SIZE 8
|
||||
assoc-const-value metal2vulkan::bind::YCbCrSampleModule::PLANES_BINDING 0
|
||||
@@ -1100,7 +1076,6 @@ const metal2vulkan::bind::indirect_commands::WRITTEN_FLAG_BYTES pub const WRITTE
|
||||
const metal2vulkan::cache::ARTIFACT_FORMAT_VERSION pub const ARTIFACT_FORMAT_VERSION: u32
|
||||
const metal2vulkan::cache::RUNTIME_VERSION pub const RUNTIME_VERSION: u32
|
||||
const metal2vulkan::cache::SEMANTICS_VERSION pub const SEMANTICS_VERSION: u32
|
||||
const metal2vulkan::cache::SOURCE_DIGEST pub const SOURCE_DIGEST: &str
|
||||
const metal2vulkan::metal::format::BICUBIC_TEXELS_UNBOUND pub const BICUBIC_TEXELS_UNBOUND: u32
|
||||
const metal2vulkan::metal::sampler::NOT_MIPMAPPED_MAX_LOD pub const NOT_MIPMAPPED_MAX_LOD: f32
|
||||
const metal2vulkan::metal::vertex::MAX_VERTEX_ALIGNMENT pub const MAX_VERTEX_ALIGNMENT: u32
|
||||
@@ -1197,7 +1172,6 @@ const-value metal2vulkan::bind::indirect_commands::RECORDS_ADDRESS_BASE 1 <<63
|
||||
const-value metal2vulkan::bind::indirect_commands::RECORDS_ID_LIMIT 1 <<31
|
||||
const-value metal2vulkan::bind::indirect_commands::THREADGROUP_BUFFER_ARGUMENT_COUNT 31
|
||||
const-value metal2vulkan::bind::indirect_commands::WRITTEN_FLAG_BYTES 4
|
||||
const-value metal2vulkan::cache::SOURCE_DIGEST env!("M2V_SOURCE_DIGEST")
|
||||
const-value metal2vulkan::metal::format::BICUBIC_TEXELS_UNBOUND crate::metal::bicubic::BicubicTexels::NEUTRAL.0
|
||||
const-value metal2vulkan::metal::sampler::NOT_MIPMAPPED_MAX_LOD 0.25
|
||||
const-value metal2vulkan::metal::vertex::MAX_VERTEX_ALIGNMENT 4
|
||||
@@ -1510,7 +1484,6 @@ enum metal2vulkan::error::LowerFamily #[derive(Clone, Copy, Debug, PartialEq, Eq
|
||||
enum metal2vulkan::error::MeshPipelineProblem #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash)] #[non_exhaustive] pub enum MeshPipelineProblem
|
||||
enum metal2vulkan::error::MetalAnswer #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash)] #[non_exhaustive] pub enum MetalAnswer
|
||||
enum metal2vulkan::error::Needs #[derive(Clone, Debug, PartialEq, Eq)] #[non_exhaustive] pub enum Needs
|
||||
enum metal2vulkan::error::Permanence #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash)] #[non_exhaustive] pub enum Permanence
|
||||
enum metal2vulkan::error::PrivateRenderField #[derive(Clone, Copy, Debug, PartialEq, Eq, PartialOrd, Ord, Hash)] #[non_exhaustive] pub enum PrivateRenderField
|
||||
enum metal2vulkan::error::Retry #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash)] #[non_exhaustive] pub enum Retry
|
||||
enum metal2vulkan::error::RuntimeDriverDefect #[derive(Clone, Copy, Debug, PartialEq, Eq, PartialOrd, Ord, Hash)] #[non_exhaustive] pub enum RuntimeDriverDefect
|
||||
@@ -1522,7 +1495,6 @@ enum metal2vulkan::library::LibraryType #[derive(Clone, Copy, Debug, PartialEq,
|
||||
enum metal2vulkan::metal::DataType #[derive(Clone, Copy, Debug, PartialEq, Eq, PartialOrd, Ord, Hash)] pub enum DataType
|
||||
enum metal2vulkan::metal::TextureWriteRoundingMode #[cfg_attr(feature = "serde", derive(serde::Serialize, serde::Deserialize))] #[derive(Clone, Copy, Debug, Default, PartialEq, Eq, PartialOrd, Ord, Hash)] #[non_exhaustive] pub enum TextureWriteRoundingMode
|
||||
enum metal2vulkan::metal::format::ChromaSubsampling #[cfg_attr(feature = "serde", derive(serde::Serialize, serde::Deserialize))] #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash)] #[non_exhaustive] pub enum ChromaSubsampling
|
||||
enum metal2vulkan::metal::format::ClearRoute #[cfg_attr(feature = "serde", derive(serde::Serialize, serde::Deserialize))] #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash)] #[non_exhaustive] pub enum ClearRoute
|
||||
enum metal2vulkan::metal::format::ExtendedRange #[cfg_attr(feature = "serde", derive(serde::Serialize, serde::Deserialize))] #[derive(Clone, Copy, Debug, PartialEq, Eq, PartialOrd, Ord, Hash)] #[non_exhaustive] pub enum ExtendedRange
|
||||
enum metal2vulkan::metal::format::Footprint #[cfg_attr(feature = "serde", derive(serde::Serialize, serde::Deserialize))] #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash)] #[non_exhaustive] pub enum Footprint
|
||||
enum metal2vulkan::metal::format::FormatEmulation #[cfg_attr(feature = "serde", derive(serde::Serialize, serde::Deserialize))] #[derive(Clone, Copy, Debug, PartialEq, Eq, PartialOrd, Ord, Hash)] #[non_exhaustive] pub enum FormatEmulation
|
||||
@@ -2210,6 +2182,9 @@ field metal2vulkan-runtime::Metrics.external_releases pub external_releases: u64
|
||||
field metal2vulkan-runtime::Metrics.first_use_line_wait_max_nanos pub first_use_line_wait_max_nanos: u64
|
||||
field metal2vulkan-runtime::Metrics.first_use_line_wait_nanos pub first_use_line_wait_nanos: u64
|
||||
field metal2vulkan-runtime::Metrics.first_use_line_waits pub first_use_line_waits: u64
|
||||
field metal2vulkan-runtime::Metrics.first_use_point_wait_max_nanos pub first_use_point_wait_max_nanos: u64
|
||||
field metal2vulkan-runtime::Metrics.first_use_point_wait_nanos pub first_use_point_wait_nanos: u64
|
||||
field metal2vulkan-runtime::Metrics.first_use_point_waits pub first_use_point_waits: u64
|
||||
field metal2vulkan-runtime::Metrics.first_use_variant_wait_max_nanos pub first_use_variant_wait_max_nanos: u64
|
||||
field metal2vulkan-runtime::Metrics.first_use_variant_wait_nanos pub first_use_variant_wait_nanos: u64
|
||||
field metal2vulkan-runtime::Metrics.first_use_variant_waits pub first_use_variant_waits: u64
|
||||
@@ -2283,6 +2258,8 @@ field metal2vulkan-runtime::Metrics.render_records_stale pub render_records_stal
|
||||
field metal2vulkan-runtime::Metrics.resolves pub resolves: u64
|
||||
field metal2vulkan-runtime::Metrics.ring_block_allocations pub ring_block_allocations: SiteAllocations
|
||||
field metal2vulkan-runtime::Metrics.ring_writes pub ring_writes: u64
|
||||
field metal2vulkan-runtime::Metrics.runtime_command_buffer_gpu_nanos pub runtime_command_buffer_gpu_nanos: u64
|
||||
field metal2vulkan-runtime::Metrics.runtime_command_buffers pub runtime_command_buffers: u64
|
||||
field metal2vulkan-runtime::Metrics.sampler_element_writes pub sampler_element_writes: u64
|
||||
field metal2vulkan-runtime::Metrics.scheduled_to_gpu_start pub scheduled_to_gpu_start: [u64; STAGE_BUCKETS]
|
||||
field metal2vulkan-runtime::Metrics.shared_long_reuses pub shared_long_reuses: u64
|
||||
@@ -2588,7 +2565,6 @@ field metal2vulkan::bind::BindShape.tessellation_factor_buffer pub tessellation_
|
||||
field metal2vulkan::bind::BindShape.tile_threadgroup pub tile_threadgroup: TileThreadgroupMemory
|
||||
field metal2vulkan::bind::BindShape.used pub used: BTreeMap<u32, UsedShape>
|
||||
field metal2vulkan::bind::BindShape.vertex_amplification pub vertex_amplification: VertexAmplification
|
||||
field metal2vulkan::bind::BindShape.viewport_compensation pub viewport_compensation: Option<ViewportCompensation>
|
||||
field metal2vulkan::bind::BindShape.zeroed_colors pub zeroed_colors: BTreeMap<u32, metal::PixelFormat>
|
||||
field metal2vulkan::bind::BindState.alpha_test_reference pub alpha_test_reference: Option<f32>
|
||||
field metal2vulkan::bind::BindState.argument_samplers pub argument_samplers: Vec<ArgumentSampler>
|
||||
@@ -2630,7 +2606,6 @@ field metal2vulkan::bind::BindState.used_in_token_order pub used_in_token_order:
|
||||
field metal2vulkan::bind::BindState.used_resources pub used_resources: Vec<UsedResource>
|
||||
field metal2vulkan::bind::BindState.vertex_amplification pub vertex_amplification: VertexAmplification
|
||||
field metal2vulkan::bind::BindState.view_base_alignment pub view_base_alignment: u32
|
||||
field metal2vulkan::bind::BindState.viewport_compensation pub viewport_compensation: Option<CompensatedViewport>
|
||||
field metal2vulkan::bind::BindState.viewport_count pub viewport_count: u32
|
||||
field metal2vulkan::bind::BindState.zeroed_colors pub zeroed_colors: BTreeMap<u32, metal::PixelFormat>
|
||||
field metal2vulkan::bind::BindingPlan.compute pub compute: Option<ComputeTemplate>
|
||||
@@ -2671,11 +2646,6 @@ field metal2vulkan::bind::ChromaSampleModule.spirv pub spirv: Arc<[u32]>
|
||||
field metal2vulkan::bind::ColorResolveModules.fragment pub fragment: Arc<[u32]>
|
||||
field metal2vulkan::bind::ColorResolveModules.requirements pub requirements: Requirements
|
||||
field metal2vulkan::bind::ColorResolveModules.vertex pub vertex: Arc<[u32]>
|
||||
field metal2vulkan::bind::CompensatedViewport.compensation pub compensation: ViewportCompensation
|
||||
field metal2vulkan::bind::CompensatedViewport.guard pub guard: [f32; 2]
|
||||
field metal2vulkan::bind::CompensatedViewport.mirrors pub mirrors: u32
|
||||
field metal2vulkan::bind::CompensatedViewport.values pub values: [f32; 4]
|
||||
field metal2vulkan::bind::CompensatedViewport.vertex_clamp pub vertex_clamp: [f32; 2]
|
||||
field metal2vulkan::bind::ContinuedResult.count pub count: u32
|
||||
field metal2vulkan::bind::ContinuedResult.first pub first: u32
|
||||
field metal2vulkan::bind::ContinuedResult.low_half pub low_half: bool
|
||||
@@ -3259,7 +3229,6 @@ field metal2vulkan::cache::VariantKey.swizzled_storage pub swizzled_storage: BTr
|
||||
field metal2vulkan::cache::VariantKey.texel_buffer_parts pub texel_buffer_parts: BTreeMap<SlotRef, u32>
|
||||
field metal2vulkan::cache::VariantKey.texel_rows pub texel_rows: BTreeSet<SlotRef>
|
||||
field metal2vulkan::cache::VariantKey.unit_axes pub unit_axes: u8
|
||||
field metal2vulkan::cache::VariantKey.viewport_compensation pub viewport_compensation: Option<crate::pipeline::ViewportCompensation>
|
||||
field metal2vulkan::cache::VariantKey.window_depth_varying pub window_depth_varying: bool
|
||||
field metal2vulkan::cache::VariantKey.ycbcr_in_place pub ycbcr_in_place: BTreeSet<SlotRef>
|
||||
field metal2vulkan::cache::VariantKey.ycbcr_planes_sampled pub ycbcr_planes_sampled: BTreeMap<SlotRef, crate::bind::YCbCrPlanesSampler>
|
||||
@@ -3867,7 +3836,6 @@ field metal2vulkan::pipeline::LoweringInputs.unattached_colors pub unattached_co
|
||||
field metal2vulkan::pipeline::LoweringInputs.uniform_varyings pub uniform_varyings: BTreeSet<VaryingKey>
|
||||
field metal2vulkan::pipeline::LoweringInputs.unit_axes pub unit_axes: u8
|
||||
field metal2vulkan::pipeline::LoweringInputs.vertex_fetch pub vertex_fetch: Option<VertexFetchProjection>
|
||||
field metal2vulkan::pipeline::LoweringInputs.viewport_compensation pub viewport_compensation: Option<ViewportCompensation>
|
||||
field metal2vulkan::pipeline::LoweringInputs.viewport_index_varying pub viewport_index_varying: bool
|
||||
field metal2vulkan::pipeline::LoweringInputs.window_depth_varying pub window_depth_varying: bool
|
||||
field metal2vulkan::pipeline::LoweringInputs.word_colors pub word_colors: BTreeMap<u32, metal::format::WordAttachment>
|
||||
@@ -4149,10 +4117,6 @@ field metal2vulkan::pipeline::VertexInputState.attributes pub attributes: Vec<Ve
|
||||
field metal2vulkan::pipeline::VertexInputState.bindings pub bindings: Vec<VertexBinding>
|
||||
field metal2vulkan::pipeline::VertexInputState.pulled pub pulled: Vec<PulledAttribute>
|
||||
field metal2vulkan::pipeline::VertexInputState.variant_pulled pub variant_pulled: BTreeSet<u32>
|
||||
field metal2vulkan::pipeline::ViewportCompensation.depth pub depth: bool
|
||||
field metal2vulkan::pipeline::ViewportCompensation.mirrors pub mirrors: bool
|
||||
field metal2vulkan::pipeline::ViewportCompensation.point_guard pub point_guard: bool
|
||||
field metal2vulkan::pipeline::ViewportCompensation.vertex_clamp pub vertex_clamp: bool
|
||||
field metal2vulkan::reflection::DirectArgumentUse.gap pub gap: Option<LinkedUseGap>
|
||||
field metal2vulkan::reflection::DirectArgumentUse.stage pub stage: Stage
|
||||
field metal2vulkan::reflection::LinkedUseAnswers.fragment_writes_depth_unattached pub fragment_writes_depth_unattached: Option<bool>
|
||||
@@ -4337,7 +4301,6 @@ fn metal2vulkan::metal::format::byte_format pub fn byte_format(pf: PixelFormat)
|
||||
fn metal2vulkan::metal::format::color_record pub fn color_record(formats: &[Option<PixelFormat>]) -> Option<Vec<Option<(u32, u32)>>>
|
||||
fn metal2vulkan::metal::format::copies_only pub fn copies_only(pf: PixelFormat) -> bool
|
||||
fn metal2vulkan::metal::format::direct_format pub fn direct_format(pf: PixelFormat) -> Option<vk::Format>
|
||||
fn metal2vulkan::metal::format::explicit_imageblock_sample_length pub fn explicit_imageblock_sample_length(data_size: u32, alignment: u32, colors: u32) -> Option<u32>
|
||||
fn metal2vulkan::metal::format::extended_range_blend pub fn extended_range_blend(pf: PixelFormat, profile: &DeviceProfile) -> Result<(), Unsupported>
|
||||
fn metal2vulkan::metal::format::footprint pub fn footprint(pf: PixelFormat) -> Option<Footprint>
|
||||
fn metal2vulkan::metal::format::image_type pub fn image_type(ty: TextureType) -> Option<(vk::ImageType, vk::ImageCreateFlags)>
|
||||
@@ -4345,14 +4308,12 @@ fn metal2vulkan::metal::format::image_view_type pub fn image_view_type(ty: Textu
|
||||
fn metal2vulkan::metal::format::imageblock_sample_length pub fn imageblock_sample_length(formats: &[Option<PixelFormat>]) -> Option<u32>
|
||||
fn metal2vulkan::metal::format::integer_channels_word pub fn integer_channels_word(pf: PixelFormat) -> u32
|
||||
fn metal2vulkan::metal::format::is_depth_stencil pub fn is_depth_stencil(pf: PixelFormat) -> bool
|
||||
fn metal2vulkan::metal::format::padded_words pub fn padded_words(pf: PixelFormat) -> bool
|
||||
fn metal2vulkan::metal::format::rotated_channels pub fn rotated_channels(pf: PixelFormat) -> bool
|
||||
fn metal2vulkan::metal::format::sampled_type pub fn sampled_type(pf: PixelFormat) -> Option<SampledType>
|
||||
fn metal2vulkan::metal::format::srgb_raw_twin pub fn srgb_raw_twin(pf: PixelFormat) -> Option<PixelFormat>
|
||||
fn metal2vulkan::metal::format::srgb_sibling pub fn srgb_sibling(pf: PixelFormat) -> Option<PixelFormat>
|
||||
fn metal2vulkan::metal::format::storage_image_choice pub fn storage_image_choice(pf: PixelFormat, profile: &DeviceProfile) -> Result<StorageImageChoice, Error>
|
||||
fn metal2vulkan::metal::format::storage_view_formats pub fn storage_view_formats(pf: PixelFormat, profile: &DeviceProfile) -> Vec<vk::Format>
|
||||
fn metal2vulkan::metal::format::swizzle_over pub fn swizzle_over(pf: PixelFormat, swizzle: TextureSwizzleChannels, own: PixelFormat, profile: &DeviceProfile) -> Option<TextureSwizzleChannels>
|
||||
fn metal2vulkan::metal::format::texture_usages pub fn texture_usages(pf: PixelFormat, usage: TextureUsage) -> BTreeSet<FormatUsage>
|
||||
fn metal2vulkan::metal::format::to_rotated_image pub fn to_rotated_image<T: Copy>(metal: [T; 4]) -> [T; 4]
|
||||
fn metal2vulkan::metal::format::views_with_usage pub fn views_with_usage(pf: PixelFormat, view: PixelFormat) -> bool
|
||||
@@ -7113,7 +7074,6 @@ method metal2vulkan-air::budget::Meter::work pub fn work(&self) -> u64
|
||||
method metal2vulkan-air::budget::Spent::held pub fn held(&self) -> u64
|
||||
method metal2vulkan-air::canon::CommandWrites::is_empty pub const fn is_empty(self) -> bool
|
||||
method metal2vulkan-air::canon::CommandWrites::may pub const fn may(self, bits: u32) -> bool
|
||||
method metal2vulkan-air::canon::CommandWrites::may_draw_primitive_type pub const fn may_draw_primitive_type(self, raw: u32) -> bool
|
||||
method metal2vulkan-air::canon::CommandWrites::union pub const fn union(self, other: CommandWrites) -> CommandWrites
|
||||
method metal2vulkan-air::canon::CommandWrites::writes_kinds pub const fn writes_kinds(self, kinds: u8) -> bool
|
||||
method metal2vulkan-air::container::FunctionStage::from_type_tag pub fn from_type_tag(value: u8) -> FunctionStage
|
||||
@@ -7468,7 +7428,6 @@ method metal2vulkan-runtime::ComputePipelineDescriptor::lowering_inputs pub fn l
|
||||
method metal2vulkan-runtime::ComputePipelineDescriptor::new pub fn new(kernel: StageSource) -> ComputePipelineDescriptor
|
||||
method metal2vulkan-runtime::ComputePipelineDescriptor::reflection pub fn reflection(&self, budget: &crate::Budget) -> Result<ComputePipelineReflection, Error>
|
||||
method metal2vulkan-runtime::ComputePipelineDescriptor::slot_writes pub fn slot_writes(&self, budget: &crate::Budget) -> Result<SlotWrites, Error>
|
||||
method metal2vulkan-runtime::ComputePipelineDescriptor::uses_direct_arguments pub fn uses_direct_arguments(&self, budget: &crate::Budget) -> Result<bool, Error>
|
||||
method metal2vulkan-runtime::ComputePipelineState::dispatch_variant pub fn dispatch_variant(&self, dispatch: Dispatch, threads_per_threadgroup: [u32; 3], threadgroup_memory_lengths: &[(u32, u32)]) -> Option<DispatchVariant>
|
||||
method metal2vulkan-runtime::ComputePipelineState::imageblock_memory_length_for_dimensions pub fn imageblock_memory_length_for_dimensions(&self, _dimensions: [u32; 3]) -> Result<u64, Error>
|
||||
method metal2vulkan-runtime::ComputePipelineState::max_total_threads_per_threadgroup pub fn max_total_threads_per_threadgroup(&self) -> u32
|
||||
@@ -7535,7 +7494,6 @@ method metal2vulkan-runtime::FunctionDescriptor::needs_specialization pub fn nee
|
||||
method metal2vulkan-runtime::FunctionDescriptor::new pub fn new(function: Function) -> FunctionDescriptor
|
||||
method metal2vulkan-runtime::FunctionDescriptor::with_libraries pub fn with_libraries(mut self, libraries: DynamicLibraries) -> FunctionDescriptor
|
||||
method metal2vulkan-runtime::FunctionDescriptor::with_linked pub fn with_linked(mut self, linked: LinkedFunctions) -> FunctionDescriptor
|
||||
method metal2vulkan-runtime::FunctionDescriptor::with_loaded_dependencies pub fn with_loaded_dependencies(mut self, mut load: impl FnMut(&str) -> Option<DynamicLibrary>) -> FunctionDescriptor
|
||||
method metal2vulkan-runtime::FunctionDescriptor::with_specialized pub fn with_specialized(mut self, specialized: bool) -> FunctionDescriptor
|
||||
method metal2vulkan-runtime::HostBytes::from_raw pub unsafe fn from_raw(start: *const u8, len: usize) -> HostBytes<'a>
|
||||
method metal2vulkan-runtime::HostBytes::is_empty pub fn is_empty(&self) -> bool
|
||||
@@ -7657,13 +7615,10 @@ method metal2vulkan::CancelToken::cancel pub fn cancel(&self)
|
||||
method metal2vulkan::CancelToken::is_cancelled pub fn is_cancelled(&self) -> bool
|
||||
method metal2vulkan::CancelToken::new pub fn new() -> CancelToken
|
||||
method metal2vulkan::bind::ArgumentBufferLayout::argument pub fn argument(&self, index: u32) -> Option<ArgumentPlace>
|
||||
method metal2vulkan::bind::ArgumentBufferLayout::from_buffer_binding pub fn from_buffer_binding(binding: &BufferBinding) -> Result<ArgumentBufferLayout, ArgumentLayoutError>
|
||||
method metal2vulkan::bind::ArgumentBufferLayout::from_descriptors pub fn from_descriptors(descriptors: &[ArgumentDescriptor]) -> Result<ArgumentBufferLayout, ArgumentLayoutError>
|
||||
method metal2vulkan::bind::ArgumentBufferLayout::id_span pub fn id_span(&self) -> u32
|
||||
method metal2vulkan::bind::ArgumentDescriptor::new pub fn new(data_type: DataType, index: u32) -> ArgumentDescriptor
|
||||
method metal2vulkan::bind::ArgumentFunctionTable::at_address pub fn at_address(self, address: u64) -> ArgumentFunctionTable
|
||||
method metal2vulkan::bind::ArgumentFunctionTable::new pub fn new(resource_id: u64, size: u32) -> ArgumentFunctionTable
|
||||
method metal2vulkan::bind::ArgumentSampler::at_element pub fn at_element(self, element: u32) -> ArgumentSampler
|
||||
method metal2vulkan::bind::ArgumentSampler::new pub fn new(desc: SamplerDescriptor, resource_id: u64) -> ArgumentSampler
|
||||
method metal2vulkan::bind::ArgumentSamplersShape::entries pub fn entries(&self) -> u64
|
||||
method metal2vulkan::bind::ArgumentSamplersShape::least_count pub fn least_count(&self) -> u64
|
||||
@@ -7677,34 +7632,19 @@ method metal2vulkan::bind::AstcDecode::metal_value pub fn metal_value(self, c: [
|
||||
method metal2vulkan::bind::AstcDecode::of pub fn of(pf: PixelFormat) -> Option<AstcDecode>
|
||||
method metal2vulkan::bind::AstcDecode::texel_bytes pub fn texel_bytes(self, texels: AstcTexels) -> u32
|
||||
method metal2vulkan::bind::AstcDecode::texel_format pub fn texel_format(self, texels: AstcTexels) -> Format
|
||||
method metal2vulkan::bind::AstcDecode::texel_pixel_format pub fn texel_pixel_format(self, texels: AstcTexels) -> PixelFormat
|
||||
method metal2vulkan::bind::BindShape::for_plan pub fn for_plan(&self, dependencies: &[RuntimeDependency]) -> Cow<'_, BindShape>
|
||||
method metal2vulkan::bind::BindShape::key_beside_used pub fn key_beside_used(&self) -> u64
|
||||
method metal2vulkan::bind::BindState::has_shape pub fn has_shape(&self, shape: &BindShape) -> bool
|
||||
method metal2vulkan::bind::BindState::has_shape_beside_used pub fn has_shape_beside_used(&self, shape: &BindShape) -> bool
|
||||
method metal2vulkan::bind::BindState::position_of_shape pub fn position_of_shape<'s>(&self, shapes: impl IntoIterator<Item = &'s BindShape>) -> Option<usize>
|
||||
method metal2vulkan::bind::BindState::shape pub fn shape(&self) -> BindShape
|
||||
method metal2vulkan::bind::BindState::shape_key_beside_used pub fn shape_key_beside_used(&self) -> u64
|
||||
method metal2vulkan::bind::BindState::view_base_alignment_of pub fn view_base_alignment_of(limits: &Limits) -> u32
|
||||
method metal2vulkan::bind::BindingPlan::content_digest pub fn content_digest(&self) -> Result<crate::cache::Hash256, String>
|
||||
method metal2vulkan::bind::BindingPlan::dispatch_reads pub fn dispatch_reads(&self, class: SlotClass) -> bool
|
||||
method metal2vulkan::bind::BindingPlan::dispatch_variant pub fn dispatch_variant(&self, dispatch: &Dispatch) -> Result<VariantKey, BindError>
|
||||
method metal2vulkan::bind::BindingPlan::heap_elements pub fn heap_elements(&self, state: &BindState, capacity: u32) -> Result<HeapElements, BindError>
|
||||
method metal2vulkan::bind::BindingPlan::heap_slots pub fn heap_slots(&self) -> impl Iterator<Item = SlotRef> + '_
|
||||
method metal2vulkan::bind::BindingPlan::heap_tables_into pub fn heap_tables_into(&self, state: &BindState, tables: &mut Vec<crate::bind::instantiate::DescriptorBytes>) -> Result<(), BindError>
|
||||
method metal2vulkan::bind::BindingPlan::instantiate_dispatch pub fn instantiate_dispatch(&self, state: &BindState, dispatch: &Dispatch) -> Result<DispatchCommands, BindError>
|
||||
method metal2vulkan::bind::BindingPlan::instantiate_dispatch_into pub fn instantiate_dispatch_into(&self, state: &BindState, dispatch: &Dispatch, commands: &mut DispatchCommands) -> Result<(), BindError>
|
||||
method metal2vulkan::bind::BindingPlan::instantiate_draw pub fn instantiate_draw(&self, state: &BindState, draw: &DrawCall) -> Result<DrawCommands, BindError>
|
||||
method metal2vulkan::bind::BindingPlan::instantiate_draw_apart_into pub fn instantiate_draw_apart_into(&self, state: &BindState, draw: &DrawCall, commands: &mut DrawCommands) -> Result<(), BindError>
|
||||
method metal2vulkan::bind::BindingPlan::instantiate_draw_into pub fn instantiate_draw_into(&self, state: &BindState, draw: &DrawCall, commands: &mut DrawCommands) -> Result<(), BindError>
|
||||
method metal2vulkan::bind::BindingPlan::instantiate_replay pub fn instantiate_replay(&self, state: &BindState, threads_per_group: [u32; 3]) -> Result<DispatchCommands, BindError>
|
||||
method metal2vulkan::bind::BindingPlan::rebind_draw_slots_into pub fn rebind_draw_slots_into(&self, state: &BindState, slots: &[SlotRef], commands: &mut DrawCommands) -> Result<bool, BindError>
|
||||
method metal2vulkan::bind::BindingPlan::rebind_draw_slots_with pub fn rebind_draw_slots_with(&self, rebinds: &SlotRebinds, state: &BindState, commands: &mut DrawCommands) -> Result<bool, BindError>
|
||||
method metal2vulkan::bind::BindingPlan::redraw_apart_into pub fn redraw_apart_into(&self, state: &BindState, (from, draw): (&DrawCall, &DrawCall), commands: &mut DrawCommands) -> Result<bool, BindError>
|
||||
method metal2vulkan::bind::BindingPlan::relisted_sampler_tables pub fn relisted_sampler_tables(&self, device: &crate::device::Device, samplers: &[crate::bind::ArgumentSampler], placement: HeapPlacement) -> Result<Option<Vec<crate::bind::instantiate::DescriptorBytes>>, BindError>
|
||||
method metal2vulkan::bind::BindingPlan::sampler_tables pub fn sampler_tables(&self) -> Vec<(u32, u32)>
|
||||
method metal2vulkan::bind::BindingPlan::slot_rebinds pub fn slot_rebinds(&self, slots: &[SlotRef]) -> Option<SlotRebinds>
|
||||
method metal2vulkan::bind::BindingPlan::slot_rebinds_into pub fn slot_rebinds_into(&self, slots: &[SlotRef], into: &mut SlotRebinds) -> bool
|
||||
method metal2vulkan::bind::BindingPlan::specialized_value pub fn specialized_value(&self, key: SpecKey) -> Option<u64>
|
||||
method metal2vulkan::bind::BindingPlan::unit_axes_variant pub fn unit_axes_variant(&self, dispatch: &Dispatch) -> Result<Option<VariantKey>, BindError>
|
||||
method metal2vulkan::bind::BlockDecodeModule::shape pub fn shape([width, height, depth]: [u32; 3]) -> [u8; Self::SHAPE_WORDS as usize * 4]
|
||||
@@ -7723,26 +7663,17 @@ method metal2vulkan::bind::ChromaDecode::decode_into pub fn decode_into(self, pa
|
||||
method metal2vulkan::bind::ChromaDecode::format pub fn format(self) -> Format
|
||||
method metal2vulkan::bind::ChromaDecode::of pub fn of(pf: PixelFormat) -> Option<ChromaDecode>
|
||||
method metal2vulkan::bind::ChromaDecode::texel_format pub fn texel_format(self) -> Format
|
||||
method metal2vulkan::bind::ChromaDecode::texel_pixel_format pub fn texel_pixel_format(self) -> PixelFormat
|
||||
method metal2vulkan::bind::ChromaSampleModule::shape pub fn shape(size: [u32; 2], first: u32, extent: [u32; 2]) -> [u8; Self::SHAPE_WORDS as usize * 4]
|
||||
method metal2vulkan::bind::ColorResolveFormat::channels pub fn channels(self) -> [Option<ResolveChannel>; 4]
|
||||
method metal2vulkan::bind::ColorResolveFormat::decodes_on_device pub fn decodes_on_device(self) -> bool
|
||||
method metal2vulkan::bind::ColorResolveFormat::device_srgb pub fn device_srgb(self) -> ColorResolveFormat
|
||||
method metal2vulkan::bind::ColorResolveFormat::exact pub fn exact(self) -> bool
|
||||
method metal2vulkan::bind::ColorResolveFormat::extended pub fn extended(self) -> Option<ExtendedRange>
|
||||
method metal2vulkan::bind::ColorResolveFormat::extended_range pub fn extended_range(form: ExtendedRange) -> Option<ColorResolveFormat>
|
||||
method metal2vulkan::bind::ColorResolveFormat::format pub fn format(self) -> Format
|
||||
method metal2vulkan::bind::ColorResolveFormat::held_word pub fn held_word(self) -> Option<WordAttachment>
|
||||
method metal2vulkan::bind::ColorResolveFormat::of pub fn of(format: Format) -> Option<ColorResolveFormat>
|
||||
method metal2vulkan::bind::ColorResolveFormat::raw_format pub fn raw_format(self) -> Format
|
||||
method metal2vulkan::bind::ColorResolveFormat::word pub fn word(word: WordAttachment) -> Option<ColorResolveFormat>
|
||||
method metal2vulkan::bind::ColorResolveFormat::written_format pub fn written_format(self) -> Format
|
||||
method metal2vulkan::bind::ColorResolveFormat::written_raw pub fn written_raw(self) -> ColorResolveFormat
|
||||
method metal2vulkan::bind::CompensatedViewport::new pub fn new(compensation: ViewportCompensation, values: [f32; 4]) -> CompensatedViewport
|
||||
method metal2vulkan::bind::CompensatedViewport::with_guard pub fn with_guard(self, guard: [f32; 2]) -> CompensatedViewport
|
||||
method metal2vulkan::bind::CompensatedViewport::with_mirrors pub fn with_mirrors(self, mirrors: u32) -> CompensatedViewport
|
||||
method metal2vulkan::bind::CompensatedViewport::with_vertex_clamp pub fn with_vertex_clamp(self, vertex_clamp: [f32; 2]) -> CompensatedViewport
|
||||
method metal2vulkan::bind::ContinuedResult::in_low_half #[must_use] pub fn in_low_half(self) -> ContinuedResult
|
||||
method metal2vulkan::bind::ContinuedResult::new pub fn new(offset: u64, first: u32, count: u32, sum: bool) -> ContinuedResult
|
||||
method metal2vulkan::bind::DepthClampModule::groups pub fn groups(width: u32, rows: u32, images: u32) -> [u32; 3]
|
||||
method metal2vulkan::bind::DepthClampModule::shape pub fn shape(first: u32, width: u32, row_words: u32, image_words: u32) -> [u8; 16]
|
||||
@@ -7753,7 +7684,6 @@ method metal2vulkan::bind::DrawReplay::new pub fn new(capacity: u32, first: u32,
|
||||
method metal2vulkan::bind::DrawReplayLayout::argument_offset pub fn argument_offset(&self, command: u32, type_index: u32) -> u64
|
||||
method metal2vulkan::bind::DrawReplayLayout::fragment_table_offset pub fn fragment_table_offset(&self, command: u32) -> u64
|
||||
method metal2vulkan::bind::DrawReplayLayout::params_offset pub fn params_offset(&self) -> u64
|
||||
method metal2vulkan::bind::DrawReplayLayout::range_offset pub fn range_offset(&self) -> u64
|
||||
method metal2vulkan::bind::DrawReplayLayout::vertex_table_offset pub fn vertex_table_offset(&self, command: u32) -> u64
|
||||
method metal2vulkan::bind::EtcDecode::block_bytes pub fn block_bytes(self) -> u32
|
||||
method metal2vulkan::bind::EtcDecode::block_extent pub fn block_extent(self) -> [u32; 2]
|
||||
@@ -7765,7 +7695,6 @@ method metal2vulkan::bind::EtcDecode::metal_value pub fn metal_value(self, c: i3
|
||||
method metal2vulkan::bind::EtcDecode::of pub fn of(pf: PixelFormat) -> Option<EtcDecode>
|
||||
method metal2vulkan::bind::EtcDecode::texel_bytes pub fn texel_bytes(self, texels: EtcTexels) -> u32
|
||||
method metal2vulkan::bind::EtcDecode::texel_format pub fn texel_format(self, texels: EtcTexels) -> Format
|
||||
method metal2vulkan::bind::EtcDecode::texel_pixel_format pub fn texel_pixel_format(self, texels: EtcTexels) -> PixelFormat
|
||||
method metal2vulkan::bind::ExecutionStatus::decode pub fn decode(bytes: &[u8; ExecutionStatus::BYTES]) -> StatusReport
|
||||
method metal2vulkan::bind::ExecutionStatus::initial pub const fn initial() -> [u8; ExecutionStatus::BYTES]
|
||||
method metal2vulkan::bind::ExtendedCanonicalModule::groups pub fn groups(width: u32, rows: u32, images: u32) -> [u32; 3]
|
||||
@@ -7804,17 +7733,13 @@ method metal2vulkan::bind::IcbResetModule::groups pub fn groups(commands: u32) -
|
||||
method metal2vulkan::bind::ImageViewDesc::new pub fn new(view_type: vk::ImageViewType, format: vk::Format, aspect: vk::ImageAspectFlags, layout: vk::ImageLayout, components: vk::ComponentMapping) -> ImageViewDesc
|
||||
method metal2vulkan::bind::ImageblockSize::new pub fn new(width: u32, height: u32) -> ImageblockSize
|
||||
method metal2vulkan::bind::IndexBoundsPass::new pub fn new(arguments: IndirectRef, index_size: u64, index_offset: u64, index_end: u64, alignment: u64, max_range: u32, pool_bytes: u32) -> Option<IndexBoundsPass>
|
||||
method metal2vulkan::bind::IndexBoundsPass::parameter_bytes pub fn parameter_bytes(&self) -> Vec<u8>
|
||||
method metal2vulkan::bind::IndexBoundsRun::arguments_range pub fn arguments_range(&self) -> BufferRange
|
||||
method metal2vulkan::bind::IndexBoundsRun::first_draw_offset pub fn first_draw_offset(slot: u32) -> u64
|
||||
method metal2vulkan::bind::IndexBoundsRun::indices_range pub fn indices_range(&self) -> Option<BufferRange>
|
||||
method metal2vulkan::bind::IndexBoundsRun::is_empty pub fn is_empty(&self) -> bool
|
||||
method metal2vulkan::bind::IndexBoundsRun::len pub fn len(&self) -> usize
|
||||
method metal2vulkan::bind::IndexBoundsRun::new pub fn new((arguments_start, arguments_end): (u64, u64), indices: Option<(u64, u64)>, (alignment, max_range, max_groups): (u64, u32, u32), pool_bytes: u32) -> Option<IndexBoundsRun>
|
||||
method metal2vulkan::bind::IndexBoundsRun::push pub fn push(&mut self, draw: BoundsRunDraw) -> Option<u32>
|
||||
method metal2vulkan::bind::IndexBoundsRun::second_draw_offset pub fn second_draw_offset(slot: u32) -> u64
|
||||
method metal2vulkan::bind::IndexBoundsRun::words pub fn words(&self) -> Vec<u8>
|
||||
method metal2vulkan::bind::IndexBoundsRun::words_bytes pub fn words_bytes(draws: u32) -> u64
|
||||
method metal2vulkan::bind::IndexBufferRef::fetch_end pub fn fetch_end(&self, index_offset: u64) -> u64
|
||||
method metal2vulkan::bind::IndexBufferRef::new pub fn new(token: u32, length: u64) -> IndexBufferRef
|
||||
method metal2vulkan::bind::IndexGather::arguments_range pub fn arguments_range(&self) -> Option<BufferRange>
|
||||
@@ -7828,13 +7753,11 @@ method metal2vulkan::bind::IndexGather::len pub fn len(&self) -> usize
|
||||
method metal2vulkan::bind::IndexGather::new pub fn new((program, order): (RewriteProgram, RewriteOrder), (index_start, index_end): (u64, u64), (alignment, max_range): (u64, u32), output_words: u32) -> Option<IndexGather>
|
||||
method metal2vulkan::bind::IndexGather::pattern pub fn pattern(&self) -> Vec<u32>
|
||||
method metal2vulkan::bind::IndexGather::push pub fn push(&mut self, draw: GatherDraw) -> Option<u32>
|
||||
method metal2vulkan::bind::IndexGather::push_indirect pub fn push_indirect(&mut self, draw: IndirectGatherDraw) -> Option<u32>
|
||||
method metal2vulkan::bind::IndexGather::table pub fn table(&self) -> Vec<u32>
|
||||
method metal2vulkan::bind::IndexGather::table_bytes pub fn table_bytes(&self) -> Vec<u8>
|
||||
method metal2vulkan::bind::IndexGather::written pub fn written(&self) -> u32
|
||||
method metal2vulkan::bind::IndexRewritePass::listed pub fn listed(mut self) -> IndexRewritePass
|
||||
method metal2vulkan::bind::IndexRewritePass::new pub fn new(source: RewriteSource, restart: u32, (index_size, index_offset, index_end): (u64, u64, u64), output: RewriteOutput, alignment: u64, max_range: u32) -> Option<IndexRewritePass>
|
||||
method metal2vulkan::bind::IndexRewritePass::parameter_bytes pub fn parameter_bytes(&self) -> Vec<u8>
|
||||
method metal2vulkan::bind::IndexRewritePass::with_order pub fn with_order(mut self, order: RewriteOrder) -> IndexRewritePass
|
||||
method metal2vulkan::bind::IndexRewriteRun::draw_offset pub fn draw_offset(slot: u32) -> u64
|
||||
method metal2vulkan::bind::IndexRewriteRun::indices_range pub fn indices_range(&self) -> Option<BufferRange>
|
||||
@@ -7855,8 +7778,6 @@ method metal2vulkan::bind::MeshArguments::scratch_bytes pub const fn scratch_byt
|
||||
method metal2vulkan::bind::MeshGridRule::of pub fn of(form: MeshArgumentsForm, limits: &crate::device::MeshLimits) -> MeshGridRule
|
||||
method metal2vulkan::bind::MetalInstance::new pub fn new() -> MetalInstance
|
||||
method metal2vulkan::bind::MipmapFilterChain::expected_levels pub fn expected_levels(&self, first: &[u8]) -> Option<Vec<Vec<u8>>>
|
||||
method metal2vulkan::bind::MipmapFilterChain::fetch_converts pub fn fetch_converts(format: Format) -> bool
|
||||
method metal2vulkan::bind::MipmapFilterChain::fetch_format pub fn fetch_format(image: Format) -> Option<Format>
|
||||
method metal2vulkan::bind::MipmapFilterChain::outside_bound pub fn outside_bound(&self, level: usize, above: &[u8], got: &[u8]) -> Option<Vec<u64>>
|
||||
method metal2vulkan::bind::MipmapFilterChain::plan pub fn plan(pixel_format: PixelFormat, extent: [u32; 3], layers: u32, levels: u32, volume: bool, alignment: u64, max_range: u32, max_groups: [u32; 2], fetch: Option<Format>) -> Option<MipmapFilterChain>
|
||||
method metal2vulkan::bind::MipmapFilterChain::texel_bytes pub fn texel_bytes(pixel_format: PixelFormat) -> Option<u32>
|
||||
@@ -7876,18 +7797,13 @@ method metal2vulkan::bind::PlaneCopyModule::shape pub fn shape(source: &PlaneSou
|
||||
method metal2vulkan::bind::PlaneLayout::new pub const fn new(first: u32, row: u32, slice: u32) -> PlaneLayout
|
||||
method metal2vulkan::bind::PlaneRows::of pub fn of(width: u32) -> PlaneRows
|
||||
method metal2vulkan::bind::PlaneWordsModule::shape pub fn shape(width: u32, texels: u32, row_words: u32, first_word: u32, into_texels: bool) -> [u8; 20]
|
||||
method metal2vulkan::bind::PlanesCopy::for_format pub fn for_format(format: Format) -> Option<PlanesCopy>
|
||||
method metal2vulkan::bind::PlanesCopy::for_planes pub fn for_planes(format: Format) -> Option<PlanesCopy>
|
||||
method metal2vulkan::bind::PlanesCopy::format pub fn format(self) -> Format
|
||||
method metal2vulkan::bind::PlanesCopy::moves_bits pub fn moves_bits(self) -> bool
|
||||
method metal2vulkan::bind::PredicationCompare::from_metal pub fn from_metal(comparison: u64) -> PredicationCompare
|
||||
method metal2vulkan::bind::PredicationCompare::holds pub fn holds(self, word: u32, reference: u32) -> bool
|
||||
method metal2vulkan::bind::PredicationOp::word pub fn word(self) -> [u8; 4]
|
||||
method metal2vulkan::bind::PredicationStep::bound_bytes pub const fn bound_bytes(gates: u64) -> u64
|
||||
method metal2vulkan::bind::PredicationStep::checking pub fn checking(self, word: u64) -> Self
|
||||
method metal2vulkan::bind::PredicationStep::condition pub fn condition(counter: u64, word: u64, compare: PredicationCompare, reference: u32) -> PredicationStep
|
||||
method metal2vulkan::bind::PredicationStep::gate pub fn gate(group_count: [u32; 3]) -> [u8; 32]
|
||||
method metal2vulkan::bind::PredicationStep::in_loop pub fn in_loop(self, flag: u64, id: u32) -> Self
|
||||
method metal2vulkan::bind::PredicationStep::new pub fn new(counter: u64, op: PredicationOp) -> PredicationStep
|
||||
method metal2vulkan::bind::PredicationStep::record pub fn record(&self, at: u64) -> [u8; 112]
|
||||
method metal2vulkan::bind::PredicationStep::table pub fn table(at: u64, gates: &[u64]) -> Vec<u8>
|
||||
@@ -7903,13 +7819,11 @@ method metal2vulkan::bind::PvrtcDecode::metal_value pub fn metal_value(self, ch:
|
||||
method metal2vulkan::bind::PvrtcDecode::of pub fn of(pf: PixelFormat) -> Option<PvrtcDecode>
|
||||
method metal2vulkan::bind::PvrtcDecode::shape pub fn shape([width, height]: [u32; 2], [first, rows]: [u32; 2], images: u32) -> [u8; BlockDecodeModule::SHAPE_WORDS as usize * 4]
|
||||
method metal2vulkan::bind::PvrtcDecode::texel_format pub fn texel_format(self) -> Format
|
||||
method metal2vulkan::bind::PvrtcDecode::texel_pixel_format pub fn texel_pixel_format(self) -> PixelFormat
|
||||
method metal2vulkan::bind::RasterizationRateMap::from_layers pub fn from_layers(screen_size: [u32; 2], layers: Vec<[RateMapAxis; 2]>) -> Result<RasterizationRateMap, RateMapError>
|
||||
method metal2vulkan::bind::RasterizationRateMap::is_identity pub fn is_identity(&self) -> bool
|
||||
method metal2vulkan::bind::RasterizationRateMap::layer pub fn layer(&self, layer: u32) -> Option<&[RateMapAxis; 2]>
|
||||
method metal2vulkan::bind::RasterizationRateMap::layer_count pub fn layer_count(&self) -> u32
|
||||
method metal2vulkan::bind::RasterizationRateMap::new pub fn new(desc: &RateMapDescriptor) -> Result<RasterizationRateMap, RateMapError>
|
||||
method metal2vulkan::bind::RasterizationRateMap::new_over pub fn new_over(desc: &RateMapDescriptor, earlier: &[u32]) -> Result<RasterizationRateMap, RateMapError>
|
||||
method metal2vulkan::bind::RasterizationRateMap::parameter_data_size pub fn parameter_data_size(&self) -> u64
|
||||
method metal2vulkan::bind::RasterizationRateMap::physical_granularity pub fn physical_granularity(&self) -> [u32; 2]
|
||||
method metal2vulkan::bind::RasterizationRateMap::physical_size pub fn physical_size(&self, layer: u32) -> Option<[u32; 2]>
|
||||
@@ -7947,15 +7861,12 @@ method metal2vulkan::bind::ReplayLayout::table_offset pub fn table_offset(&self,
|
||||
method metal2vulkan::bind::ReplayVariant::flat pub fn flat(pipeline: NonZeroU64, threads_per_threadgroup: [u32; 3], max_total_threads: u32) -> ReplayVariant
|
||||
method metal2vulkan::bind::ReplayVariant::new pub fn new(pipeline: NonZeroU64, threads_per_threadgroup: [u32; 3], threadgroup_memory_lengths: [u32; THREADGROUP_COUNT]) -> ReplayVariant
|
||||
method metal2vulkan::bind::ReplayVariant::with_imageblock_size pub fn with_imageblock_size(self, [width, height]: [u16; 2]) -> ReplayVariant
|
||||
method metal2vulkan::bind::ResidentPart::new pub fn new(ranges: impl IntoIterator<Item = ResidentRange>) -> ResidentPart
|
||||
method metal2vulkan::bind::ResidentRange::new pub fn new(host: u64, guest: u64, length: u64) -> ResidentRange
|
||||
method metal2vulkan::bind::ResidentSet::bytes pub fn bytes(&self) -> Vec<u8>
|
||||
method metal2vulkan::bind::ResidentSet::holds pub fn holds(&self, range: &ResidentRange) -> bool
|
||||
method metal2vulkan::bind::ResidentSet::is_empty pub fn is_empty(&self) -> bool
|
||||
method metal2vulkan::bind::ResidentSet::len pub fn len(&self) -> u64
|
||||
method metal2vulkan::bind::ResidentSet::new pub fn new(ranges: impl IntoIterator<Item = ResidentRange>) -> ResidentSet
|
||||
method metal2vulkan::bind::ResidentSet::of_parts pub fn of_parts<'a>(parts: impl IntoIterator<Item = &'a ResidentPart>) -> ResidentSet
|
||||
method metal2vulkan::bind::ResidentSet::replay_bytes pub fn replay_bytes(ranges: impl IntoIterator<Item = ResidentRange>) -> (Vec<u8>, u64)
|
||||
method metal2vulkan::bind::ResidentSet::with pub fn with(&self, ranges: impl IntoIterator<Item = ResidentRange>) -> ResidentSet
|
||||
method metal2vulkan::bind::ResolveWrite::reads_stencil pub fn reads_stencil(self) -> bool
|
||||
method metal2vulkan::bind::RewriteOrder::arrange pub fn arrange<T: Copy>(self, first: &[T], last: &[T]) -> Vec<T>
|
||||
@@ -7972,7 +7883,6 @@ method metal2vulkan::bind::RewriteProgram::restarts pub fn restarts(self) -> boo
|
||||
method metal2vulkan::bind::RewriteProgram::sequential_list pub fn sequential_list(self, count: u32, order: RewriteOrder) -> Vec<u32>
|
||||
method metal2vulkan::bind::RewriteProgram::span pub fn span(self) -> u32
|
||||
method metal2vulkan::bind::RewriteProgram::vertices pub fn vertices(self) -> u32
|
||||
method metal2vulkan::bind::RootTable::resident_fields pub fn resident_fields(table: u64, set: u64, count: u64) -> Option<[u8; 16]>
|
||||
method metal2vulkan::bind::RootTable::resident_ranges pub fn resident_ranges(&self) -> Vec<ResidentRange>
|
||||
method metal2vulkan::bind::RotateTexelsModule::shape pub fn shape(texel_bytes: u32, [pitch, width, height]: [u32; 3], source_pitch: u32, m: [i32; 6], words: u32, grid_width: u32) -> [u8; 52]
|
||||
method metal2vulkan::bind::RowsCopyModule::groups pub fn groups(width: u32, rows: u32) -> [u32; 2]
|
||||
@@ -7990,7 +7900,6 @@ method metal2vulkan::bind::ShadowMergeModule::shape pub fn shape(width: u32, cou
|
||||
method metal2vulkan::bind::ShadowMergeModule::shape_within pub fn shape_within(width: u32, count: u32, row_words: u32, first_word: u32, columns: Range<u32>) -> [u8; 24]
|
||||
method metal2vulkan::bind::ShadowMergeRead::words pub fn words(self) -> u32
|
||||
method metal2vulkan::bind::ShadowTexelView::words pub fn words(self) -> u32
|
||||
method metal2vulkan::bind::SlotRebinds::slots pub fn slots(&self) -> &[SlotRef]
|
||||
method metal2vulkan::bind::SparseTileMap::byte_len pub fn byte_len(&self) -> u64
|
||||
method metal2vulkan::bind::SparseTileMap::is_mapped pub fn is_mapped(&self, level: u32, slice: u32, texel: [u32; 3]) -> bool
|
||||
method metal2vulkan::bind::SparseTileMap::new pub fn new(texture_type: TextureType, extent: [u32; 3], levels: u32, slices: u32, tile: [u32; 3], first_level_in_tail: u32) -> Result<SparseTileMap, TileMapError>
|
||||
@@ -8020,7 +7929,6 @@ method metal2vulkan::bind::TextureFacts::offset_base_axes pub fn offset_base_axe
|
||||
method metal2vulkan::bind::TextureFacts::shape pub fn shape(&self) -> TextureShape
|
||||
method metal2vulkan::bind::TileThreadgroupArgument::new pub fn new(length: u32, offset: u32) -> TileThreadgroupArgument
|
||||
method metal2vulkan::bind::TileThreadgroupMemory::new pub fn new(length: u32) -> TileThreadgroupMemory
|
||||
method metal2vulkan::bind::TiledLevelMove::clamping_depth pub const fn clamping_depth(self) -> TiledLevelMove
|
||||
method metal2vulkan::bind::TiledLevelMove::invocations pub const fn invocations(&self, into_tight: bool) -> u32
|
||||
method metal2vulkan::bind::TiledLevelMove::new pub const fn new(unit: u32, extent: [u32; 2], images: u32, tile: [u32; 2], across: u32, tiled_first: u32, chain_stride: u32, tight_first: u32, region_bytes: u32) -> TiledLevelMove
|
||||
method metal2vulkan::bind::TiledTexelsModule::invocations pub fn invocations(levels: &[TiledLevelMove], into_tight: bool) -> u32
|
||||
@@ -8083,7 +7991,6 @@ method metal2vulkan::bind::indirect_commands::CommandDescriptor::validate_record
|
||||
method metal2vulkan::bind::indirect_commands::CommandRecord::decode pub fn decode(bytes: &[u8]) -> Result<Self, RecordError>
|
||||
method metal2vulkan::bind::indirect_commands::CommandRecord::encode_into pub fn encode_into(&self, bytes: &mut [u8]) -> Result<(), RecordError>
|
||||
method metal2vulkan::bind::indirect_commands::CommandRecord::resolve_bindings pub fn resolve_bindings<'a>(&'a self, inheritance: Inheritance, parent: &'a Bindings) -> Result<ResolvedBindings<'a>, BindingError>
|
||||
method metal2vulkan::bind::indirect_commands::CommandRecord::write_field pub fn write_field(bytes: &mut [u8], field: RecordField) -> Result<Range<usize>, RecordError>
|
||||
method metal2vulkan::bind::indirect_commands::CommandRecord::writes pub fn writes(&self) -> crate::pipeline::CommandWrites
|
||||
method metal2vulkan::bind::indirect_commands::RecordView::action pub fn action(&self) -> Action
|
||||
method metal2vulkan::bind::indirect_commands::RecordView::barrier pub fn barrier(&self) -> bool
|
||||
@@ -8129,7 +8036,6 @@ method metal2vulkan::device::Device::kernel_inputs_read pub fn kernel_inputs_rea
|
||||
method metal2vulkan::device::Device::kernel_observes_partition pub fn kernel_observes_partition(&self, f: &FunctionDescriptor, inp: &LoweringInputs, b: &Budget, entries: &StageEntries) -> Result<bool, Error>
|
||||
method metal2vulkan::device::Device::mesh_descriptor_key pub fn mesh_descriptor_key(&self, d: &MeshPipelineDescriptor) -> crate::cache::PipelineKey
|
||||
method metal2vulkan::device::Device::metal_properties pub fn metal_properties(&self) -> &MetalDeviceProperties
|
||||
method metal2vulkan::device::Device::neutral_kinds pub fn neutral_kinds(&self) -> Vec<NeutralResource>
|
||||
method metal2vulkan::device::Device::policy pub fn policy(&self) -> &DevicePolicy
|
||||
method metal2vulkan::device::Device::profile pub fn profile(&self) -> &DeviceProfile
|
||||
method metal2vulkan::device::Device::profile_fingerprint pub fn profile_fingerprint(&self) -> crate::cache::Hash256
|
||||
@@ -8138,7 +8044,6 @@ method metal2vulkan::device::Device::render_descriptor_key pub fn render_descrip
|
||||
method metal2vulkan::device::Device::render_pipeline_key pub fn render_pipeline_key(&self, d: &RenderPipelineDescriptor, b: &Budget) -> Result<RenderPipelineKeys, Error>
|
||||
method metal2vulkan::device::Device::render_variant_key pub fn render_variant_key(&self, d: &RenderPipelineDescriptor, v: &VariantKey, b: &Budget, entries: &StageEntries) -> Result<RenderPipelineKeys, Error>
|
||||
method metal2vulkan::device::Device::required_enables pub fn required_enables(&self) -> EnableSet
|
||||
method metal2vulkan::device::Device::tile_pipeline_key pub fn tile_pipeline_key(&self, d: &TileRenderPipelineDescriptor) -> crate::cache::PipelineKey
|
||||
method metal2vulkan::device::DeviceDescription::from_khronos_json pub fn from_khronos_json(json: &str, profile: Option<&str>) -> Result<DeviceDescription, Error>
|
||||
method metal2vulkan::device::DeviceDescription::has pub fn has(&self, feature: VkFeature) -> bool
|
||||
method metal2vulkan::device::DeviceDescription::has_format_feature_flags2 pub fn has_format_feature_flags2(&self) -> bool
|
||||
@@ -8155,7 +8060,6 @@ method metal2vulkan::device::DeviceProfile::containment pub fn containment(&self
|
||||
method metal2vulkan::device::DeviceProfile::descriptors pub fn descriptors(&self) -> &DescriptorCaps
|
||||
method metal2vulkan::device::DeviceProfile::device_drops_texel_writes pub fn device_drops_texel_writes(&self, texel_buffer: bool) -> bool
|
||||
method metal2vulkan::device::DeviceProfile::device_reads_texels pub fn device_reads_texels(&self, texel_buffer: bool) -> bool
|
||||
method metal2vulkan::device::DeviceProfile::emulates_mesh_shading pub fn emulates_mesh_shading(&self) -> bool
|
||||
method metal2vulkan::device::DeviceProfile::enabled pub fn enabled(&self) -> &EnabledCaps
|
||||
method metal2vulkan::device::DeviceProfile::fingerprint pub fn fingerprint(&self) -> Hash256
|
||||
method metal2vulkan::device::DeviceProfile::fragment pub fn fragment(&self) -> &FragmentCaps
|
||||
@@ -8165,7 +8069,6 @@ method metal2vulkan::device::DeviceProfile::interpolation_function_needs pub fn
|
||||
method metal2vulkan::device::DeviceProfile::limits pub fn limits(&self) -> &Limits
|
||||
method metal2vulkan::device::DeviceProfile::link_standalone pub fn link_standalone(&self, f: &CompiledFunction) -> Result<StandaloneModule, Error>
|
||||
method metal2vulkan::device::DeviceProfile::plan_entry pub fn plan_entry(&self, d: &EntryDescriptor<'_>, inputs: &LoweringInputs, budget: &Budget) -> (Result<EntryPlan, Error>, CompileReport)
|
||||
method metal2vulkan::device::DeviceProfile::reads_ycbcr_planes_in_place pub fn reads_ycbcr_planes_in_place(&self) -> bool
|
||||
method metal2vulkan::device::DeviceProfile::simd_tier pub fn simd_tier(&self, class: &SimdClass, stage: Stage) -> Result<Tier, Unsupported>
|
||||
method metal2vulkan::device::DeviceProfile::specialized_entry pub fn specialized_entry(&self, d: &EntryDescriptor<'_>, inputs: &LoweringInputs, budget: &Budget) -> Result<Entry, Error>
|
||||
method metal2vulkan::device::DeviceProfile::spirv_validation pub fn spirv_validation(&self) -> SpirvValidation
|
||||
@@ -8204,7 +8107,6 @@ method metal2vulkan::device::SubgroupModel::quad_instructions pub fn quad_instru
|
||||
method metal2vulkan::device::SubgroupModel::stage pub fn stage(&self, stage: Stage) -> &StageSubgroup
|
||||
method metal2vulkan::device::VkExtension::requires pub fn requires(self, api: ApiVersion) -> Vec<VkExtension>
|
||||
method metal2vulkan::error::DiagName::new pub fn new(name: impl Into<Box<str>>) -> DiagName
|
||||
method metal2vulkan::error::Error::is_permanent_for pub fn is_permanent_for(&self) -> Permanence
|
||||
method metal2vulkan::error::Error::retry pub fn retry(&self) -> Retry
|
||||
method metal2vulkan::error::InputError::class pub fn class(&self) -> ErrorClass
|
||||
method metal2vulkan::error::InputError::new pub fn new(kind: InputErrorKind, at: Location) -> InputError
|
||||
@@ -8225,7 +8127,6 @@ method metal2vulkan::error::Unsupported::at pub fn at(mut self, location: Locati
|
||||
method metal2vulkan::error::Unsupported::device_capability pub fn device_capability(feature: Feature, capability: &'static str) -> Unsupported
|
||||
method metal2vulkan::error::Unsupported::metal_gpu_family pub fn metal_gpu_family(feature: Feature, family: i64) -> Unsupported
|
||||
method metal2vulkan::error::Unsupported::naming pub fn naming(mut self, symbol: DiagName) -> Unsupported
|
||||
method metal2vulkan::error::Unsupported::naming_format pub fn naming_format(self, pixel_format: PixelFormat) -> Unsupported
|
||||
method metal2vulkan::error::Unsupported::needs pub fn needs(feature: Feature, capability: Capability) -> Unsupported
|
||||
method metal2vulkan::error::Unsupported::needs_any_of pub fn needs_any_of(feature: Feature, alternatives: Vec<Vec<Capability>>) -> Unsupported
|
||||
method metal2vulkan::error::Unsupported::not_implemented pub fn not_implemented(feature: Feature) -> Unsupported
|
||||
@@ -8237,15 +8138,12 @@ method metal2vulkan::library::CompiledFunction::from_bytes pub fn from_bytes(byt
|
||||
method metal2vulkan::library::CompiledFunction::from_bytes_for_key pub fn from_bytes_for_key(bytes: &[u8], key: &FunctionCompileKey, device: &Device) -> Result<CompiledFunction, ArtifactError>
|
||||
method metal2vulkan::library::CompiledFunction::is_image_only pub fn is_image_only(&self) -> bool
|
||||
method metal2vulkan::library::CompiledFunction::key pub fn key(&self) -> &FunctionCompileKey
|
||||
method metal2vulkan::library::CompiledFunction::max_total_threads_attribute pub fn max_total_threads_attribute(&self) -> Option<u32>
|
||||
method metal2vulkan::library::CompiledFunction::module_stats pub fn module_stats(&self) -> ModuleStats
|
||||
method metal2vulkan::library::CompiledFunction::numbered_samplers pub fn numbered_samplers(&self) -> &[crate::pipeline::NumberedSampler]
|
||||
method metal2vulkan::library::CompiledFunction::observes_partition_through_simdgroups_alone pub fn observes_partition_through_simdgroups_alone(&self) -> bool
|
||||
method metal2vulkan::library::CompiledFunction::observes_threadgroup_partition pub fn observes_threadgroup_partition(&self) -> bool
|
||||
method metal2vulkan::library::CompiledFunction::precision_notes pub fn precision_notes(&self) -> &[PrecisionNote]
|
||||
method metal2vulkan::library::CompiledFunction::reads_resident_roots pub fn reads_resident_roots(&self) -> bool
|
||||
method metal2vulkan::library::CompiledFunction::reconvergence pub fn reconvergence(&self) -> Reconvergence
|
||||
method metal2vulkan::library::CompiledFunction::relocated_words_digest pub fn relocated_words_digest(&self, words: &Arc<[u32]>, derive: fn(&[u32]) -> crate::cache::Hash256) -> Option<crate::cache::Hash256>
|
||||
method metal2vulkan::library::CompiledFunction::required_subgroup_size pub fn required_subgroup_size(&self) -> Option<u32>
|
||||
method metal2vulkan::library::CompiledFunction::requirements pub fn requirements(&self) -> &Requirements
|
||||
method metal2vulkan::library::CompiledFunction::requires_full_subgroups pub fn requires_full_subgroups(&self) -> bool
|
||||
@@ -8300,9 +8198,6 @@ method metal2vulkan::metal::TextureWriteRoundingMode::from_raw pub fn from_raw(r
|
||||
method metal2vulkan::metal::format::ChromaSubsampling::halved pub fn halved(self) -> [bool; 2]
|
||||
method metal2vulkan::metal::format::ExtendedRange::bfloat pub fn bfloat(self) -> bool
|
||||
method metal2vulkan::metal::format::ExtendedRange::channels pub fn channels(self) -> crate::metal::ColorWriteMask
|
||||
method metal2vulkan::metal::format::ExtendedRange::clear_read_back pub fn clear_read_back(self, color: [f64; 4]) -> Option<bool>
|
||||
method metal2vulkan::metal::format::ExtendedRange::clear_texel pub fn clear_texel(self, color: [f64; 4], route: ClearRoute) -> [u32; 4]
|
||||
method metal2vulkan::metal::format::ExtendedRange::clear_tile_value pub fn clear_tile_value(self, color: [f64; 4]) -> Option<[f32; 4]>
|
||||
method metal2vulkan::metal::format::ExtendedRange::heap_read pub fn heap_read(self) -> Option<u32>
|
||||
method metal2vulkan::metal::format::ExtendedRange::holds_metal_bytes pub fn holds_metal_bytes(self) -> bool
|
||||
method metal2vulkan::metal::format::ExtendedRange::of pub fn of(pf: PixelFormat) -> Option<ExtendedRange>
|
||||
@@ -8355,7 +8250,6 @@ method metal2vulkan::pipeline::CombinedSampler::sampler_use pub fn sampler_use(&
|
||||
method metal2vulkan::pipeline::CombinedSampler::with_unnormalized pub fn with_unnormalized(self, unnormalized: bool) -> CombinedSampler
|
||||
method metal2vulkan::pipeline::CommandWrites::is_empty pub const fn is_empty(self) -> bool
|
||||
method metal2vulkan::pipeline::CommandWrites::may pub const fn may(self, bits: u32) -> bool
|
||||
method metal2vulkan::pipeline::CommandWrites::may_draw_primitive_type pub const fn may_draw_primitive_type(self, raw: u32) -> bool
|
||||
method metal2vulkan::pipeline::CommandWrites::union pub const fn union(self, other: CommandWrites) -> CommandWrites
|
||||
method metal2vulkan::pipeline::CommandWrites::writes_kinds pub const fn writes_kinds(self, kinds: u8) -> bool
|
||||
method metal2vulkan::pipeline::ComputePipeline::content_digest pub fn content_digest(&self) -> Hash256
|
||||
@@ -8365,7 +8259,6 @@ method metal2vulkan::pipeline::ComputePipelineDescriptor::lowering_inputs pub fn
|
||||
method metal2vulkan::pipeline::ComputePipelineDescriptor::new pub fn new(kernel: StageSource) -> ComputePipelineDescriptor
|
||||
method metal2vulkan::pipeline::ComputePipelineDescriptor::reflection pub fn reflection(&self, budget: &crate::Budget) -> Result<ComputePipelineReflection, Error>
|
||||
method metal2vulkan::pipeline::ComputePipelineDescriptor::slot_writes pub fn slot_writes(&self, budget: &crate::Budget) -> Result<SlotWrites, Error>
|
||||
method metal2vulkan::pipeline::ComputePipelineDescriptor::uses_direct_arguments pub fn uses_direct_arguments(&self, budget: &crate::Budget) -> Result<bool, Error>
|
||||
method metal2vulkan::pipeline::DynamicLibraries::is_empty pub fn is_empty(&self) -> bool
|
||||
method metal2vulkan::pipeline::DynamicLibraries::new pub fn new() -> DynamicLibraries
|
||||
method metal2vulkan::pipeline::DynamicLibraries::with_loaded pub fn with_loaded(mut self, install_name: impl Into<String>, library: DynamicLibrary) -> DynamicLibraries
|
||||
@@ -8379,7 +8272,6 @@ method metal2vulkan::pipeline::FunctionDescriptor::needs_specialization pub fn n
|
||||
method metal2vulkan::pipeline::FunctionDescriptor::new pub fn new(function: Function) -> FunctionDescriptor
|
||||
method metal2vulkan::pipeline::FunctionDescriptor::with_libraries pub fn with_libraries(mut self, libraries: DynamicLibraries) -> FunctionDescriptor
|
||||
method metal2vulkan::pipeline::FunctionDescriptor::with_linked pub fn with_linked(mut self, linked: LinkedFunctions) -> FunctionDescriptor
|
||||
method metal2vulkan::pipeline::FunctionDescriptor::with_loaded_dependencies pub fn with_loaded_dependencies(mut self, mut load: impl FnMut(&str) -> Option<DynamicLibrary>) -> FunctionDescriptor
|
||||
method metal2vulkan::pipeline::FunctionDescriptor::with_specialized pub fn with_specialized(mut self, specialized: bool) -> FunctionDescriptor
|
||||
method metal2vulkan::pipeline::FunctionHandle::word pub fn word(self) -> u32
|
||||
method metal2vulkan::pipeline::GraphicsState::color_blend_attachments pub fn color_blend_attachments(&self) -> Vec<(vk::ColorComponentFlags, Option<BlendState>)>
|
||||
@@ -8387,8 +8279,6 @@ method metal2vulkan::pipeline::GraphicsState::new pub fn new(topology: vk::Primi
|
||||
method metal2vulkan::pipeline::HandleClass::sampler pub fn sampler(use_: crate::metal::sampler::SamplerUse) -> HandleClass
|
||||
method metal2vulkan::pipeline::HandleClass::sampler_use pub fn sampler_use(self) -> Option<crate::metal::sampler::SamplerUse>
|
||||
method metal2vulkan::pipeline::InputAttachmentUse::new pub fn new(color_index: u32, input_attachment_index: u32, format_class: SampledType) -> InputAttachmentUse
|
||||
method metal2vulkan::pipeline::LevelReads::highest_level pub fn highest_level(&self, sampled: impl Fn(&SampledLevels) -> Option<u32>) -> Option<u32>
|
||||
method metal2vulkan::pipeline::LevelReads::lowest_level pub fn lowest_level(&self, sampled: impl Fn(&SampledLevels) -> u32) -> Option<u32>
|
||||
method metal2vulkan::pipeline::LinkedFunction::name pub fn name(&self) -> &str
|
||||
method metal2vulkan::pipeline::LinkedFunction::new pub fn new(function: Function) -> LinkedFunction
|
||||
method metal2vulkan::pipeline::LinkedFunction::with_constants pub fn with_constants(mut self, constants: FunctionConstantValues) -> LinkedFunction
|
||||
@@ -8414,7 +8304,6 @@ method metal2vulkan::pipeline::MeshPipelineDescriptor::unwritten_fragment_inputs
|
||||
method metal2vulkan::pipeline::MeshRecords::group_words pub fn group_words(&self) -> u64
|
||||
method metal2vulkan::pipeline::MeshRecords::primitive_base pub fn primitive_base(&self) -> u64
|
||||
method metal2vulkan::pipeline::MeshRecords::topology pub fn topology(&self) -> vk::PrimitiveTopology
|
||||
method metal2vulkan::pipeline::PipelineInterface::uniform_view_buffers pub fn uniform_view_buffers(&self, stage: Stage) -> u64
|
||||
method metal2vulkan::pipeline::PrecisionNote::of_float_operator pub fn of_float_operator(op: AirBin, width: FloatWidth, fmf: FastMath, p: &DeviceProfile, math: EntryMath) -> Option<BTreeSet<PrecisionNote>>
|
||||
method metal2vulkan::pipeline::PrecisionNote::of_math_call pub fn of_math_call(call: Math, fmf: FastMath, p: &DeviceProfile, math: EntryMath) -> Option<BTreeSet<PrecisionNote>>
|
||||
method metal2vulkan::pipeline::PrivateRenderState::new pub const fn new() -> PrivateRenderState
|
||||
@@ -8446,8 +8335,6 @@ method metal2vulkan::pipeline::SamplerLevels::of pub fn of(desc: &vk::SamplerDes
|
||||
method metal2vulkan::pipeline::SamplerRef::constexpr_address_modes pub fn constexpr_address_modes(self) -> Option<[crate::metal::SamplerAddressMode; 3]>
|
||||
method metal2vulkan::pipeline::SnapshotForm::format pub fn format(self) -> vk::Format
|
||||
method metal2vulkan::pipeline::SnapshotForm::of pub fn of(format: vk::Format, ty: SampledType) -> SnapshotForm
|
||||
method metal2vulkan::pipeline::SpecClause::tests_bound_formats pub fn tests_bound_formats(&self) -> bool
|
||||
method metal2vulkan::pipeline::SpecClause::tests_bound_values pub fn tests_bound_values(&self) -> bool
|
||||
method metal2vulkan::pipeline::SpecKey::read_as_data pub fn read_as_data(self) -> bool
|
||||
method metal2vulkan::pipeline::SpecTest::differ pub fn differ(key: SpecKey, mask: u32, bits: u32) -> SpecTest
|
||||
method metal2vulkan::pipeline::SpecTest::equal pub fn equal(key: SpecKey, mask: u32, bits: u32) -> SpecTest
|
||||
@@ -8458,11 +8345,7 @@ method metal2vulkan::pipeline::StageInputAttributeDescriptor::new pub fn new(for
|
||||
method metal2vulkan::pipeline::StageInputDescriptor::canonical pub fn canonical(&self) -> StageInputDescriptor
|
||||
method metal2vulkan::pipeline::StageInputDescriptor::new pub fn new() -> StageInputDescriptor
|
||||
method metal2vulkan::pipeline::StageInputLayoutDescriptor::new pub fn new(stride: Option<u32>) -> StageInputLayoutDescriptor
|
||||
method metal2vulkan::pipeline::StageModule::bound_format_clauses pub fn bound_format_clauses(&self, note: PrecisionNote, bound: &dyn Fn(SlotRef) -> Option<u32>) -> Vec<&SpecClause>
|
||||
method metal2vulkan::pipeline::StageModule::note_clauses_bound pub fn note_clauses_bound(&self, note: PrecisionNote, specialization: &SpecializationKey, bound: &dyn Fn(SpecKey) -> Option<u64>) -> Vec<&SpecClause>
|
||||
method metal2vulkan::pipeline::StageModule::note_clauses_under pub fn note_clauses_under(&self, note: PrecisionNote, specialization: &SpecializationKey) -> Vec<&SpecClause>
|
||||
method metal2vulkan::pipeline::StageModule::precision_notes_bound pub fn precision_notes_bound(&self, specialization: &SpecializationKey, bound: &dyn Fn(SpecKey) -> Option<u64>) -> Vec<PrecisionNote>
|
||||
method metal2vulkan::pipeline::StageModule::precision_notes_under pub fn precision_notes_under(&self, specialization: &SpecializationKey) -> Vec<PrecisionNote>
|
||||
method metal2vulkan::pipeline::StageModule::spirv_bytes pub fn spirv_bytes(&self) -> Vec<u8>
|
||||
method metal2vulkan::pipeline::StorageAttachmentUse::new pub fn new(color_index: u32, format: vk::Format, writes: bool, formatless: bool, view: StorageAttachmentView) -> StorageAttachmentUse
|
||||
method metal2vulkan::pipeline::StorageAttachmentUse::view_alias_of pub fn view_alias_of(format: vk::Format, profile: &DeviceProfile) -> Option<vk::Format>
|
||||
@@ -8490,10 +8373,6 @@ method metal2vulkan::pipeline::VertexBufferLayoutDescriptor::new pub fn new(stri
|
||||
method metal2vulkan::pipeline::VertexDescriptor::new pub fn new() -> VertexDescriptor
|
||||
method metal2vulkan::pipeline::VertexFetch::pulled pub fn pulled(attr: &VertexAttributeDescriptor, layout: &VertexBufferLayoutDescriptor) -> VertexFetch
|
||||
method metal2vulkan::pipeline::VertexFetchProjection::new pub fn new() -> VertexFetchProjection
|
||||
method metal2vulkan::pipeline::ViewportCompensation::new pub fn new(depth: bool) -> ViewportCompensation
|
||||
method metal2vulkan::pipeline::ViewportCompensation::with_mirrors pub fn with_mirrors(self, mirrors: bool) -> ViewportCompensation
|
||||
method metal2vulkan::pipeline::ViewportCompensation::with_point_guard pub fn with_point_guard(self, point_guard: bool) -> ViewportCompensation
|
||||
method metal2vulkan::pipeline::ViewportCompensation::with_vertex_clamp pub fn with_vertex_clamp(self, vertex_clamp: bool) -> ViewportCompensation
|
||||
method metal2vulkan::reflection::ArrayType::argument_index_stride pub fn argument_index_stride(&self) -> u32
|
||||
method metal2vulkan::reflection::ArrayType::array_length pub fn array_length(&self) -> u32
|
||||
method metal2vulkan::reflection::ArrayType::element_array_type pub fn element_array_type(&self) -> Option<&ArrayType>
|
||||
@@ -8546,9 +8425,7 @@ method metal2vulkan::reflection::SlotWrite::may_write pub fn may_write(slots: &[
|
||||
method metal2vulkan::reflection::SlotWrites::fragment_slots pub fn fragment_slots(&self) -> &[SlotWrite]
|
||||
method metal2vulkan::reflection::SlotWrites::kernel_slots pub fn kernel_slots(&self) -> &[SlotWrite]
|
||||
method metal2vulkan::reflection::SlotWrites::mesh_slots pub fn mesh_slots(&self) -> &[SlotWrite]
|
||||
method metal2vulkan::reflection::SlotWrites::object_slots pub fn object_slots(&self) -> &[SlotWrite]
|
||||
method metal2vulkan::reflection::SlotWrites::stages pub fn stages(&self) -> [&[SlotWrite]; 6]
|
||||
method metal2vulkan::reflection::SlotWrites::tile_slots pub fn tile_slots(&self) -> &[SlotWrite]
|
||||
method metal2vulkan::reflection::SlotWrites::vertex_slots pub fn vertex_slots(&self) -> &[SlotWrite]
|
||||
method metal2vulkan::reflection::StructMember::argument_index pub fn argument_index(&self) -> u32
|
||||
method metal2vulkan::reflection::StructMember::array_type pub fn array_type(&self) -> Option<&ArrayType>
|
||||
@@ -8818,7 +8695,6 @@ struct metal2vulkan::bind::ChromaConvertModule #[derive(Clone, Debug, PartialEq,
|
||||
struct metal2vulkan::bind::ChromaSampleModule #[derive(Clone, Debug, PartialEq, Eq)] #[non_exhaustive] pub struct ChromaSampleModule
|
||||
struct metal2vulkan::bind::ColorResolveFormat #[cfg_attr(feature = "serde", derive(serde::Serialize, serde::Deserialize))] #[derive(Clone, Copy, Debug, PartialEq, Eq, PartialOrd, Ord, Hash)] pub struct ColorResolveFormat
|
||||
struct metal2vulkan::bind::ColorResolveModules #[derive(Clone, Debug, PartialEq, Eq)] #[non_exhaustive] pub struct ColorResolveModules
|
||||
struct metal2vulkan::bind::CompensatedViewport #[cfg_attr(feature = "serde", derive(serde::Serialize, serde::Deserialize))] #[derive(Clone, Copy, Debug, Default, PartialEq)] #[non_exhaustive] pub struct CompensatedViewport
|
||||
struct metal2vulkan::bind::ComputeTemplate #[cfg_attr(feature = "serde", derive(serde::Serialize, serde::Deserialize))] #[derive(Clone, Debug, PartialEq, Eq, Hash)] #[non_exhaustive] pub struct ComputeTemplate
|
||||
struct metal2vulkan::bind::ContinuedResult #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash)] #[non_exhaustive] pub struct ContinuedResult
|
||||
struct metal2vulkan::bind::DepthClampModule #[derive(Clone, Debug, PartialEq, Eq)] #[non_exhaustive] pub struct DepthClampModule
|
||||
@@ -8916,7 +8792,6 @@ struct metal2vulkan::bind::ReplayLayout #[derive(Clone, Copy, Debug, PartialEq,
|
||||
struct metal2vulkan::bind::ReplayPreprocess #[derive(Clone, Debug, PartialEq, Eq)] #[non_exhaustive] pub struct ReplayPreprocess
|
||||
struct metal2vulkan::bind::ReplayPreprocessModule #[derive(Clone, Debug, PartialEq, Eq)] #[non_exhaustive] pub struct ReplayPreprocessModule
|
||||
struct metal2vulkan::bind::ReplayVariant #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash)] #[non_exhaustive] pub struct ReplayVariant
|
||||
struct metal2vulkan::bind::ResidentPart #[derive(Clone, Debug, PartialEq, Eq)] pub struct ResidentPart
|
||||
struct metal2vulkan::bind::ResidentRange #[cfg_attr(feature = "serde", derive(serde::Serialize, serde::Deserialize))] #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash)] #[non_exhaustive] pub struct ResidentRange
|
||||
struct metal2vulkan::bind::ResidentSet #[derive(Clone, Debug, PartialEq, Eq)] pub struct ResidentSet
|
||||
struct metal2vulkan::bind::ResolveChannel #[cfg_attr(feature = "serde", derive(serde::Serialize, serde::Deserialize))] #[derive(Clone, Copy, Debug, PartialEq, Eq, PartialOrd, Ord, Hash)] #[non_exhaustive] pub struct ResolveChannel
|
||||
@@ -8931,7 +8806,6 @@ struct metal2vulkan::bind::ShadowCopyBackModule #[derive(Clone, Debug, PartialEq
|
||||
struct metal2vulkan::bind::ShadowCopyInModule #[derive(Clone, Debug, PartialEq, Eq)] #[non_exhaustive] pub struct ShadowCopyInModule
|
||||
struct metal2vulkan::bind::ShadowMergeImageModule #[derive(Clone, Debug, PartialEq, Eq)] #[non_exhaustive] pub struct ShadowMergeImageModule
|
||||
struct metal2vulkan::bind::ShadowMergeModule #[derive(Clone, Debug, PartialEq, Eq)] #[non_exhaustive] pub struct ShadowMergeModule
|
||||
struct metal2vulkan::bind::SlotRebinds #[derive(Clone, Debug, Default, PartialEq, Eq)] pub struct SlotRebinds
|
||||
struct metal2vulkan::bind::SparseTileMap #[derive(Clone, Debug, PartialEq, Eq)] pub struct SparseTileMap
|
||||
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::StageShape #[cfg_attr(feature = "serde", derive(serde::Serialize, serde::Deserialize))] #[derive(Clone, Debug, Default, PartialEq, Eq, PartialOrd, Ord, Hash)] #[non_exhaustive] pub struct StageShape
|
||||
@@ -9131,7 +9005,6 @@ struct metal2vulkan::pipeline::VertexBufferLayoutDescriptor #[cfg_attr(feature =
|
||||
struct metal2vulkan::pipeline::VertexDescriptor #[cfg_attr(feature = "serde", derive(serde::Serialize, serde::Deserialize))] #[derive(Clone, Debug, Default, PartialEq, Eq, Hash)] #[non_exhaustive] pub struct VertexDescriptor
|
||||
struct metal2vulkan::pipeline::VertexFetchProjection #[cfg_attr(feature = "serde", derive(serde::Serialize, serde::Deserialize))] #[derive(Clone, Debug, Default, PartialEq, Eq, PartialOrd, Ord, Hash)] #[non_exhaustive] pub struct VertexFetchProjection
|
||||
struct metal2vulkan::pipeline::VertexInputState #[cfg_attr(feature = "serde", derive(serde::Serialize, serde::Deserialize))] #[derive(Clone, Debug, Default, PartialEq, Eq, Hash)] #[non_exhaustive] pub struct VertexInputState
|
||||
struct metal2vulkan::pipeline::ViewportCompensation #[cfg_attr(feature = "serde", derive(serde::Serialize, serde::Deserialize))] #[derive(Clone, Copy, Debug, Default, PartialEq, Eq, PartialOrd, Ord, Hash)] #[non_exhaustive] pub struct ViewportCompensation
|
||||
struct metal2vulkan::reflection::ArrayType #[cfg_attr(feature = "serde", derive(serde::Serialize, serde::Deserialize))] #[derive(Clone, Debug, PartialEq, Eq, Hash)] #[non_exhaustive] pub struct ArrayType
|
||||
struct metal2vulkan::reflection::Attribute #[cfg_attr(feature = "serde", derive(serde::Serialize, serde::Deserialize))] #[derive(Clone, Debug, PartialEq, Eq, Hash)] #[non_exhaustive] pub struct Attribute
|
||||
struct metal2vulkan::reflection::Binding #[cfg_attr(feature = "serde", derive(serde::Serialize, serde::Deserialize))] #[derive(Clone, Debug, PartialEq, Eq, Hash)] #[non_exhaustive] pub struct Binding
|
||||
@@ -10414,7 +10287,6 @@ variant metal2vulkan-runtime::DrawKind::FetchedAttachment FetchedAttachment
|
||||
variant metal2vulkan-runtime::DrawKind::FillMode FillMode
|
||||
variant metal2vulkan-runtime::DrawKind::LineWidth LineWidth
|
||||
variant metal2vulkan-runtime::DrawKind::PatchIndexBuffer PatchIndexBuffer
|
||||
variant metal2vulkan-runtime::DrawKind::Points Points
|
||||
variant metal2vulkan-runtime::DrawKind::Viewport Viewport
|
||||
variant metal2vulkan-runtime::DrawKind::Viewports Viewports
|
||||
variant metal2vulkan-runtime::DrawKind::VisibilityResults VisibilityResults
|
||||
@@ -10684,6 +10556,7 @@ variant metal2vulkan-runtime::RenderPassKind::LateStore LateStore
|
||||
variant metal2vulkan-runtime::RenderPassKind::NoAttachment NoAttachment
|
||||
variant metal2vulkan-runtime::RenderPassKind::Resolve Resolve
|
||||
variant metal2vulkan-runtime::RenderPassKind::ResolveFilter ResolveFilter
|
||||
variant metal2vulkan-runtime::RenderPassKind::ResolveUsage ResolveUsage
|
||||
variant metal2vulkan-runtime::RenderPassKind::SampleCounts SampleCounts
|
||||
variant metal2vulkan-runtime::RenderPassKind::StoreAction StoreAction
|
||||
variant metal2vulkan-runtime::RenderPassKind::TextureType TextureType
|
||||
@@ -11941,7 +11814,6 @@ variant metal2vulkan::error::Feature::VertexAmplification VertexAmplification
|
||||
variant metal2vulkan::error::Feature::VertexInputLayout VertexInputLayout
|
||||
variant metal2vulkan::error::Feature::VertexStepRate VertexStepRate
|
||||
variant metal2vulkan::error::Feature::ViewFormatReinterpretation ViewFormatReinterpretation
|
||||
variant metal2vulkan::error::Feature::ViewportDepthRange ViewportDepthRange
|
||||
variant metal2vulkan::error::Feature::VulkanVersion VulkanVersion
|
||||
variant metal2vulkan::error::Feature::WideLines WideLines
|
||||
variant metal2vulkan::error::Feature::WideSwitchLiteral WideSwitchLiteral
|
||||
@@ -12026,9 +11898,6 @@ variant metal2vulkan::error::Needs::NotImplemented NotImplemented
|
||||
variant metal2vulkan::error::Needs::NotRepresentable NotRepresentable
|
||||
variant metal2vulkan::error::Needs::RuntimeDriverDefect RuntimeDriverDefect(RuntimeDriverDefect)
|
||||
variant metal2vulkan::error::Needs::StageBound StageBound
|
||||
variant metal2vulkan::error::Permanence::Input Input
|
||||
variant metal2vulkan::error::Permanence::InputAndDevice InputAndDevice
|
||||
variant metal2vulkan::error::Permanence::Never Never
|
||||
variant metal2vulkan::error::PrivateRenderField::AlphaTest AlphaTest
|
||||
variant metal2vulkan::error::PrivateRenderField::ExplicitVisibilityGroup ExplicitVisibilityGroup
|
||||
variant metal2vulkan::error::PrivateRenderField::FragmentDepthCompareClamp FragmentDepthCompareClamp
|
||||
@@ -12057,7 +11926,6 @@ variant metal2vulkan::error::RuntimeDriverDefect::LazilyAllocatedVolumePlaneView
|
||||
variant metal2vulkan::error::RuntimeDriverDefect::MultisampledCopiesConvertFloatNans MultisampledCopiesConvertFloatNans
|
||||
variant metal2vulkan::error::RuntimeDriverDefect::MultisampledDepthStencilColourCopies MultisampledDepthStencilColourCopies
|
||||
variant metal2vulkan::error::RuntimeDriverDefect::MultisampledStencilColourCopies MultisampledStencilColourCopies
|
||||
variant metal2vulkan::error::RuntimeDriverDefect::NormalizedDepthPastUnitRange NormalizedDepthPastUnitRange
|
||||
variant metal2vulkan::error::RuntimeDriverDefect::OcclusionCountPerColorOutput OcclusionCountPerColorOutput
|
||||
variant metal2vulkan::error::RuntimeDriverDefect::PipelineCacheDataCompiledAtLoad PipelineCacheDataCompiledAtLoad
|
||||
variant metal2vulkan::error::RuntimeDriverDefect::PushedBufferSizesUnset PushedBufferSizesUnset
|
||||
@@ -12137,8 +12005,6 @@ variant metal2vulkan::metal::TextureWriteRoundingMode::TowardZero TowardZero
|
||||
variant metal2vulkan::metal::format::ChromaSubsampling::Chroma420 Chroma420
|
||||
variant metal2vulkan::metal::format::ChromaSubsampling::Chroma422 Chroma422
|
||||
variant metal2vulkan::metal::format::ChromaSubsampling::Chroma444 Chroma444
|
||||
variant metal2vulkan::metal::format::ClearRoute::Straight Straight
|
||||
variant metal2vulkan::metal::format::ClearRoute::ThroughHalf ThroughHalf
|
||||
variant metal2vulkan::metal::format::ExtendedRange::Bgr10 Bgr10 { srgb: bool }
|
||||
variant metal2vulkan::metal::format::ExtendedRange::Bgra10 Bgra10 { srgb: bool }
|
||||
variant metal2vulkan::metal::format::ExtendedRange::Planes Planes { srgb: bool }
|
||||
@@ -12378,7 +12244,6 @@ variant metal2vulkan::pipeline::PushField::LineBand LineBand
|
||||
variant metal2vulkan::pipeline::PushField::MergedDrawAddress MergedDrawAddress
|
||||
variant metal2vulkan::pipeline::PushField::PatchIndexBound PatchIndexBound
|
||||
variant metal2vulkan::pipeline::PushField::PatchIndexOffset PatchIndexOffset
|
||||
variant metal2vulkan::pipeline::PushField::PointGuard PointGuard
|
||||
variant metal2vulkan::pipeline::PushField::RegionBox RegionBox
|
||||
variant metal2vulkan::pipeline::PushField::RegionProbe RegionProbe
|
||||
variant metal2vulkan::pipeline::PushField::RenderTargetArrayLength RenderTargetArrayLength
|
||||
@@ -12405,11 +12270,8 @@ variant metal2vulkan::pipeline::PushField::TexelRows TexelRows(SlotRef)
|
||||
variant metal2vulkan::pipeline::PushField::TextureIntegerChannels TextureIntegerChannels(SlotRef)
|
||||
variant metal2vulkan::pipeline::PushField::TextureLevels TextureLevels(SlotRef)
|
||||
variant metal2vulkan::pipeline::PushField::VertexBufferStride VertexBufferStride(u32)
|
||||
variant metal2vulkan::pipeline::PushField::VertexDepthClamp VertexDepthClamp
|
||||
variant metal2vulkan::pipeline::PushField::VerticesPerPrimitive VerticesPerPrimitive
|
||||
variant metal2vulkan::pipeline::PushField::ViewportCompensation ViewportCompensation
|
||||
variant metal2vulkan::pipeline::PushField::ViewportCount ViewportCount
|
||||
variant metal2vulkan::pipeline::PushField::ViewportMirrors ViewportMirrors
|
||||
variant metal2vulkan::pipeline::PushField::YCbCrInPlace YCbCrInPlace(SlotRef)
|
||||
variant metal2vulkan::pipeline::PushField::ZeroAddress ZeroAddress
|
||||
variant metal2vulkan::pipeline::PushLoc::ArgumentTable ArgumentTable { offset: u32 }
|
||||
@@ -12547,7 +12409,6 @@ variant metal2vulkan::pipeline::RuntimeFact::UniformViewRange UniformViewRange {
|
||||
variant metal2vulkan::pipeline::RuntimeFact::UnitAxes UnitAxes { axes: u8, relief: u8 }
|
||||
variant metal2vulkan::pipeline::RuntimeFact::VertexBufferStride VertexBufferStride { layout: u32 }
|
||||
variant metal2vulkan::pipeline::RuntimeFact::VertexFetch VertexFetch { attr: u32 }
|
||||
variant metal2vulkan::pipeline::RuntimeFact::ViewportCompensation ViewportCompensation { depth: bool, point_guard: bool, mirrors: bool, vertex_clamp: bool }
|
||||
variant metal2vulkan::pipeline::RuntimeFact::ViewportCount ViewportCount
|
||||
variant metal2vulkan::pipeline::RuntimeFact::WordInputMerge WordInputMerge { color: u32, kept: crate::vk::ColorComponentFlags }
|
||||
variant metal2vulkan::pipeline::RuntimeFact::YCbCrInPlace YCbCrInPlace { slot: SlotRef, samplers: u32, device: bool }
|
||||
|
||||
|
Can't render this file because it is too large.
|
+27
-28
@@ -1,6 +1,6 @@
|
||||
# The refusal surface
|
||||
|
||||
Every refusal of something Metal accepts, read from the code: the construction sites of the typed refusals outside tests (`scripts/refusal-surface/refusal_surface.py`, which writes this file; edit its `reach.tsv` and the refusals' own doc comments, never the tables). Section 6 is the new runtime's floor: a device below it is refused when the device is made, with every item it lacks named. The sections after it are the new runtime's own typed refusals, one for each enum its `Error` carries, every row with its declared basis. Malformed input of no Metal call at all is misuse and is not listed. [`METAL-COVERAGE.md`](METAL-COVERAGE.md) lists the Metal API the runtime has no counterpart for at all.
|
||||
Every refusal of something Metal accepts, read from the code: the construction sites of the typed refusals outside tests (`scripts/refusal-surface/refusal_surface.py`, which writes this file; edit its `reach.tsv` and the refusals' own doc comments, never the tables). Section 6 is the runtime's floor: a device below it is refused when the device is made, with every item it lacks named. The sections after it are the runtime's own typed refusals, one for each enum its `Error` carries, every row with its declared basis. Malformed input of no Metal call at all is misuse and is not listed. [`METAL-COVERAGE.md`](METAL-COVERAGE.md) lists the Metal API the runtime has no counterpart for at all.
|
||||
|
||||
Columns:
|
||||
|
||||
@@ -20,35 +20,35 @@ Columns:
|
||||
- `rare`: public API, but specialized: few apps reach it;
|
||||
- `none`: no public API path: malformed or non-Metal input, Apple-private calls, or a cap no valid program of ordinary size meets;
|
||||
- `?`: not assessed yet.
|
||||
The floor (section 6) carries no reach mark, as it turns on the device whatever the program, and nor do the new runtime's refusals after it, each an argument of a public call.
|
||||
The floor (section 6) carries no reach mark, as it turns on the device whatever the program, and nor do the runtime's refusals after it, each an argument of a public call.
|
||||
|
||||
## Totals
|
||||
|
||||
| Kind | Variants | With a site | Reach system | Reach app | Reach rare | Reach none | Unassessed |
|
||||
|---|---|---|---|---|---|---|---|
|
||||
| Translator and front-end refusals | 136 | 120 | 8 | 33 | 75 | 20 | 0 |
|
||||
| Translator and front-end refusals | 135 | 120 | 8 | 33 | 74 | 20 | 0 |
|
||||
| Binder refusals at a device limit | 9 | 9 | 0 | 1 | 7 | 1 | 0 |
|
||||
| Translation caps | 14 | 14 | 0 | 0 | 7 | 7 | 0 |
|
||||
| Rate maps the compile layer does not compile | 5 | 5 | 0 | 0 | 4 | 1 | 0 |
|
||||
| The translation deadline | 1 | 1 | 0 | 0 | 0 | 1 | 0 |
|
||||
| Devices below the new runtime's floor | 8 | 8 | 0 | 0 | 0 | 0 | 0 |
|
||||
| The new runtime's `Refusal` | 75 | 75 | 0 | 0 | 0 | 0 | 0 |
|
||||
| The new runtime's `Limit` | 17 | 17 | 0 | 0 | 0 | 0 | 0 |
|
||||
| The new runtime's `Gap` | 30 | 30 | 0 | 0 | 0 | 0 | 0 |
|
||||
| Devices below the runtime's floor | 8 | 8 | 0 | 0 | 0 | 0 | 0 |
|
||||
| The runtime's `Refusal` | 75 | 75 | 0 | 0 | 0 | 0 | 0 |
|
||||
| The runtime's `Limit` | 17 | 17 | 0 | 0 | 0 | 0 | 0 |
|
||||
| The runtime's `Gap` | 30 | 30 | 0 | 0 | 0 | 0 | 0 |
|
||||
|
||||
## Totals by basis
|
||||
|
||||
| Kind | `metal-measured` | `metal-documented` | `metal-takes` | `device` | `ours` | `unknown` | `delegated` | `-` |
|
||||
|---|---|---|---|---|---|---|---|---|
|
||||
| Translator and front-end refusals | 0 | 0 | 0 | 40 | 58 | 0 | 0 | 38 |
|
||||
| Translator and front-end refusals | 0 | 0 | 0 | 40 | 58 | 0 | 0 | 37 |
|
||||
| Binder refusals at a device limit | 0 | 0 | 0 | 9 | 0 | 0 | 0 | 0 |
|
||||
| Translation caps | 0 | 0 | 0 | 0 | 14 | 0 | 0 | 0 |
|
||||
| Rate maps the compile layer does not compile | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
|
||||
| The translation deadline | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 |
|
||||
| Devices below the new runtime's floor | 0 | 0 | 0 | 8 | 0 | 0 | 0 | 0 |
|
||||
| The new runtime's `Refusal` | 20 | 20 | 0 | 0 | 35 | 0 | 0 | 0 |
|
||||
| The new runtime's `Limit` | 0 | 0 | 0 | 13 | 4 | 0 | 0 | 0 |
|
||||
| The new runtime's `Gap` | 0 | 0 | 0 | 2 | 28 | 0 | 0 | 0 |
|
||||
| Devices below the runtime's floor | 0 | 0 | 0 | 8 | 0 | 0 | 0 | 0 |
|
||||
| The runtime's `Refusal` | 20 | 20 | 0 | 0 | 35 | 0 | 0 | 0 |
|
||||
| The runtime's `Limit` | 0 | 0 | 0 | 13 | 4 | 0 | 0 | 0 |
|
||||
| The runtime's `Gap` | 0 | 0 | 0 | 2 | 28 | 0 | 0 | 0 |
|
||||
|
||||
## 1. Translator and front-end refusals (`Unsupported`: a `Feature` and its `Needs`)
|
||||
|
||||
@@ -91,7 +91,7 @@ Columns:
|
||||
| `ImageAtomics` | Image atomics beyond 32-bit integers | devices without a capability the site computes (`gaps`) | `device` | 1: `crates/metal2vulkan/src/lower/texture/slot.rs (atomic_format)` | `rare`: texture atomics beyond 32-bit integers |
|
||||
| `DescriptorCount` | Too many descriptors of one kind in a stage or pipeline | devices short of a device limit the site names; devices without VkLimit::MaxUniformBufferRange | `device` | 3: `crates/metal2vulkan/src/lower/access/mod.rs (accept_placement)`, `crates/metal2vulkan/src/lower/select.rs (finish)` (+1) | `app`: many textures or buffers in one stage on a smaller device |
|
||||
| `StageSize` | A stage module heavier than the translator hands the device's driver | devices whose plan writes the stage past the stage bound | `device` | 1: `crates/metal2vulkan/src/pipeline/compile/stage_bound.rs (refused)` | `rare`: a kernel heavier than the heaviest stage measured to compile within host-sized memory, as the device's plan writes it (from_queries), or too large for a driver measured to corrupt one past its bound or to outgrow host memory below it |
|
||||
| `BufferRange` | A buffer window beyond the descriptor range limits | devices without buffer device addresses (`addressed_needs`); every device (no Vulkan mechanism) | `device` | 7: `crates/metal2vulkan/src/bind/graphics.rs (patch_binding, 3 sites)`, `crates/metal2vulkan/src/bind/graphics.rs (rebind_with)` (+3) | `app`: a buffer window past a device's descriptor range |
|
||||
| `BufferRange` | A buffer window beyond the descriptor range limits | devices without buffer device addresses (`addressed_needs`); every device (no Vulkan mechanism) | `device` | 6: `crates/metal2vulkan/src/bind/graphics.rs (patch_binding, 3 sites)`, `crates/metal2vulkan/src/bind/instantiate.rs (bind_buffers)` (+2) | `app`: a buffer window past a device's descriptor range |
|
||||
| `Int64Arithmetic` | 64-bit integer arithmetic | devices without VkFeature::ShaderInt64 | `device` | 2: `crates/metal2vulkan/src/lower/arith/legal.rs (check_scalar)`, `crates/metal2vulkan/src/lower/select.rs (selector_form)` | `rare`: 64-bit integers on a device without shaderInt64 |
|
||||
| `Float64Arithmetic` | 64-bit float arithmetic | devices without VkFeature::ShaderFloat64 | `device` | 2: `crates/metal2vulkan/src/device/metal.rs (unsupported_features)`, `crates/metal2vulkan/src/lower/arith/legal.rs (check_scalar)` | `rare`: doubles (MSL has none outside Apple's own code) |
|
||||
| `Format` | A pixel or vertex format not supported for the required use | devices without VkFeature::ShaderStorageImageExtendedFormats; devices without a capability the site computes (`alternatives`); devices without a capability the site computes (`c`); devices without a capability the site computes (`missing`); devices without a capability the site computes (`routes`); devices without a format's usage; every device (no Vulkan mechanism); every device (not implemented) | `ours` | 69: `crates/metal2vulkan/src/bind/extended_shadow.rs (extended_shadow_module)`, `crates/metal2vulkan/src/bind/heap.rs (array)` (+39) | `system`: pixel formats a device lacks for a use (CoreVideo's 4:2:x and 10-bit formats among them) |
|
||||
@@ -139,7 +139,7 @@ Columns:
|
||||
| `RasterizationRateMap` | | devices without VkFeature::MultiViewport; devices without VkFeature::ShaderDrawParameters; devices without VkFeature::ShaderOutputViewportIndex; devices without VkLimit::MaxGeometryTotalOutputComponents; devices without a capability the site computes; devices without a capability the site computes (`vec![Capability::Feature(lacks)]`); every device (not implemented) | `ours` | 10: `crates/metal2vulkan/src/lower/stage_io/plan.rs (region_copy, 3 sites)`, `crates/metal2vulkan/src/lower/stage_io/plan.rs (region_viewport, 2 sites)` (+3) | `rare`: rasterization rate maps |
|
||||
| `GpuEncodedIndirectCommands` | | devices short of a Vulkan feature the site names; devices without buffer device addresses (`addressed_needs`); every device (no Vulkan mechanism); every device (not implemented) | `ours` | 21: `crates/metal2vulkan/src/bind/replay.rs (preprocess)`, `crates/metal2vulkan/src/bind/replay.rs (replay_preprocess_module)` (+13) | `rare`: indirect command buffers encoded by a kernel |
|
||||
| `VulkanVersion` | The device's Vulkan version is below the 1.2 floor | devices without ApiVersion::V1_2 | `device` | 2: `crates/metal2vulkan/src/ash_interop/query.rs (query)`, `crates/metal2vulkan/src/device/derive.rs (from_queries)` | `none`: a device below Vulkan 1.2 |
|
||||
| `IdentityDomains` | The identity pointer and handle domains (`PointerDomain::Identity`, `HandleDomain::Identity`) | devices without a capability the site computes (`all`); every device (not implemented) | `ours` | 6: `crates/metal2vulkan/src/device/derive.rs (identity_domains)`, `crates/metal2vulkan/src/lower/sampler/anisotropic.rs (select)` (+4) | `none`: the identity domains, which the new runtime alone takes and which lower only kernels over buffer slots, textures in slots or argument buffers, and runtime samplers, so far |
|
||||
| `IdentityDomains` | The identity pointer and handle domains (`PointerDomain::Identity`, `HandleDomain::Identity`) | devices without a capability the site computes (`all`); every device (not implemented) | `ours` | 6: `crates/metal2vulkan/src/device/derive.rs (identity_domains)`, `crates/metal2vulkan/src/lower/sampler/anisotropic.rs (select)` (+4) | `none`: the identity domains, which the runtime alone takes and which lower only kernels over buffer slots, textures in slots or argument buffers, and runtime samplers, so far |
|
||||
| `Constant` | A constants-block record LLVM defines that the typed model has no form for (a block address, a `select` and the other constant expressions of... | - | `-` | via a helper: 3: `crates/metal2vulkan-air/src/bitcode/constants.rs (record, 2 sites)`, `crates/metal2vulkan/src/error/mod.rs (from)` | `none`: LLVM constant forms AIR does not emit |
|
||||
| `Attribute` | An LLVM attribute kind that changes the calling ABI and that AIR does not use (`inalloca`, `preallocated`, `byref`, `nest`, the `swift*` kinds) | - | `-` | via a helper: 2: `crates/metal2vulkan-air/src/bitcode/attrs.rs (known)`, `crates/metal2vulkan/src/error/mod.rs (from)` | `none`: LLVM ABI attributes AIR does not use |
|
||||
| `BitcodeRecord` | A bitcode record LLVM defines in `block` that the typed model does not cover and that has no more specific variant (legacy spellings predating... | - | `-` | via a helper: 8: `crates/metal2vulkan-air/src/bitcode/attrs.rs (decode_lists)`, `crates/metal2vulkan-air/src/bitcode/function.rs (symtab)` (+5) | `none`: bitcode records AIR does not emit |
|
||||
@@ -176,9 +176,8 @@ Columns:
|
||||
| `PrivateMemory` | A stage whose private memory (its `thread` variables and arrays, and the constants it holds per thread) takes more Function storage a thread than... | - | `-` | via a helper: 1: `crates/metal2vulkan/src/lower/select.rs (function_storage)` | `rare`: very large per-thread arrays |
|
||||
| `SparseTextures` | A sparse heap (`MTLHeapTypeSparse`), or a texture made from one, on a device without what a sparse resident image of it needs, which `missing` names | - | `-` | 0 | `rare`: sparse heaps on a device without sparse images |
|
||||
| `TimelineSemaphores` | Command buffers and events, which the runtime completes and signals through timeline semaphores (core in Vulkan 1.2), on a device whose... | - | `-` | 0 | `none`: a device below the runtime's floor |
|
||||
| `Reflection` | Reflection of an argument whose answer Metal's has not been measured for (`reflection`) | every device (not implemented) | `ours` | 9: `crates/metal2vulkan/src/bind/argument_buffer.rs (unmeasured)`, `crates/metal2vulkan/src/reflection/derive.rs (gap_at)` (+7) | `rare`: reflection of argument kinds Metal's answer is unmeasured for |
|
||||
| `Reflection` | Reflection of an argument whose answer Metal's has not been measured for (`reflection`) | every device (not implemented) | `ours` | 8: `crates/metal2vulkan/src/reflection/derive.rs (gap_at)`, `crates/metal2vulkan/src/reflection/derive.rs (read_attributes)` (+6) | `rare`: reflection of argument kinds Metal's answer is unmeasured for |
|
||||
| `HeapTextureTiling` | A texture of a heap whose memory the device's optimal images do not take (a `Shared` heap on a device whose optimal images take no host-visible... | - | `-` | 0 | `app`: textures in Shared heaps on a device whose optimal images take no host memory |
|
||||
| `ViewportDepthRange` | A viewport depth range past `[0, 1]` (`setViewport:`), which Metal takes and the runtime draws natively (`VK_EXT_depth_range_unrestricted`) or... | - | `-` | 0 | `rare`: viewport depth outside [0, 1] |
|
||||
| `UndeclaredTextureUsage` | A shader write to a texture made without `ShaderWrite` (or `ShaderAtomic`), or a read of one made without `ShaderRead`, which plain Metal runs,... | - | `-` | 0 | `app`: a shader write to a texture made without ShaderWrite, which plain Metal runs |
|
||||
| `RenderTargetSize` | A render pass whose render area or layers are past the device's framebuffer limits (`Capability::Limit` names `MaxFramebufferWidth`,... | - | `-` | 0 | `rare`: a render area past a device's framebuffer limits |
|
||||
| `IndirectRenderState` | A render state a function sets on an indirect render command (`render_command::set_cull_mode`, `set_front_facing_winding`,... | every device (not implemented) | `ours` | 1: `crates/metal2vulkan/src/lower/access/encode.rs (select_command)` | `rare`: render state set by a kernel on an indirect command |
|
||||
@@ -195,7 +194,7 @@ Columns:
|
||||
|
||||
| Variant | What it blocks | Where | Basis | Sites | Reach |
|
||||
|---|---|---|---|---|---|
|
||||
| `DescriptorRangeExceeded` | A descriptor-form slot's window exceeds the descriptor range limit (Profile F) | at the device's limit | `device` | 2: `crates/metal2vulkan/src/bind/graphics.rs (rebind_with)`, `crates/metal2vulkan/src/bind/instantiate.rs (bind_buffers)` | `app`: a buffer window past a device's descriptor range |
|
||||
| `DescriptorRangeExceeded` | A descriptor-form slot's window exceeds the descriptor range limit (Profile F) | at the device's limit | `device` | 1: `crates/metal2vulkan/src/bind/instantiate.rs (bind_buffers)` | `app`: a buffer window past a device's descriptor range |
|
||||
| `TexelBufferTooLarge` | A texture buffer bound through one texel buffer view exceeds `maxTexelBufferElements` | at the device's limit | `device` | 1: `crates/metal2vulkan/src/bind/instantiate.rs (texel_ranges)` | `rare`: a texture buffer past maxTexelBufferElements its parts do not bind |
|
||||
| `HeapTooLarge` | The set-1 heap's elements (one per resident texture a handle can name, plus the null element) exceed the pipeline's heap capacity | at the device's limit | `device` | 7: `crates/metal2vulkan/src/bind/heap.rs (directory_bytes)`, `crates/metal2vulkan/src/bind/heap.rs (heap_elements)` (+3) | `rare`: more resident textures than the pipeline's heap holds (bindless at scale) |
|
||||
| `TessellationFactorRange` | The tessellation factors a draw reads span more bytes (`needed`) than one storage-buffer descriptor can bind (`limit`, `maxStorageBufferRange`),... | at the device's limit | `device` | 1: `crates/metal2vulkan/src/bind/graphics.rs (patch_binding)` | `rare`: tessellation factors past one storage descriptor |
|
||||
@@ -240,7 +239,7 @@ Columns:
|
||||
|---|---|---|---|---|---|
|
||||
| `Time` | The attempt's deadline passed | every device (the attempt's deadline, 20 seconds by default) | `ours` | 1: `crates/metal2vulkan-air/src/budget/mod.rs (counted)` | `none`: a translation past its deadline: a defect of ours to fix on any supported input (AGENTS.md: 20 seconds) |
|
||||
|
||||
## 6. Devices below the new runtime's floor (`floor::BelowFloor`: each `floor::Missing`)
|
||||
## 6. Devices below the runtime's floor (`floor::BelowFloor`: each `floor::Missing`)
|
||||
|
||||
| Variant | What it blocks | Where | Basis | Sites | Reach |
|
||||
|---|---|---|---|---|---|
|
||||
@@ -253,7 +252,7 @@ Columns:
|
||||
| `TimeDomain` | A time domain of [`TIME_DOMAINS`] the device does not calibrate (`vkGetPhysicalDeviceCalibrateableTimeDomainsEXT`), as Vulkan names it | devices below the floor, at device creation | `device` | 1: `crates/metal2vulkan-runtime/src/floor.rs (decide)` | `-` |
|
||||
| `SetLayout` | The layout of one of the runtime's descriptor sets, `set` 0 (empty) or 1 (the texture and sampler arrays), which `vkGetDescriptorSetLayoutSupport`... | devices below the floor, at device creation | `device` | 1: `crates/metal2vulkan-runtime/src/arrays.rs (supported)` | `-` |
|
||||
|
||||
## 7. The new runtime's `Refusal` (`Error::Refused(Refusal)`)
|
||||
## 7. The runtime's `Refusal` (`Error::Refused(Refusal)`)
|
||||
|
||||
| Variant | What it blocks | Where | Basis | Sites | Reach |
|
||||
|---|---|---|---|---|---|
|
||||
@@ -305,7 +304,7 @@ Columns:
|
||||
| `FillRange` | `BlitCommandEncoder::fill_buffer` of an empty range, or of one past the buffer's end | every device (a public call's own check of its arguments) | `metal-measured`: an Apple M3 Max, macOS 27.0.1, probe `blit_fill_rules.m` in the conformance crate, job m3-max-43573: Metal's validation layer stops both, `range.length(0) must not be 0` and `(range.location + range.length)(68) must be <= [buffer length](64)` | 1: `crates/metal2vulkan-runtime/src/blit.rs (fill_range)` | `-` |
|
||||
| `TextureViewRange` | `Texture::new_texture_view` of an empty range of levels or slices, or of one past the texture's | every device (a public call's own check of its arguments) | `metal-measured`: an Apple M3 Max, macOS 27.0.1, probe `texture_view_rules.m` in the conformance crate, job m3-max-43677: Metal's validation layer stops each, `(newLevelRange.location + newLevelRange.length)(4) must be <= [texture mipmapLevelCount](3)`, `newLevelRange.length must not be 0` and `(newSliceRange.location + newSliceRange.length)(4) must be <= (3)` | 1: `crates/metal2vulkan-runtime/src/texture.rs (view)` | `-` |
|
||||
| `TextureViewSlices` | `Texture::new_texture_view` of a slice count the view's type does not take | every device (a public call's own check of its arguments) | `metal-documented`: Apple's `makeTextureView(pixelFormat:textureType:levels:slices:)` page: "The length value of the sliceRange parameter needs to be 6 if the new texture type value is MTLTextureType.typeCube, or a multiple of 6 if the new texture type value is MTLTextureType.typeCubeArray"; and measured on an Apple M3 Max, macOS 27.0.1: plain Metal asserts "newSliceRange.length(2) must equal (1) for textureType (MTLTextureType2D)" | 1: `crates/metal2vulkan-runtime/src/texture.rs (view)` | `-` |
|
||||
| `TextureViewFormat` | `Texture::new_texture_view` of a pixel format Metal does not view the texture as | every device (a public call's own check of its arguments) | `metal-measured`: an Apple M3 Max, macOS 27.0.1, probe `texture_view_rules.m` in the conformance crate, job m3-max-43677: Metal's validation layer stops an `R32Uint` view of an `RGBA8Unorm` texture of `ShaderRead` usage, `Texture View Validation`, and makes it where the usage adds `PixelFormatView`; Apple's `makeTextureView` and `MTLTextureUsage.pixelFormatView` pages state the rest | 2: `crates/metal2vulkan-runtime/src/d3d11.rs (d3d11_plane)`, `crates/metal2vulkan-runtime/src/texture.rs (view)` | `-` |
|
||||
| `TextureViewFormat` | `Texture::new_texture_view` of a pixel format Metal does not view the texture as | every device (a public call's own check of its arguments) | `metal-measured`: an Apple M3 Max, macOS 27.0.1, probe `texture_view_rules.m` in the conformance crate, jobs m3-max-43677 and m3-max-59523: Metal's validation layer stops a view of another format of a texture of `ShaderRead` usage, `R32Uint`, `RGBA8Uint`, `BGRA8Unorm` and `BGRA8Unorm_sRGB` of `RGBA8Unorm`, `A8Unorm`, `R8Snorm` and `R8Uint` of `R8Unorm`, `R16Unorm` of `RG8Unorm`, "texture usage (0x01) doesn't specify MTLTextureUsagePixelFormatView (0x10)", and makes it where the usage adds `PixelFormatView`; plain Metal makes each, a blit out of it reading the texture's bytes; Apple's `makeTextureView` and `MTLTextureUsage.pixelFormatView` pages state the rest | 2: `crates/metal2vulkan-runtime/src/d3d11.rs (d3d11_plane)`, `crates/metal2vulkan-runtime/src/texture.rs (view)` | `-` |
|
||||
| `MipmapFormat` | `BlitCommandEncoder::generate_mipmaps` of a texture of more than one level whose pixel format is not a colour-renderable, filterable one | every device (a public call's own check of its arguments) | `metal-measured`: Apple's `generateMipmaps(for:)` page: mipmap generation works only for textures with colour-renderable and colour-filterable pixel formats; Metal's API validation stops the others, measured on an Apple M3 Max and an M4 | 1: `crates/metal2vulkan-runtime/src/blit.rs (generate_mipmaps)` | `-` |
|
||||
| `TextureCopyMismatch` | `BlitCommandEncoder::copy_from_texture` between textures of two pixel formats, or of two sample counts | every device (a public call's own check of its arguments) | `metal-measured`: an Apple M3 Max, macOS 27.0.1, probe `blit_copy_format_pairs.m` in the conformance crate: Metal's validation layer stops every pair of two formats it was given, sRGB, integer, float, channel order, depth and compressed pairs among them, with `[sourceTexture pixelFormat](...) must equal [destinationTexture pixelFormat](...)`, and a source of four samples into one of one with `[sourceTexture sampleCount](4) must equal [destinationTexture sampleCount](1)` | 1: `crates/metal2vulkan-runtime/src/blit.rs (texture_copy)` | `-` |
|
||||
| `ManagedTextureBytes` | A Managed texture's bytes the device cannot copy in place (`Device::new_managed_texture`) | every device (a public call's own check of its arguments) | `ours`: a buffer-to-image copy reads a place only so laid out, and the consumer's bytes are the place the copy reads | 5: `crates/metal2vulkan-runtime/src/texture.rs (check_places)`, `crates/metal2vulkan-runtime/src/texture.rs (named)` (+2) | `-` |
|
||||
@@ -333,7 +332,7 @@ Columns:
|
||||
| `ViewportNotFinite` | A viewport with a field that is NaN or infinite (but its origin's x, which draws nothing) | every device (a public call's own check of its arguments) | `metal-measured`: an Apple M4, macOS 27.0.1: Metal's validation stops a NaN or infinite origin; the other fields are taken by the same rule | 1: `crates/metal2vulkan-runtime/src/render_encoder.rs (set_viewport)` | `-` |
|
||||
| `StencilAttachment` | A draw under a depth-stencil state that tests the stencil, in a pass without a stencil attachment | every device (a public call's own check of its arguments) | `metal-measured`: an Apple M4, macOS 27.0.1: Metal's validation stops the draw; plain Metal tests it against a hidden stencil of 0 that the runtime does not keep | 1: `crates/metal2vulkan-runtime/src/render_encoder.rs (draw)` | `-` |
|
||||
|
||||
## 8. The new runtime's `Limit` (`Error::Limit(Limit)`)
|
||||
## 8. The runtime's `Limit` (`Error::Limit(Limit)`)
|
||||
|
||||
| Variant | What it blocks | Where | Basis | Sites | Reach |
|
||||
|---|---|---|---|---|---|
|
||||
@@ -355,7 +354,7 @@ Columns:
|
||||
| `ExportType` | An export of a handle the device gives, but not in the one form an export takes (`Device::new_exported_block`) | at the device's limit | `device`: its extensions and the buffer's memory requirements | 6: `crates/metal2vulkan-runtime/src/export.rs (new_exported_block)`, `crates/metal2vulkan-runtime/src/import.rs (surface_import)` (+4) | `-` |
|
||||
| `TextureSamples` | A multisample texture of a sample count the device does not make for its format, type and usage | at the device's limit | `device`: the image format query's `sampleCounts` | 1: `crates/metal2vulkan-runtime/src/texture.rs (plan)` | `-` |
|
||||
|
||||
## 9. The new runtime's `Gap` (`Error::Unsupported(Gap)`)
|
||||
## 9. The runtime's `Gap` (`Error::Unsupported(Gap)`)
|
||||
|
||||
| Variant | What it blocks | Where | Basis | Sites | Reach |
|
||||
|---|---|---|---|---|---|
|
||||
@@ -374,7 +373,7 @@ Columns:
|
||||
| `LodClamps` | A sampler state bound with LOD clamps its samples read otherwise through (`ComputeCommandEncoder::set_sampler_state_with_lod_clamps` and the... | every device (a public call's own check of its arguments) | `ours`: no replay stream binds such clamps: every bind-time clamp the streams make reads as its state's own | 1: `crates/metal2vulkan-runtime/src/sampler.rs (clamps_at_bind)` | `-` |
|
||||
| `TextureBytes` | `Texture::replace_region`, `Texture::get_bytes` or a blit copy between a buffer and a texture (`BlitCommandEncoder::copy_from_buffer`) of a... | every device (a public call's own check of its arguments) | `ours`: no copy between such an image and bytes is built | 3: `crates/metal2vulkan-runtime/src/blit.rs (buffer_copy)`, `crates/metal2vulkan-runtime/src/texture.rs (check_places)` (+1) | `-` |
|
||||
| `FloatDepthUpload` | `Texture::replace_region` or `BlitCommandEncoder::copy_from_buffer` into a 32-bit float depth (`Depth32Float`) | every device (a public call's own check of its arguments) | `ours`: no upload of a 32-bit float depth is built | 3: `crates/metal2vulkan-runtime/src/blit.rs (buffer_copy)`, `crates/metal2vulkan-runtime/src/texture.rs (replace_region)` (+1) | `-` |
|
||||
| `TextureCopy` | `BlitCommandEncoder::copy_from_texture` that no single `vkCmdCopyImage` in the floor makes | every device (a public call's own check of its arguments) | `ours`: Vulkan 1.3 copies none of these with one command; each is built when a replay stream makes one | 1: `crates/metal2vulkan-runtime/src/blit.rs (texture_copy)` | `-` |
|
||||
| `TextureCopy` | `BlitCommandEncoder::copy_from_texture` that no single `vkCmdCopyImage` in the floor makes | every device (a public call's own check of its arguments) | `ours`: Vulkan 1.3 copies none of these with one command; each is built when a replay stream makes one; Apple's `copy(from:sourceSlice:sourceLevel:sourceOrigin:sourceSize:to:` page calls a copy between overlapping regions of one texture "unexpected behavior" | 1: `crates/metal2vulkan-runtime/src/blit.rs (texture_copy)` | `-` |
|
||||
| `TextureOverBuffer` | A texture over a buffer (`Buffer::new_texture`) the runtime does not make | every device (a public call's own check of its arguments) | `ours`: the in-place linear image and the copy form take one 2D color image | 3: `crates/metal2vulkan-runtime/src/texture.rs (check_over)`, `crates/metal2vulkan-runtime/src/texture.rs (error)` (+1) | `-` |
|
||||
| `HeapTexture` | A heap texture the runtime does not place (`Device::new_heap_texture`, `Device::new_heap_texture_for_views` and `Device::heap_texture_size_and_align`) | every device (a public call's own check of its arguments) | `ours`: heap textures are built for Private heaps of placeable images | 2: `crates/metal2vulkan-runtime/src/texture.rs (heap_fit)`, `crates/metal2vulkan-runtime/src/texture.rs (heap_source)` | `-` |
|
||||
| `SurfaceUsage` | A surface plane in place (`Device::new_exported_surface`) whose texture's uses ask an image usage its linear tiling lacks (storage, for one) | at the device's limit | `device`: the image format query and the format features of the plane's tiling | 3: `crates/metal2vulkan-runtime/src/d3d11.rs (d3d11_plane)`, `crates/metal2vulkan-runtime/src/surface.rs (plane)` (+1) | `-` |
|
||||
@@ -387,7 +386,7 @@ Columns:
|
||||
| `BicubicTexels` | A dispatch whose kernel samples texture slot `slot` through a constexpr sampler with Metal's bicubic filter (`filter::bicubic`), where the texture... | every device (a public call's own check of its arguments) | `ours`: each refused format's treatment is built when a guest binds one | 1: `crates/metal2vulkan-runtime/src/encoder.rs (dispatch)` | `-` |
|
||||
| `TextureView` | `Texture::new_texture_view` of a kind Metal makes and the runtime does not build | every device (a public call's own check of its arguments) | `ours`: the replay streams' views that compute binds are same-format views of every slice, 2D views of one slice of a 2D array, and level subranges, swizzled or not; each other kind is built when a replay stream binds one | 1: `crates/metal2vulkan-runtime/src/texture.rs (view)` | `-` |
|
||||
| `RenderPass` | A render pass of something the runtime does not build yet (`CommandBuffer::render_command_encoder`) | every device (a public call's own check of its arguments) | `ours`: the replay streams' passes render into one to two color attachments and a stencil or a depth attachment, each a level of a 2D texture of one sample, with no resolve and a clear depth of 1, none naming two textures for its depth and stencil; each other kind is built when a replay stream makes one; `DepthStencilViews` and `ClearDepth` are what Vulkan's rendering under the floor takes no form of | 5: `crates/metal2vulkan-runtime/src/pass.rs (check)`, `crates/metal2vulkan-runtime/src/pass.rs (ops)` (+3) | `-` |
|
||||
| `Draw` | A draw or render encoder state the runtime does not build yet (`RenderCommandEncoder`) | every device (a public call's own check of its arguments) | `ours`: the replay streams draw lines and triangles through one viewport Vulkan's is, with pipeline states of their pass's formats, under depth biases with no clamp, filled and clipped; each other kind is built when a replay stream draws one), and device for [`DrawKind::DividedBaseInstance`] (a device that does not report `supportsNonZeroFirstInstance` | 13: `crates/metal2vulkan-runtime/src/render_encoder.rs (attachment_reads, 2 sites)`, `crates/metal2vulkan-runtime/src/render_encoder.rs (draw)` (+10) | `-` |
|
||||
| `Draw` | A draw or render encoder state the runtime does not build yet (`RenderCommandEncoder`) | every device (a public call's own check of its arguments) | `ours`: the replay streams draw lines and triangles through one viewport Vulkan's is, with pipeline states of their pass's formats, under depth biases with no clamp, filled and clipped; each other kind is built when a replay stream draws one), and device for [`DrawKind::DividedBaseInstance`] (a device that does not report `supportsNonZeroFirstInstance` | 12: `crates/metal2vulkan-runtime/src/render_encoder.rs (attachment_reads, 2 sites)`, `crates/metal2vulkan-runtime/src/render_encoder.rs (draw)` (+9) | `-` |
|
||||
| `LinearPlanePass` | A render pass over a surface plane that renders as a linear colour attachment alone, in a shape the device does not render... | at the device's limit | `device`: VK_NV_linear_color_attachment renders such a format as a colour attachment only "as long as all the color attachments in the render pass instance have VK_IMAGE_TILING_LINEAR tiling"; the RTX 3090's driver lost the device rendering a linear colour attachment beside a depth or stencil attachment | 1: `crates/metal2vulkan-runtime/src/pass.rs (check)` | `-` |
|
||||
|
||||
## Appendix: every site
|
||||
@@ -431,7 +430,7 @@ Each refusal's sites, with the function that builds it.
|
||||
- `feature::ImageAtomics`: `crates/metal2vulkan/src/lower/texture/slot.rs (atomic_format)`
|
||||
- `feature::DescriptorCount`: `crates/metal2vulkan/src/lower/access/mod.rs (accept_placement)`; `crates/metal2vulkan/src/lower/select.rs (finish)`; `crates/metal2vulkan/src/pipeline/link.rs (limit_error)`
|
||||
- `feature::StageSize`: `crates/metal2vulkan/src/pipeline/compile/stage_bound.rs (refused)`
|
||||
- `feature::BufferRange`: `crates/metal2vulkan/src/bind/graphics.rs (patch_binding, 3 sites)`; `crates/metal2vulkan/src/bind/graphics.rs (rebind_with)`; `crates/metal2vulkan/src/bind/instantiate.rs (bind_buffers)`; `crates/metal2vulkan/src/lower/access/function_table.rs (select)`; `crates/metal2vulkan/src/lower/access/mod.rs (place_slots)`
|
||||
- `feature::BufferRange`: `crates/metal2vulkan/src/bind/graphics.rs (patch_binding, 3 sites)`; `crates/metal2vulkan/src/bind/instantiate.rs (bind_buffers)`; `crates/metal2vulkan/src/lower/access/function_table.rs (select)`; `crates/metal2vulkan/src/lower/access/mod.rs (place_slots)`
|
||||
- `feature::Int64Arithmetic`: `crates/metal2vulkan/src/lower/arith/legal.rs (check_scalar)`; `crates/metal2vulkan/src/lower/select.rs (selector_form)`
|
||||
- `feature::Float64Arithmetic`: `crates/metal2vulkan/src/device/metal.rs (unsupported_features)`; `crates/metal2vulkan/src/lower/arith/legal.rs (check_scalar)`
|
||||
- `feature::Format`: `crates/metal2vulkan/src/bind/extended_shadow.rs (extended_shadow_module)`; `crates/metal2vulkan/src/bind/heap.rs (array)`; `crates/metal2vulkan/src/bind/plan/resources.rs (extended_sampler)`; `crates/metal2vulkan/src/bind/plan/resources.rs (plain_texture, 2 sites)`; `crates/metal2vulkan/src/bind/plan/resources.rs (require_filter_features)`; `crates/metal2vulkan/src/bind/sample_interleave.rs (finish)`; `crates/metal2vulkan/src/bind/sample_interleave.rs (interleave_split_module)`; `crates/metal2vulkan/src/bind/shadow_copy_in.rs (shadow_copy_in_module)`; `crates/metal2vulkan/src/lower/access/tile.rs (storage_format)`; `crates/metal2vulkan/src/lower/fragment/color.rs (select_param, 4 sites)`; `crates/metal2vulkan/src/lower/fragment/fetch.rs (extended_range_blend, 5 sites)`; `crates/metal2vulkan/src/lower/fragment/fetch.rs (select_output, 3 sites)`; `crates/metal2vulkan/src/lower/fragment/fetch.rs (select_read)`; `crates/metal2vulkan/src/lower/fragment/input_blend.rs (rotated)`; `crates/metal2vulkan/src/lower/sampler/select.rs (select_extended)`; `crates/metal2vulkan/src/lower/sampler/select.rs (texel_in)`; `crates/metal2vulkan/src/lower/stage_io/extended_color.rs (plan)`; `crates/metal2vulkan/src/lower/stage_io/plan.rs (entry)`; `crates/metal2vulkan/src/lower/stage_io/plan.rs (zeroed_output)`; `crates/metal2vulkan/src/lower/stage_io/word_color.rs (plan)`; `crates/metal2vulkan/src/lower/texture/mod.rs (cross_class)`; `crates/metal2vulkan/src/lower/texture/mod.rs (select)`; `crates/metal2vulkan/src/lower/texture/mod.rs (select_image)`; `crates/metal2vulkan/src/lower/texture/mod.rs (select_read_as, 2 sites)`; `crates/metal2vulkan/src/lower/texture/mod.rs (select_write)`; `crates/metal2vulkan/src/lower/texture/slot.rs (atomic_format, 2 sites)`; `crates/metal2vulkan/src/lower/texture/slot.rs (declare_slot, 3 sites)`; `crates/metal2vulkan/src/lower/texture/slot.rs (storage_format, 5 sites)`; `crates/metal2vulkan/src/lower/texture/slot.rs (ulong_format, 3 sites)`; `crates/metal2vulkan/src/metal/format/mod.rs (candidates)`; `crates/metal2vulkan/src/metal/format/mod.rs (held_storage_choice, 3 sites)`; `crates/metal2vulkan/src/metal/format/mod.rs (storage_choice)`; `crates/metal2vulkan/src/metal/format/mod.rs (vk_format, 2 sites)`; `crates/metal2vulkan/src/metal/vertex.rs (fetch_as, 2 sites)`; `crates/metal2vulkan/src/pipeline/color_writes.rs (rotated_blend_in_shader)`; `crates/metal2vulkan/src/pipeline/link/graphics.rs (extended_write_mask, 2 sites)`; `crates/metal2vulkan/src/pipeline/link/graphics.rs (graphics_state, 3 sites)`; `crates/metal2vulkan/src/pipeline/link/graphics.rs (reads_alpha_to_coverage, 2 sites)`; `crates/metal2vulkan/src/pipeline/link/graphics.rs (textured_fetches)`; `crates/metal2vulkan/src/pipeline/rotated_blend.rs (alpha_in_red_blend)`; `crates/metal2vulkan/src/pipeline/rotated_blend.rs (rotated_blend)`
|
||||
@@ -504,7 +503,7 @@ Each refusal's sites, with the function that builds it.
|
||||
- `feature::SparseTexture`: `crates/metal2vulkan/src/bind/plan/slots.rs (check_sparse_textures, 2 sites)`
|
||||
- `feature::TextureSwizzle`: `crates/metal2vulkan/src/bind/heap.rs (member_texel_view)`; `crates/metal2vulkan/src/bind/plan/resources.rs (plain_texture)`; `crates/metal2vulkan/src/lower/sampler/select.rs (select_one)`; `crates/metal2vulkan/src/lower/texture/mod.rs (select_read_as)`; `crates/metal2vulkan/src/lower/texture/mod.rs (select_write)`; `crates/metal2vulkan/src/lower/texture/slice.rs (select)`
|
||||
- `feature::PrivateMemory`: `crates/metal2vulkan/src/lower/select.rs (function_storage)`
|
||||
- `feature::Reflection`: `crates/metal2vulkan/src/bind/argument_buffer.rs (unmeasured)`; `crates/metal2vulkan/src/reflection/derive.rs (gap_at)`; `crates/metal2vulkan/src/reflection/derive.rs (read_attributes)`; `crates/metal2vulkan/src/reflection/derive.rs (specialized_reads)`; `crates/metal2vulkan/src/reflection/function.rs (attribute)`; `crates/metal2vulkan/src/reflection/function.rs (module_constants)`; `crates/metal2vulkan/src/reflection/function.rs (unmeasured)`; `crates/metal2vulkan/src/reflection/linked.rs (function)`; `crates/metal2vulkan/src/reflection/mod.rs (kernel_stage)`
|
||||
- `feature::Reflection`: `crates/metal2vulkan/src/reflection/derive.rs (gap_at)`; `crates/metal2vulkan/src/reflection/derive.rs (read_attributes)`; `crates/metal2vulkan/src/reflection/derive.rs (specialized_reads)`; `crates/metal2vulkan/src/reflection/function.rs (attribute)`; `crates/metal2vulkan/src/reflection/function.rs (module_constants)`; `crates/metal2vulkan/src/reflection/function.rs (unmeasured)`; `crates/metal2vulkan/src/reflection/linked.rs (function)`; `crates/metal2vulkan/src/reflection/mod.rs (kernel_stage)`
|
||||
- `feature::IndirectRenderState`: `crates/metal2vulkan/src/lower/access/encode.rs (select_command)`
|
||||
- `feature::GlobalBuiltinInFragment`: `crates/metal2vulkan/src/lower/select.rs (route_air)`
|
||||
- `feature::PrivateRenderState`: `crates/metal2vulkan/src/bind/heap.rs (array)`; `crates/metal2vulkan/src/bind/plan/resources.rs (write_rounding)`; `crates/metal2vulkan/src/lower/sampler/select.rs (clamps_reference)`; `crates/metal2vulkan/src/lower/stage_io/plan.rs (alpha_test_refused)`; `crates/metal2vulkan/src/lower/texture/mod.rs (mode_rounded_write)`; `crates/metal2vulkan/src/pipeline/private_state.rs (logic_operation)`; `crates/metal2vulkan/src/pipeline/private_state.rs (refused)`
|
||||
@@ -514,7 +513,7 @@ Each refusal's sites, with the function that builds it.
|
||||
- `feature::SeqCstFence`: `crates/metal2vulkan/src/lower/sync/barrier.rs (require_seq_cst)`
|
||||
- `feature::PostDepthCoverage`: `crates/metal2vulkan/src/lower/stage_io/plan.rs (param)`
|
||||
- `feature::WideLines`: `crates/metal2vulkan/src/pipeline/link/band.rs (plan, 3 sites)`
|
||||
- `bind::DescriptorRangeExceeded`: `crates/metal2vulkan/src/bind/graphics.rs (rebind_with)`; `crates/metal2vulkan/src/bind/instantiate.rs (bind_buffers)`
|
||||
- `bind::DescriptorRangeExceeded`: `crates/metal2vulkan/src/bind/instantiate.rs (bind_buffers)`
|
||||
- `bind::TexelBufferTooLarge`: `crates/metal2vulkan/src/bind/instantiate.rs (texel_ranges)`
|
||||
- `bind::HeapTooLarge`: `crates/metal2vulkan/src/bind/heap.rs (directory_bytes)`; `crates/metal2vulkan/src/bind/heap.rs (heap_elements)`; `crates/metal2vulkan/src/bind/heap.rs (listed_sampler_tables)`; `crates/metal2vulkan/src/bind/heap.rs (new, 3 sites)`; `crates/metal2vulkan/src/bind/heap.rs (placed)`
|
||||
- `bind::TessellationFactorRange`: `crates/metal2vulkan/src/bind/graphics.rs (patch_binding)`
|
||||
@@ -671,6 +670,6 @@ Each refusal's sites, with the function that builds it.
|
||||
- `rt:Gap::BicubicTexels`: `crates/metal2vulkan-runtime/src/encoder.rs (dispatch)`
|
||||
- `rt:Gap::TextureView`: `crates/metal2vulkan-runtime/src/texture.rs (view)`
|
||||
- `rt:Gap::RenderPass`: `crates/metal2vulkan-runtime/src/pass.rs (check)`; `crates/metal2vulkan-runtime/src/pass.rs (ops)`; `crates/metal2vulkan-runtime/src/pass.rs (resolve)`; `crates/metal2vulkan-runtime/src/render_encoder.rs (later_store)`; `crates/metal2vulkan-runtime/src/texture.rs (attachment)`
|
||||
- `rt:Gap::Draw`: `crates/metal2vulkan-runtime/src/render_encoder.rs (attachment_reads, 2 sites)`; `crates/metal2vulkan-runtime/src/render_encoder.rs (draw)`; `crates/metal2vulkan-runtime/src/render_encoder.rs (draw_patches)`; `crates/metal2vulkan-runtime/src/render_encoder.rs (primitives)`; `crates/metal2vulkan-runtime/src/render_encoder.rs (set_depth_bias)`; `crates/metal2vulkan-runtime/src/render_encoder.rs (set_depth_clip_mode)`; `crates/metal2vulkan-runtime/src/render_encoder.rs (set_scissor_rects)`; `crates/metal2vulkan-runtime/src/render_encoder.rs (set_triangle_fill_mode)`; `crates/metal2vulkan-runtime/src/render_encoder.rs (set_viewport)`; `crates/metal2vulkan-runtime/src/render_encoder.rs (set_viewports)`; `crates/metal2vulkan-runtime/src/render_encoder.rs (set_visibility_result_mode)`; `crates/metal2vulkan-runtime/src/render_encoder.rs (shadow_copies)`
|
||||
- `rt:Gap::Draw`: `crates/metal2vulkan-runtime/src/render_encoder.rs (attachment_reads, 2 sites)`; `crates/metal2vulkan-runtime/src/render_encoder.rs (draw)`; `crates/metal2vulkan-runtime/src/render_encoder.rs (draw_patches)`; `crates/metal2vulkan-runtime/src/render_encoder.rs (set_depth_bias)`; `crates/metal2vulkan-runtime/src/render_encoder.rs (set_depth_clip_mode)`; `crates/metal2vulkan-runtime/src/render_encoder.rs (set_scissor_rects)`; `crates/metal2vulkan-runtime/src/render_encoder.rs (set_triangle_fill_mode)`; `crates/metal2vulkan-runtime/src/render_encoder.rs (set_viewport)`; `crates/metal2vulkan-runtime/src/render_encoder.rs (set_viewports)`; `crates/metal2vulkan-runtime/src/render_encoder.rs (set_visibility_result_mode)`; `crates/metal2vulkan-runtime/src/render_encoder.rs (shadow_copies)`
|
||||
- `rt:Gap::LinearPlanePass`: `crates/metal2vulkan-runtime/src/pass.rs (check)`
|
||||
|
||||
Reference in new issue
Block a user