Count a render target's shadow over host pages apart from a shader write's

One work packet, landed as 3 commits (fd42939b4c..6801186813 on archive/development-linear-2026-10-28), in order:

* Count a render target's shadow over host pages apart from a shader write's

What: WorkCounts::host_texture_shadows_written (a texture over host pages made a shadow because
its usage renders into it or writes it) is split into two counts:
- host_texture_shadows_render_target: the usage holds RenderTarget, whatever else it holds. A
  texture of both RenderTarget and ShaderWrite counts here, and so does an Unknown usage (Metal
  reports every usage for it).
- host_texture_shadows_shader_write: the usage writes it through a shader (ShaderWrite or
  ShaderAtomic) and does not render into it.
ShadowCause::Written becomes ShadowCause::RenderTarget and ShadowCause::ShaderWrite in
in_place.rs. Render target wins because such a texture stays a shadow whatever a check of shader
writes could show.

Why: whether guest frames make shader-written textures over host pages at all decides whether
writing them in place is worth its check. The old count lumped them with render targets, so no
run could tell. Writing them in place is parked on park/shaderwrite-in-place.

The shadowed-texture notice's words are unchanged for both causes, and every texture takes the
path it took. No run's answer or announcement changes, so RUNTIME_VERSION is unchanged.

Tests:
- tests::in_place's decision test now expects each cause by usage. The usages include render
  target with shader write, render target with atomic, shader write with atomic, and every usage.
  It also checks that a shader write's notice reads as a render target's.
- New device lane in_place_textures::textures_that_render_or_write_count_their_shadows_apart:
  64x64 R32Uint textures over no-copy pages, of seven usages, under InPlace and under Shadow. Each
  moves exactly the count it should (render target, shader write, or the exact form's).

Verified:
- cargo clippy for metal2vulkan-runtime, metal2vulkan and metal2vulkan-validation, all targets
  and features, plain and under --cfg m2v_gpu.
- The runtime's in_place and degradation unit tests.
- metal2vulkan's fast_paths, api_signatures and refusal_surface tests.
- api_signatures.tsv blessed.
- The runtime-sources pin is not updated.

Not run: the new device lane. It was landed without its device run on the user's word
("skip the tests, just land it"), so its first run is development's gate.

Removed: WorkCounts::host_texture_shadows_written (now host_texture_shadows_render_target and
host_texture_shadows_shader_write). Nothing in the tree read it but api_signatures.tsv.

* Re-pin the runtime sources at the landing tip

The landed packet changed a runtime-sources input, so the committed digest no

longer described the sources and `the_runtime_sources_are_the_committed_ones`

would fail. Recomputed over the same inputs and committed by land-pkt.sh.

* Re-bless the golden tables for the new profile field

The YCbCr in-place packet (42abe9a315) added a field to the device profile, which moves every
profile's key. The tables record each profile's key beside its cells, so both went stale on
`development`.

Only the 20 `profile` key lines in each table change; no cell moved (every other line is
identical), so SEMANTICS_VERSION needs nothing here.

Verified: `cargo nextest run -p metal2vulkan --all-features --run-ignored ignored-only
-E 'test(bless_golden_hashes)'` passed at 00404a4ba4, and the diff holds profile lines only.
This commit is contained in:
Anees Iqbal committed 2026-10-28 17:24:19 +02:00
1 parent cdf59197cc
commit cfe3cadd65
9 files changed
+208 -74

No files matched your search

+17 -11
View File
@@ -136,8 +136,12 @@ impl Verdict {
pub(crate) enum ShadowCause {
/// The device's policy asks the shadow (`HostPageTexturePolicy::Shadow`).
Exact,
/// Its usage renders into it or writes it (`RenderTarget`, `ShaderWrite`, `ShaderAtomic`).
Written,
/// Its usage renders into it (`RenderTarget`, whatever else it holds; an `Unknown` usage,
/// every usage, among them).
RenderTarget,
/// Its usage writes it through a shader (`ShaderWrite` or `ShaderAtomic`) and does not render
/// into it.
ShaderWrite,
/// Its class's check has not answered yet.
CheckPending(PagesClass),
/// Its class's check found a byte changed.
@@ -210,11 +214,12 @@ impl ShadowCause {
ShadowCause::Exact => "the device's policy asks a shadow of every texture over host \
pages (HostPageTexturePolicy::Shadow)"
.to_owned(),
ShadowCause::Written => "its usage renders into it or writes it (RenderTarget, \
ShaderWrite or ShaderAtomic), and an image bound to host \
pages starts UNDEFINED (VUID-VkImageCreateInfo-pNext-01443), \
its layout transitions and a render pass's load and store \
operations free to read and write every byte bound to it"
ShadowCause::RenderTarget | ShadowCause::ShaderWrite => "its usage renders into it or \
writes it (RenderTarget, ShaderWrite or ShaderAtomic), and \
an image bound to host pages starts UNDEFINED \
(VUID-VkImageCreateInfo-pNext-01443), its layout \
transitions and a render pass's load and store operations \
free to read and write every byte bound to it"
.to_owned(),
ShadowCause::CheckPending(class) => format!(
"the device's check of the first move of an image over {} has not answered yet",
@@ -246,10 +251,11 @@ pub(crate) fn in_place(
if policy == HostPageTexturePolicy::Shadow {
return Err(ShadowCause::Exact);
}
let writes =
TextureUsage::RENDER_TARGET | TextureUsage::SHADER_WRITE | TextureUsage::SHADER_ATOMIC;
if usage.intersects(writes) {
return Err(ShadowCause::Written);
if usage.contains(TextureUsage::RENDER_TARGET) {
return Err(ShadowCause::RenderTarget);
}
if usage.intersects(TextureUsage::SHADER_WRITE | TextureUsage::SHADER_ATOMIC) {
return Err(ShadowCause::ShaderWrite);
}
match verdict(class) {
Verdict::Passed => Ok(()),
@@ -2,10 +2,12 @@
//! and why one is a shadow, and the record that keeps the device's check's verdicts.
//!
//! - **The decision.** Under `HostPageTexturePolicy::Shadow` every texture is a shadow, the check
//! never asked; under `InPlace` a texture whose usage renders into it or writes it
//! (`RenderTarget`, `ShaderWrite`, `ShaderAtomic`, `Unknown`) is one, the check never asked; and
//! a texture that only samples or reads is tried in place exactly where its class's check passed,
//! else a shadow naming the check's answer (pending, failed, unchecked).
//! never asked; under `InPlace` a texture whose usage renders into it (`RenderTarget`,
//! `Unknown`) is one counted as a render target, and one that writes it through a shader and
//! does not render into it (`ShaderWrite`, `ShaderAtomic`) one counted as a shader write, the
//! check never asked; and a texture that only samples or reads is tried in place exactly where
//! its class's check passed, else a shadow naming the check's answer (pending, failed,
//! unchecked).
//! - **The record.** Its verdicts read back for the identity it was written for, and nothing else
//! reads: a record cut short or grown, of another check version or runtime, of another identity,
//! with a byte changed (its checksum), or holding a pending or unknown verdict.
@@ -38,11 +40,17 @@ fn each_usage() -> Vec<TextureUsage> {
]
}
/// Whether `usage` renders into or writes a texture.
fn writes(usage: TextureUsage) -> bool {
usage.intersects(
TextureUsage::RENDER_TARGET | TextureUsage::SHADER_WRITE | TextureUsage::SHADER_ATOMIC,
)
/// The shadow `usage` takes whatever the check answers: a render target's where it renders
/// into the texture, whatever else it holds, a shader write's where it writes it through a shader
/// alone; `None` where it only samples or reads.
fn written(usage: TextureUsage) -> Option<ShadowCause> {
if usage.contains(TextureUsage::RENDER_TARGET) {
Some(ShadowCause::RenderTarget)
} else if usage.intersects(TextureUsage::SHADER_WRITE | TextureUsage::SHADER_ATOMIC) {
Some(ShadowCause::ShaderWrite)
} else {
None
}
}
#[test]
@@ -50,6 +58,18 @@ fn the_decision_takes_only_a_sampled_texture_whose_class_passed() {
let mut usages = each_usage();
usages.push(TextureUsage::SHADER_READ | TextureUsage::PIXEL_FORMAT_VIEW);
usages.push(TextureUsage::SHADER_READ | TextureUsage::RENDER_TARGET);
usages.push(TextureUsage::SHADER_READ | TextureUsage::SHADER_WRITE);
usages.push(TextureUsage::RENDER_TARGET | TextureUsage::SHADER_WRITE);
usages.push(TextureUsage::RENDER_TARGET | TextureUsage::SHADER_ATOMIC);
usages.push(TextureUsage::SHADER_WRITE | TextureUsage::SHADER_ATOMIC);
// An `Unknown` usage, as Metal reports it: every usage.
usages.push(
TextureUsage::SHADER_READ
| TextureUsage::SHADER_WRITE
| TextureUsage::RENDER_TARGET
| TextureUsage::PIXEL_FORMAT_VIEW
| TextureUsage::SHADER_ATOMIC,
);
usages.push(TextureUsage::empty());
for class in PagesClass::ALL {
for &usage in &usages {
@@ -69,8 +89,8 @@ fn the_decision_takes_only_a_sampled_texture_whose_class_passed() {
asked.set(true);
verdict
});
let expected = if writes(usage) {
Err(ShadowCause::Written)
let expected = if let Some(cause) = written(usage) {
Err(cause)
} else {
match verdict {
Verdict::Passed => Ok(()),
@@ -80,7 +100,7 @@ fn the_decision_takes_only_a_sampled_texture_whose_class_passed() {
}
};
assert_eq!(decided, expected, "{class:?} {usage:?} {verdict:?}");
assert_eq!(asked.get(), !writes(usage), "{class:?} {usage:?}");
assert_eq!(asked.get(), written(usage).is_none(), "{class:?} {usage:?}");
}
}
}
@@ -90,7 +110,7 @@ fn the_decision_takes_only_a_sampled_texture_whose_class_passed() {
fn every_shadow_cause_names_itself() {
let causes = [
ShadowCause::Exact,
ShadowCause::Written,
ShadowCause::RenderTarget,
ShadowCause::CheckPending(PagesClass::Pointer),
ShadowCause::CheckFailed(PagesClass::DmaBuf),
ShadowCause::Unchecked(PagesClass::Fresh),
@@ -106,6 +126,8 @@ fn every_shadow_cause_names_itself() {
assert!(words[0].contains("HostPageTexturePolicy::Shadow"));
assert!(words[2].contains("not answered"));
assert!(words[3].contains("dma-bufs"));
// A shader write's shadow announces what a render target's does: the notice is unchanged.
assert_eq!(ShadowCause::ShaderWrite.words(), words[1]);
}
/// A driver identity, every field set.
+15 -7
View File
@@ -301,7 +301,8 @@ pub(crate) struct Counters {
fresh_page_textures_in_place: AtomicU64,
pitched_host_images: AtomicU64,
host_texture_shadows_exact: AtomicU64,
host_texture_shadows_written: AtomicU64,
host_texture_shadows_render_target: AtomicU64,
host_texture_shadows_shader_write: AtomicU64,
host_texture_shadows_check_pending: AtomicU64,
host_texture_shadows_check_failed: AtomicU64,
host_texture_shadows_unchecked: AtomicU64,
@@ -2077,7 +2078,8 @@ impl Counters {
use crate::in_place::ShadowCause as C;
let counter = match cause {
C::Exact => &self.host_texture_shadows_exact,
C::Written => &self.host_texture_shadows_written,
C::RenderTarget => &self.host_texture_shadows_render_target,
C::ShaderWrite => &self.host_texture_shadows_shader_write,
C::CheckPending(_) => &self.host_texture_shadows_check_pending,
C::CheckFailed(_) => &self.host_texture_shadows_check_failed,
C::Unchecked(_) => &self.host_texture_shadows_unchecked,
@@ -4263,9 +4265,12 @@ pub struct WorkCounts {
/// Textures over host pages made shadows because the device's policy asks it
/// (`HostPageTexturePolicy::Shadow`).
pub host_texture_shadows_exact: u64,
/// Textures over host pages made shadows because their usage renders into them or writes
/// them (`RenderTarget`, `ShaderWrite`, `ShaderAtomic`).
pub host_texture_shadows_written: u64,
/// Textures over host pages made shadows because their usage renders into them
/// (`RenderTarget`, whatever else it holds; an `Unknown` usage among them).
pub host_texture_shadows_render_target: u64,
/// Textures over host pages made shadows because their usage writes them through a shader
/// (`ShaderWrite` or `ShaderAtomic`) and does not render into them.
pub host_texture_shadows_shader_write: u64,
/// Textures over host pages made shadows because the device's check of their class had not
/// answered yet (a first session's, before the verdict is kept).
pub host_texture_shadows_check_pending: u64,
@@ -5212,8 +5217,11 @@ impl Device {
.load(Ordering::Relaxed),
pitched_host_images: counters.pitched_host_images.load(Ordering::Relaxed),
host_texture_shadows_exact: counters.host_texture_shadows_exact.load(Ordering::Relaxed),
host_texture_shadows_written: counters
.host_texture_shadows_written
host_texture_shadows_render_target: counters
.host_texture_shadows_render_target
.load(Ordering::Relaxed),
host_texture_shadows_shader_write: counters
.host_texture_shadows_shader_write
.load(Ordering::Relaxed),
host_texture_shadows_check_pending: counters
.host_texture_shadows_check_pending
@@ -1 +1 @@
82ba7ff4cdf11dddef55bbca2ad612f81162b0224b7a2406df81d2d9c1155a00
dd9f49c08b8ec98ec37144c49ecbbf5be44af02f182123ee1cfbd6c7a57c6e54
@@ -20,6 +20,13 @@
//! shadow (`undeclared-usage-shadow`), never the aliasing image,
//! which stays the texture's (`vk_image` the same handle); every texel of the pages then holds the
//! value, and the bytes between the rows hold the pattern.
//! - [`textures_that_render_or_write_count_their_shadows_apart`], under the validation layer: a
//! 64x64 `R32Uint` texture over a no-copy buffer of anonymous pages, of each usage that renders
//! or writes, is a shadow counted by why: one that renders into it (`RenderTarget`, whatever else
//! it holds) as a render target's (`host_texture_shadows_render_target`), one that writes it
//! through a shader alone (`ShaderWrite`, `ShaderAtomic`) as a shader write's
//! (`host_texture_shadows_shader_write`), and under `HostPageTexturePolicy::Shadow` every one as
//! the exact form's (`host_texture_shadows_exact`).
//! - [`a_failed_check_keeps_the_shadow_and_no_record`], under the validation layer: a device made
//! to fail its check (`DeviceOptions::fail_in_place_check`) answers failed or unchecked for every
//! class and makes such a texture a shadow counted as the failed check's, never in place, and
@@ -389,6 +396,94 @@ fn writes_and_passes_beyond_the_usage_take_their_shadows() {
layer_reported_nothing_at_all(&messages);
}
#[test]
fn textures_that_render_or_write_count_their_shadows_apart() {
use TextureUsage as U;
// Each usage, and whether it counts as a render target's shadow (else a shader write's).
let usages = [
(U::SHADER_READ | U::RENDER_TARGET, true),
(U::SHADER_READ | U::SHADER_WRITE, false),
(U::SHADER_READ | U::SHADER_ATOMIC, false),
(U::SHADER_WRITE | U::SHADER_ATOMIC, false),
(U::SHADER_WRITE | U::RENDER_TARGET, true),
(U::SHADER_ATOMIC | U::RENDER_TARGET, true),
(U::UNKNOWN, true),
];
let cache = ScratchCache::new().unwrap();
let messages = Messages::default();
for policy in [
HostPageTexturePolicy::InPlace,
HostPageTexturePolicy::Shadow,
] {
let device = validated_device_with(TEST_DEVICE, &messages, cache.path(), |options| {
options.policy.host_page_textures = policy;
})
.unwrap();
let (w, h, bpr) = (64u64, 64u64, 256u64);
let len = ((bpr * h) as usize).next_multiple_of(GUEST_PAGE);
let mapping = Mapping::anonymous(len);
// SAFETY: the mapping outlives the buffer and the textures (dropped first).
let buffer = match unsafe {
no_copy(
&device,
mapping.pointer(),
len,
ResourceOptions::default(),
None,
)
} {
Ok(buffer) => buffer,
Err(error) if not_importable(&error) => {
eprintln!("IN-PLACE-SHADOWS: the device imports no host memory: {error:?}");
return;
}
Err(error) => panic!("new_buffer_with_bytes_no_copy: {error:?}"),
};
for (usage, renders) in usages {
let mut d = TextureDescriptor::texture_2d(PixelFormat::R32Uint, w, h, false);
d.usage = usage;
d.resource_options = buffer.resource_options();
let before = device.work_counts();
let texture = match buffer.new_texture(&d, 0, bpr) {
Ok(texture) => texture,
// A usage the device refuses over a buffer counts nothing.
Err(error) => {
eprintln!(
"IN-PLACE-SHADOWS on {}: {usage:?}: refused: {error:?}",
device.name()
);
continue;
}
};
let after = device.work_counts();
let delta = |counts: fn(&WorkCounts) -> u64| counts(&after) - counts(&before);
let counted = (
delta(|c| c.host_texture_shadows_render_target),
delta(|c| c.host_texture_shadows_shader_write),
delta(|c| c.host_texture_shadows_exact),
);
let due = match (policy, renders) {
(HostPageTexturePolicy::Shadow, _) => (0, 0, 1),
(_, true) => (1, 0, 0),
(_, false) => (0, 1, 0),
};
eprintln!(
"IN-PLACE-SHADOWS on {}: {policy:?} {usage:?}: (render target, shader write, \
exact) {counted:?}",
device.name()
);
assert_eq!(counted, due, "{policy:?} {usage:?}");
// SAFETY: the handle is only read, while the texture lives.
assert!(unsafe { texture.vk_image() }.is_none(), "{usage:?}");
drop(texture);
}
messages.take_notices();
drop((buffer, device));
drop(mapping);
}
layer_reported_nothing_at_all(&messages);
}
#[test]
fn a_failed_check_keeps_the_shadow_and_no_record() {
let cache = ScratchCache::new().unwrap();
+2 -1
View File
@@ -2727,8 +2727,9 @@ field metal2vulkan-runtime::WorkCounts.host_texture_shadows_refused_pitch pub ho
field metal2vulkan-runtime::WorkCounts.host_texture_shadows_refused_placement pub host_texture_shadows_refused_placement: u64
field metal2vulkan-runtime::WorkCounts.host_texture_shadows_refused_rows pub host_texture_shadows_refused_rows: u64
field metal2vulkan-runtime::WorkCounts.host_texture_shadows_refused_source pub host_texture_shadows_refused_source: u64
field metal2vulkan-runtime::WorkCounts.host_texture_shadows_render_target pub host_texture_shadows_render_target: u64
field metal2vulkan-runtime::WorkCounts.host_texture_shadows_shader_write pub host_texture_shadows_shader_write: u64
field metal2vulkan-runtime::WorkCounts.host_texture_shadows_unchecked pub host_texture_shadows_unchecked: u64
field metal2vulkan-runtime::WorkCounts.host_texture_shadows_written pub host_texture_shadows_written: u64
field metal2vulkan-runtime::WorkCounts.host_textures_in_place pub host_textures_in_place: u64
field metal2vulkan-runtime::WorkCounts.image_blits_recorded pub image_blits_recorded: u64
field metal2vulkan-runtime::WorkCounts.images_started_on_the_host pub images_started_on_the_host: u64
Can't render this file because it is too large.
+20 -20
View File
@@ -4,26 +4,26 @@
# A cell is the first 64 bits of SHA-256 over the final SPIR-V of its subject, or its
# refusal class. A cell that changes under an unchanged fixture source and profile
# fingerprint needs cache::SEMANTICS_VERSION above its value at the last bless.
profile amd-780m-hawkpoint-radv dda5bfa4e7ac7aee
profile amd-780m-radv dda5bfa4e7ac7aee
profile amd-rdna2-apu-radv e473023dcf3bf464
profile amd-rdna3-radv 37db0efca25febe5
profile gate-lavapipe 848c00fef781f349
profile gate-lavapipe-x86_64 1e7cad61708deb32
profile intel-arl-anv dd0826dd7cea8535
profile intel-irisxe-anv bb5881dfdd9a0d89
profile intel-irisxe-rplp-anv 72b7013a010436cd
profile intel-uhd770-rpls-anv 72b7013a010436cd
profile lavapipe 02e13d29239b11ab
profile lunarg-desktop-baseline-2023 ae0062ae2dfdef68
profile moltenvk-m3 5f7096c4a5eeb07c
profile moltenvk-m4 5f7096c4a5eeb07c
profile nvidia-pascal-linux 9b29903fec21e1e1
profile nvidia-rtx50-linux 5cc46c1be8e600e8
profile nvidia-rtx5080-laptop 75c85949c9cfe9ff
profile roadmap-2022 af375bf59b0e788f
profile swiftshader 3aa98dcab540579a
profile vk12-floor b7e59d0db4feb7bf
profile amd-780m-hawkpoint-radv 2a366ede0ccff15f
profile amd-780m-radv 2a366ede0ccff15f
profile amd-rdna2-apu-radv 5004874864dfcc18
profile amd-rdna3-radv a2298897e854f3ca
profile gate-lavapipe d2f9087feebab453
profile gate-lavapipe-x86_64 42be996e7947ca2c
profile intel-arl-anv 4458339e81873ffe
profile intel-irisxe-anv b91fca1e9082fb70
profile intel-irisxe-rplp-anv 280ff3f0107d1e6c
profile intel-uhd770-rpls-anv 280ff3f0107d1e6c
profile lavapipe de2be9c906c5d8ab
profile lunarg-desktop-baseline-2023 c056e697cfded176
profile moltenvk-m3 7201dc0c6fdcffa5
profile moltenvk-m4 7201dc0c6fdcffa5
profile nvidia-pascal-linux f722305b7edd3cf2
profile nvidia-rtx50-linux eb082261baad4d9c
profile nvidia-rtx5080-laptop e196b83b23f63646
profile roadmap-2022 ceb3b9067957f4a6
profile swiftshader 7af9612096371f16
profile vk12-floor 187eb93a09b9c0af
fixture source subject amd-780m-hawkpoint-radv amd-780m-radv amd-rdna2-apu-radv amd-rdna3-radv gate-lavapipe gate-lavapipe-x86_64 intel-arl-anv intel-irisxe-anv intel-irisxe-rplp-anv intel-uhd770-rpls-anv lavapipe lunarg-desktop-baseline-2023 moltenvk-m3 moltenvk-m4 nvidia-pascal-linux nvidia-rtx50-linux nvidia-rtx5080-laptop roadmap-2022 swiftshader vk12-floor
engine/a1_bool_from_float.air.ll 67a41b1383f5ed2f a1_bool_from_float c36d596b53005984 c36d596b53005984 c36d596b53005984 c36d596b53005984 7b801c345ed54230 7b801c345ed54230 2b06fc2c9c315a38 2b06fc2c9c315a38 2b06fc2c9c315a38 2b06fc2c9c315a38 7b801c345ed54230 8272fb974b884119 9134849ed0d0155c 9134849ed0d0155c 8272fb974b884119 7b801c345ed54230 7b801c345ed54230 0c1f7aa131aa20be 0c1f7aa131aa20be 0c1f7aa131aa20be
engine/a1_bool_from_float.ll 965508e37289a775 a1_bool_from_float c36d596b53005984 c36d596b53005984 c36d596b53005984 c36d596b53005984 7b801c345ed54230 7b801c345ed54230 2b06fc2c9c315a38 2b06fc2c9c315a38 2b06fc2c9c315a38 2b06fc2c9c315a38 7b801c345ed54230 8272fb974b884119 9134849ed0d0155c 9134849ed0d0155c 8272fb974b884119 7b801c345ed54230 7b801c345ed54230 0c1f7aa131aa20be 0c1f7aa131aa20be 0c1f7aa131aa20be
Can't render this file because it is too large.
@@ -5,26 +5,26 @@
# A cell is the first 64 bits of SHA-256 over the final SPIR-V of its subject, or its
# refusal class. A cell that changes under an unchanged fixture source and profile
# fingerprint needs cache::SEMANTICS_VERSION above its value at the last bless.
profile amd-780m-hawkpoint-radv 0f2f9257deecda37
profile amd-780m-radv 0f2f9257deecda37
profile amd-rdna2-apu-radv 967c22b244c5c90d
profile amd-rdna3-radv a66684d03a521a8c
profile gate-lavapipe d808925048b56641
profile gate-lavapipe-x86_64 fbeb7a1ba3054911
profile intel-arl-anv 92a6f05061afaa51
profile intel-irisxe-anv a339e26eb9418bff
profile intel-irisxe-rplp-anv c7476d18da4589c1
profile intel-uhd770-rpls-anv c7476d18da4589c1
profile lavapipe 79f55216d885458a
profile lunarg-desktop-baseline-2023 fe6c46f79288493c
profile moltenvk-m3 39b562d0944e88f8
profile moltenvk-m4 39b562d0944e88f8
profile nvidia-pascal-linux 95c627ce5f380782
profile nvidia-rtx50-linux 9e49289a8772f0a9
profile nvidia-rtx5080-laptop b6bf13119fab9af2
profile roadmap-2022 835dc8ef1c689d09
profile swiftshader 3201d314f4a768a4
profile vk12-floor 923b4b7c91d167df
profile amd-780m-hawkpoint-radv b5932b8ec35ca9e8
profile amd-780m-radv b5932b8ec35ca9e8
profile amd-rdna2-apu-radv edbf5fb3321accba
profile amd-rdna3-radv 6da2657ae3107f3b
profile gate-lavapipe 8a54e1c5c332f8e0
profile gate-lavapipe-x86_64 b7fb2c001d035838
profile intel-arl-anv 782ed0449ffe5bfa
profile intel-irisxe-anv d18922b665517dc5
profile intel-irisxe-rplp-anv 4ae7d930472cb05e
profile intel-uhd770-rpls-anv 4ae7d930472cb05e
profile lavapipe cb9a013cf19bde34
profile lunarg-desktop-baseline-2023 b6aa6cca743acdde
profile moltenvk-m3 e532422205cc216e
profile moltenvk-m4 e532422205cc216e
profile nvidia-pascal-linux 7809c8bdc28a4769
profile nvidia-rtx50-linux 87cd6765a968c11f
profile nvidia-rtx5080-laptop cc5860cfaac09390
profile roadmap-2022 77f0228242f64c43
profile swiftshader 5f271f1085c7c4b8
profile vk12-floor 355a42c8537f8e1b
fixture source subject amd-780m-hawkpoint-radv amd-780m-radv amd-rdna2-apu-radv amd-rdna3-radv gate-lavapipe gate-lavapipe-x86_64 intel-arl-anv intel-irisxe-anv intel-irisxe-rplp-anv intel-uhd770-rpls-anv lavapipe lunarg-desktop-baseline-2023 moltenvk-m3 moltenvk-m4 nvidia-pascal-linux nvidia-rtx50-linux nvidia-rtx5080-laptop roadmap-2022 swiftshader vk12-floor
engine/a2_bicubic_weights.air.ll b98a3627b8ce2263 a2_bicubic_weights 8ded8308ce2d9ba8 8ded8308ce2d9ba8 8ded8308ce2d9ba8 8ded8308ce2d9ba8 8ded8308ce2d9ba8 8ded8308ce2d9ba8 8ded8308ce2d9ba8 8ded8308ce2d9ba8 8ded8308ce2d9ba8 8ded8308ce2d9ba8 8ded8308ce2d9ba8 8ded8308ce2d9ba8 661d7408d75d029f 661d7408d75d029f 8ded8308ce2d9ba8 8ded8308ce2d9ba8 8ded8308ce2d9ba8 e139c0735ed267d6 e139c0735ed267d6 e139c0735ed267d6
engine/a2_bicubic_weights.ll d94ec026b2b3cdb9 a2_bicubic_weights 8ded8308ce2d9ba8 8ded8308ce2d9ba8 8ded8308ce2d9ba8 8ded8308ce2d9ba8 8ded8308ce2d9ba8 8ded8308ce2d9ba8 8ded8308ce2d9ba8 8ded8308ce2d9ba8 8ded8308ce2d9ba8 8ded8308ce2d9ba8 8ded8308ce2d9ba8 8ded8308ce2d9ba8 661d7408d75d029f 661d7408d75d029f 8ded8308ce2d9ba8 8ded8308ce2d9ba8 8ded8308ce2d9ba8 e139c0735ed267d6 e139c0735ed267d6 e139c0735ed267d6
1 # Golden output hashes of the engine over the public fixtures that sample x the
5 # A cell is the first 64 bits of SHA-256 over the final SPIR-V of its subject, or its
6 # refusal class. A cell that changes under an unchanged fixture source and profile
7 # fingerprint needs cache::SEMANTICS_VERSION above its value at the last bless.
8 profile
9 profile
10 profile
11 profile
12 profile
13 profile
14 profile
15 profile
16 profile
17 profile
18 profile
19 profile
20 profile
21 profile
22 profile
23 profile
24 profile
25 profile
26 profile
27 profile
28 fixture
29 engine/a2_bicubic_weights.air.ll
30 engine/a2_bicubic_weights.ll
+3 -1
View File
@@ -263,7 +263,9 @@ Every other texture over host pages is a shadow (`shadowed-texture`, the notice
`HostPageTexturePolicy::Shadow` (`DevicePolicy::exact_answers`); one whose usage renders into it or
writes it; one made before the check answered, or where it failed or made no image; and one no
image in place serves (the bytes' pitch, placement or memory, or over dma-buf pages no dma-buf of
the texture's own pages). `WorkCounts::host_texture_shadows_*` counts each reason apart. A shadow
the texture's own pages). `WorkCounts::host_texture_shadows_*` counts each reason apart (one
whose usage renders into it, `_render_target`, apart from one that writes it through a shader
alone, `_shader_write`). A shadow
is an optimal image of the runtime's own memory, whose texels the encoders copy in from the pages
before a use and back (merged back: only the bytes the commands changed) after a write; no image
is bound to the pages, and `Texture::vk_image` gives `None` for it. A texture in place renders and