Admit an ARGB8Unorm attachment's input attachment for the function's own blend over it
On a device that orders fetch through rasterization-order input
attachments (lavapipe), f15f3b3738 has the fragment function compute
Metal's 8-bit unorm blend of an ARGB8Unorm attachment over its input
attachment where no Vulkan state on its rotated image gives the blend
(RuntimeFact::RotatedInputBlend). Link still refused every input
attachment of an image holding Metal's channels rotated, so each such
pipeline was refused NotImplemented(Format) at color 0: the lavapipe
replay's refusal of argb8-targets-destination-alpha, and the
engine_rotated_colors failure (its input-attachment arm never ran).
The refusal existed because a color input ([[color(n)]]) of such an
attachment would read the image's order. That reason is now structural
at the lowering: lower::fragment::color refuses a color input of a
rotated attachment (not one holding Metal's alpha in red) in the
input-attachment form, NotImplemented(Format) at the attachment, where
it was compiled knowing the attachment is rotated. Link admits a rotated
attachment's input attachment exactly where the stage states
RotatedInputBlend for that color (which fetch::input_blends has already
held to the pipeline's blend and mask), so a stage compiled for another
pipeline that reads one stays refused as before.
New test a_color_input_of_a_rotated_attachment_is_refused_over_its_input_attachment
(engine_fetch_blend8): compiled alone, the read of an ARGB8Unorm color 0
on every input-attachment profile is refused at the lowering; without
this commit it compiled (only link refused it). docs/REFUSALS.md
re-derived (color.rs select_param gains a site).
This changes translation outcomes, so it rides the branch's
SEMANTICS_VERSION (1989) when landed with it, or takes the next number.
Not yet run; the next job runs engine_rotated_colors, the new test and
the lavapipe replay.
(cherry picked from commit 5cf71464048d280e13d64b047bb6fa81df8e84e1)
This commit is contained in:
1 parent
9a1b2426ba
commit
2984f58ae6
4 files changed
+68
-9
No files matched your search
@@ -181,6 +181,16 @@ pub(super) fn select_param(cx: &mut SelectCx<'_>, b: &ParamBinding) -> Result<Co
|
||||
if !frag.rasterization_order_color_access {
|
||||
return Err(unordered(cx, color));
|
||||
}
|
||||
// The input attachment of an image holding Metal's channels rotated (`ARGB8Unorm` in
|
||||
// `R8G8B8A8_UNORM`) reads them in the image's order: a color input of one is not modelled.
|
||||
// The function's own blend over it rotates the texel it reads (`input_blend::rotated_texel`),
|
||||
// and link admits the attachment's input attachment for that blend alone. One holding Metal's
|
||||
// alpha in red is read as Metal's alpha (`ColorInput::alpha_red`).
|
||||
if cx.inputs.rotated_colors.contains(&color) && !cx.inputs.alpha_in_red_colors.contains(&color)
|
||||
{
|
||||
let refused = Unsupported::not_implemented(Feature::Format);
|
||||
return Err(refused.at_attachment(Attachment::Color(color)).into());
|
||||
}
|
||||
// Two reads of one attachment must agree on its numeric class (one image declaration).
|
||||
let known = &cx.families.fragment.colors;
|
||||
if known
|
||||
|
||||
@@ -198,6 +198,7 @@ use crate::metal::state::{
|
||||
use crate::metal::PrimitiveTopologyClass;
|
||||
use crate::pipeline::artifact::PrecisionNote;
|
||||
use crate::pipeline::color_writes;
|
||||
use crate::pipeline::facts::RuntimeFact;
|
||||
use crate::pipeline::graphics::{
|
||||
ColorAttachmentState, GraphicsState, InputAttachmentUse, TessellationState,
|
||||
};
|
||||
@@ -591,13 +592,22 @@ pub fn graphics_state(
|
||||
.ok_or(Error::InvalidDescriptor(DescriptorError::ColorAttachment {
|
||||
index: color,
|
||||
}))?;
|
||||
// An input attachment of an image holding Metal's channels rotated would read them
|
||||
// so: not modelled. (One holding Metal's alpha in red is read as Metal's alpha by a
|
||||
// stage compiled for it, `StageIo::alpha_in_red_colors`, which
|
||||
// `color_writes::check` holds to the pipeline's.)
|
||||
// An input attachment of an image holding Metal's channels rotated reads them so: a
|
||||
// color input of one is not modelled, which a stage compiled for the attachment refuses
|
||||
// (`lower::fragment::color`), so the one input attachment such a stage reads of it is
|
||||
// the one its own blend there rotates into Metal's order
|
||||
// (`RuntimeFact::RotatedInputBlend`, which `fetch::input_blends` held to the pipeline's
|
||||
// state above); any other is a stage's compiled for another pipeline. (One holding
|
||||
// Metal's alpha in red is read as Metal's alpha by a stage compiled for it,
|
||||
// `StageIo::alpha_in_red_colors`, which `color_writes::check` holds to the pipeline's.)
|
||||
// Nor is a two-plane YCbCr attachment's, whose texels Metal holds as halves and the
|
||||
// attachment as the function's floats.
|
||||
if metal::format::rotated_channels(attachment.pixel_format)
|
||||
let rotated_blend = fs.is_some_and(|f| {
|
||||
f.facts.iter().any(|fact| {
|
||||
matches!(*fact, RuntimeFact::RotatedInputBlend { color: c, .. } if c == color)
|
||||
})
|
||||
});
|
||||
if (metal::format::rotated_channels(attachment.pixel_format) && !rotated_blend)
|
||||
|| metal::format::ycbcr_renders(attachment.pixel_format)
|
||||
|| metal::format::ycbcr_pass_refused(attachment.pixel_format)
|
||||
{
|
||||
|
||||
@@ -21,7 +21,10 @@
|
||||
//! blend, each was refused `NotImplemented(FramebufferFetch)` at color 0. Other blends (the blend
|
||||
//! color's among them) and write masks that keep channels compile the same way; a blend that reads
|
||||
//! the second source of a function that writes none is refused as Metal refuses its pipeline
|
||||
//! (`InvalidDescriptor(ColorAttachment)`). No GPU is used.
|
||||
//! (`InvalidDescriptor(ColorAttachment)`). On a profile that orders fetch through
|
||||
//! rasterization-order input attachments, a color input of an `ARGB8Unorm` attachment, whose input
|
||||
//! attachment would read its image's rotated channels, is refused `NotImplemented(Format)` at
|
||||
//! color 0. No GPU is used.
|
||||
//!
|
||||
//! `llvm-as` assembles the fixtures; a missing tool skips visibly.
|
||||
|
||||
@@ -29,7 +32,7 @@ use std::path::Path;
|
||||
|
||||
use crate::budget::Budget;
|
||||
use crate::device::{Device, DeviceDescription, DevicePolicy, DeviceProfile};
|
||||
use crate::error::{DescriptorError, Error, Needs};
|
||||
use crate::error::{Attachment, DescriptorError, Error, Feature, Needs};
|
||||
use crate::library::{FunctionArtifact, Library};
|
||||
use crate::metal::{BlendFactor, BlendOperation, ColorWriteMask, PixelFormat};
|
||||
use crate::pipeline::artifact::PrecisionNote;
|
||||
@@ -500,3 +503,39 @@ fn a_second_source_blend_without_its_output_is_refused_as_metal_refuses_it() {
|
||||
}
|
||||
assert!(checked > 0, "no interlock profile refused");
|
||||
}
|
||||
|
||||
/// A color input of an `ARGB8Unorm` attachment, whose image holds Metal's channels rotated, on
|
||||
/// every committed profile that orders fetch through rasterization-order input attachments: the
|
||||
/// input attachment would read the image's order, so the function's lowering refuses it
|
||||
/// `NotImplemented(Format)` at the attachment (link admits such an attachment's input attachment
|
||||
/// only for the function's own blend over it, `RuntimeFact::RotatedInputBlend`).
|
||||
#[test]
|
||||
fn a_color_input_of_a_rotated_attachment_is_refused_over_its_input_attachment() {
|
||||
let Some(fast) = assembled("fbl_fetch_blend8") else {
|
||||
return;
|
||||
};
|
||||
let mut checked = 0;
|
||||
for (stem, p) in committed_profiles().expect("profiles") {
|
||||
if !crate::lower::fragment::inputs_order(&p) {
|
||||
continue;
|
||||
}
|
||||
let inputs = state(&p, PixelFormat::ARGB8Unorm, OVER, ColorWriteMask::ALL);
|
||||
match compile_with(&fast, "fbl8_over_loaded", &p, &inputs) {
|
||||
Err(Error::Unsupported(u)) => {
|
||||
assert_eq!(
|
||||
(u.feature, u.needs),
|
||||
(Feature::Format, Needs::NotImplemented),
|
||||
"{stem}"
|
||||
);
|
||||
let at = u.location.as_ref().and_then(|l| l.attachment());
|
||||
assert_eq!(at, Some(Attachment::Color(0)), "{stem}");
|
||||
}
|
||||
other => panic!("{stem}: {:?}", other.map(|_| ())),
|
||||
}
|
||||
checked += 1;
|
||||
}
|
||||
assert!(
|
||||
checked > 0,
|
||||
"no profile orders fetch through input attachments"
|
||||
);
|
||||
}
|
||||
+2
-2
@@ -92,7 +92,7 @@ Columns:
|
||||
| `BufferRange` | A buffer window beyond the descriptor range limits | devices without a capability the site computes (`needs`); devices without buffer device addresses (`addressed_needs`); every device (no Vulkan mechanism) | `device` | 8: `crates/metal2vulkan-runtime/src/function_table.rs (past_storage_buffer_range)`, `crates/metal2vulkan/src/bind/graphics.rs (patch_binding, 3 sites)` (+4) | `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 format not supported for the required use | devices without VkFeature::ShaderStorageImageExtendedFormats; devices without a capability the site computes; 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` | 124: `crates/metal2vulkan-runtime/src/binding_view.rs (binding_view)`, `crates/metal2vulkan-runtime/src/blit_fill.rs (fill)` (+83) | `system`: pixel formats a device lacks for a use (CoreVideo's 4:2:x and 10-bit formats among them) |
|
||||
| `Format` | A pixel format not supported for the required use | devices without VkFeature::ShaderStorageImageExtendedFormats; devices without a capability the site computes; 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` | 125: `crates/metal2vulkan-runtime/src/binding_view.rs (binding_view)`, `crates/metal2vulkan-runtime/src/blit_fill.rs (fill)` (+83) | `system`: pixel formats a device lacks for a use (CoreVideo's 4:2:x and 10-bit formats among them) |
|
||||
| `DivergentImplicitLod` | Divergent implicit-LOD sampling or LOD query through a multi-candidate handle | every device (not implemented) | `ours` | 1: `crates/metal2vulkan/src/lower/sampler/select.rs (select_sampling)` | `app`: implicit-LOD sampling through a dynamically chosen texture |
|
||||
| `ImplicitLodOutsideFragment` | Implicit-LOD sampling outside fragment | every device (not implemented) | `ours` | 3: `crates/metal2vulkan/src/lower/sampler/constexpr.rs (query_min_level)`, `crates/metal2vulkan/src/lower/sampler/select.rs (query_level_measured)` (+1) | `rare`: implicit-LOD sampling outside fragment functions |
|
||||
| `MinLodClamp` | `min_lod_clamp` without `shaderResourceMinLod` | devices without VkFeature::ShaderResourceMinLod; every device (not implemented) | `ours` | 2: `crates/metal2vulkan/src/lower/sampler/select.rs (min_lod)`, `crates/metal2vulkan/src/lower/sampler/select.rs (select_one)` | `rare`: min_lod_clamp on a device without shaderResourceMinLod |
|
||||
@@ -603,7 +603,7 @@ Each refusal's sites, with the function that builds it.
|
||||
- `feature::BufferRange`: `crates/metal2vulkan-runtime/src/function_table.rs (past_storage_buffer_range)`; `crates/metal2vulkan/src/bind/graphics.rs (patch_binding, 3 sites)`; `crates/metal2vulkan/src/bind/graphics.rs (rebind_slots)`; `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-runtime/src/binding_view.rs (binding_view)`; `crates/metal2vulkan-runtime/src/blit_fill.rs (fill)`; `crates/metal2vulkan-runtime/src/blit_plan.rs (check_formats, 3 sites)`; `crates/metal2vulkan-runtime/src/blit_plan.rs (pair_unit)`; `crates/metal2vulkan-runtime/src/blit_plan.rs (plan_levels_copy)`; `crates/metal2vulkan-runtime/src/blit_texture.rs (through_buffer)`; `crates/metal2vulkan-runtime/src/buffer_texture.rs (make_texture_over, 3 sites)`; `crates/metal2vulkan-runtime/src/buffer_texture.rs (texture_buffer_texel)`; `crates/metal2vulkan-runtime/src/color_resolve.rs (of_attachment)`; `crates/metal2vulkan-runtime/src/copy_plan.rs (colour_unit)`; `crates/metal2vulkan-runtime/src/copy_plan.rs (copy_unit, 2 sites)`; `crates/metal2vulkan-runtime/src/depth_stencil_scratch.rs (scratch)`; `crates/metal2vulkan-runtime/src/depth_stencil_scratch.rs (usable_twin)`; `crates/metal2vulkan-runtime/src/families/features.rs (read_write_tier)`; `crates/metal2vulkan-runtime/src/families/formats.rs (answers, 3 sites)`; `crates/metal2vulkan-runtime/src/families/formats.rs (atomic_gap)`; `crates/metal2vulkan-runtime/src/families/formats.rs (lacking)`; `crates/metal2vulkan-runtime/src/families/formats.rs (none)`; `crates/metal2vulkan-runtime/src/families/formats.rs (probe, 2 sites)`; `crates/metal2vulkan-runtime/src/families/formats.rs (sparse_missing)`; `crates/metal2vulkan-runtime/src/families/formats.rs (unsupported)`; `crates/metal2vulkan-runtime/src/image_plan.rs (plan_held, 3 sites)`; `crates/metal2vulkan-runtime/src/render.rs (viewing)`; `crates/metal2vulkan-runtime/src/render_pass.rs (attachment_format)`; `crates/metal2vulkan-runtime/src/render_pass.rs (check_target)`; `crates/metal2vulkan-runtime/src/render_pass.rs (layout)`; `crates/metal2vulkan-runtime/src/render_pass.rs (target)`; `crates/metal2vulkan-runtime/src/resolve.rs (unmodelled_resolve)`; `crates/metal2vulkan-runtime/src/sample_copy.rs (checked_twin)`; `crates/metal2vulkan-runtime/src/sample_copy.rs (plan)`; `crates/metal2vulkan-runtime/src/sample_interleave.rs (interleave_merge)`; `crates/metal2vulkan-runtime/src/shadow.rs (unmerged, 2 sites)`; `crates/metal2vulkan-runtime/src/texture.rs (plan_sparse_texture)`; `crates/metal2vulkan-runtime/src/texture.rs (texture_as)`; `crates/metal2vulkan-runtime/src/texture.rs (two_planes_refused)`; `crates/metal2vulkan-runtime/src/texture/decoded_twin.rs (astc_texels)`; `crates/metal2vulkan-runtime/src/texture/decoded_twin.rs (etc_texels)`; `crates/metal2vulkan-runtime/src/texture/decoded_twin.rs (with_decoded_twin)`; `crates/metal2vulkan-runtime/src/texture/heap.rs (planned_heap_texture)`; `crates/metal2vulkan-runtime/src/texture/surface_two_planes.rs (refused)`; `crates/metal2vulkan-runtime/src/texture/ycbcr_image.rs (converted_storage)`; `crates/metal2vulkan-runtime/src/texture/ycbcr_image.rs (new_render_shadow)`; `crates/metal2vulkan-runtime/src/texture/ycbcr_image.rs (ycbcr_write_shadow)`; `crates/metal2vulkan-runtime/src/two_planes.rs (unmeasured)`; `crates/metal2vulkan-runtime/src/view_plan.rs (check_format, 5 sites)`; `crates/metal2vulkan-runtime/src/ycbcr.rs (refused)`; `crates/metal2vulkan/src/bind/extended_shadow.rs (extended_shadow_module)`; `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, 2 sites)`; `crates/metal2vulkan/src/lower/fragment/fetch.rs (extended_range_blend, 5 sites)`; `crates/metal2vulkan/src/lower/fragment/fetch.rs (plan)`; `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_sLine truncated
|
||||
- `feature::Format`: `crates/metal2vulkan-runtime/src/binding_view.rs (binding_view)`; `crates/metal2vulkan-runtime/src/blit_fill.rs (fill)`; `crates/metal2vulkan-runtime/src/blit_plan.rs (check_formats, 3 sites)`; `crates/metal2vulkan-runtime/src/blit_plan.rs (pair_unit)`; `crates/metal2vulkan-runtime/src/blit_plan.rs (plan_levels_copy)`; `crates/metal2vulkan-runtime/src/blit_texture.rs (through_buffer)`; `crates/metal2vulkan-runtime/src/buffer_texture.rs (make_texture_over, 3 sites)`; `crates/metal2vulkan-runtime/src/buffer_texture.rs (texture_buffer_texel)`; `crates/metal2vulkan-runtime/src/color_resolve.rs (of_attachment)`; `crates/metal2vulkan-runtime/src/copy_plan.rs (colour_unit)`; `crates/metal2vulkan-runtime/src/copy_plan.rs (copy_unit, 2 sites)`; `crates/metal2vulkan-runtime/src/depth_stencil_scratch.rs (scratch)`; `crates/metal2vulkan-runtime/src/depth_stencil_scratch.rs (usable_twin)`; `crates/metal2vulkan-runtime/src/families/features.rs (read_write_tier)`; `crates/metal2vulkan-runtime/src/families/formats.rs (answers, 3 sites)`; `crates/metal2vulkan-runtime/src/families/formats.rs (atomic_gap)`; `crates/metal2vulkan-runtime/src/families/formats.rs (lacking)`; `crates/metal2vulkan-runtime/src/families/formats.rs (none)`; `crates/metal2vulkan-runtime/src/families/formats.rs (probe, 2 sites)`; `crates/metal2vulkan-runtime/src/families/formats.rs (sparse_missing)`; `crates/metal2vulkan-runtime/src/families/formats.rs (unsupported)`; `crates/metal2vulkan-runtime/src/image_plan.rs (plan_held, 3 sites)`; `crates/metal2vulkan-runtime/src/render.rs (viewing)`; `crates/metal2vulkan-runtime/src/render_pass.rs (attachment_format)`; `crates/metal2vulkan-runtime/src/render_pass.rs (check_target)`; `crates/metal2vulkan-runtime/src/render_pass.rs (layout)`; `crates/metal2vulkan-runtime/src/render_pass.rs (target)`; `crates/metal2vulkan-runtime/src/resolve.rs (unmodelled_resolve)`; `crates/metal2vulkan-runtime/src/sample_copy.rs (checked_twin)`; `crates/metal2vulkan-runtime/src/sample_copy.rs (plan)`; `crates/metal2vulkan-runtime/src/sample_interleave.rs (interleave_merge)`; `crates/metal2vulkan-runtime/src/shadow.rs (unmerged, 2 sites)`; `crates/metal2vulkan-runtime/src/texture.rs (plan_sparse_texture)`; `crates/metal2vulkan-runtime/src/texture.rs (texture_as)`; `crates/metal2vulkan-runtime/src/texture.rs (two_planes_refused)`; `crates/metal2vulkan-runtime/src/texture/decoded_twin.rs (astc_texels)`; `crates/metal2vulkan-runtime/src/texture/decoded_twin.rs (etc_texels)`; `crates/metal2vulkan-runtime/src/texture/decoded_twin.rs (with_decoded_twin)`; `crates/metal2vulkan-runtime/src/texture/heap.rs (planned_heap_texture)`; `crates/metal2vulkan-runtime/src/texture/surface_two_planes.rs (refused)`; `crates/metal2vulkan-runtime/src/texture/ycbcr_image.rs (converted_storage)`; `crates/metal2vulkan-runtime/src/texture/ycbcr_image.rs (new_render_shadow)`; `crates/metal2vulkan-runtime/src/texture/ycbcr_image.rs (ycbcr_write_shadow)`; `crates/metal2vulkan-runtime/src/two_planes.rs (unmeasured)`; `crates/metal2vulkan-runtime/src/view_plan.rs (check_format, 5 sites)`; `crates/metal2vulkan-runtime/src/ycbcr.rs (refused)`; `crates/metal2vulkan/src/bind/extended_shadow.rs (extended_shadow_module)`; `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, 3 sites)`; `crates/metal2vulkan/src/lower/fragment/fetch.rs (extended_range_blend, 5 sites)`; `crates/metal2vulkan/src/lower/fragment/fetch.rs (plan)`; `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_sLine truncated
|
||||
- `feature::DivergentImplicitLod`: `crates/metal2vulkan/src/lower/sampler/select.rs (select_sampling)`
|
||||
- `feature::ImplicitLodOutsideFragment`: `crates/metal2vulkan/src/lower/sampler/constexpr.rs (query_min_level)`; `crates/metal2vulkan/src/lower/sampler/select.rs (query_level_measured)`; `crates/metal2vulkan/src/lower/sampler/select.rs (query_min_level)`
|
||||
- `feature::MinLodClamp`: `crates/metal2vulkan/src/lower/sampler/select.rs (min_lod)`; `crates/metal2vulkan/src/lower/sampler/select.rs (select_one)`
|
||||
|
||||
Reference in new issue
Block a user