Compile functions whose function constants are left undefined

A function constant the request leaves unset no longer refuses the pipeline
with NeedsInput(FunctionConstant). Metal makes that pipeline, optional or
required: is_function_constant_defined is false, arguments gated on the
constant (negated or not) are absent, and its reads vary from read to read
(probes/undefined_function_constant_values.m on the M3 Max, macOS 27.0.1:
u + 3 read 0, u * 7 + 1 read 1, u == 0 ? 111 : 222 read 222, b ? 5 : 6 read
5). WindowServer's QuartzCore pipelines leave optional constants unset
(fixed_vert_lpf_gen without constant 53), so the desktop could not draw.

SCCP's lattice is now flat, the undefined value one more value beside the
constants:
- a value computed from an undefined constant alone stays undefined, and a
  pure instruction computing one becomes its type's zero (an address keeps
  naming the constant's global);
- a branch on one takes its false way (a rewrite only where no other way
  was opened), and a select its false arm;
- an and with zero, an or with all ones and a mul by zero are that
  constant whatever the undefined operand holds, in SCCP and in the static
  initializer, so QuartzCore's generic || (...) is true with generic set;
- an operation that also reads a run's value, and a PHI (an undefined
  entry merges as overdefined), keep what the run computes, so a defined
  way keeps its value and a loop counting from the constant still counts.
The entry-block refusal and its inliner gate are gone. Entry gains
undefined_reads, the undefined constants the specialized body reads,
which validation's case checker uses where it used the refusal to prove
an omitted constant unread.

Removed: MissingInput::FunctionConstant (metal2vulkan-air),
RuntimeInput::FunctionConstant (metal2vulkan), the command line's
--constant hint. docs/API.md lists the reads under accepted differences.
SEMANTICS_VERSION 1932. The golden tables and the engine inventory move
only the 532 cells (28 rows by 19 profiles) that were the refusal; each is
now ok.

Verified: metal2vulkan-air 481/481, with negative controls (absorbing rule
off: the two new and/or tests fail; the PHI mapping off: the loop test
fails); the core suites; clippy (all features, --cfg m2v_gpu); the
command line on the M3's QuartzCore library: fixed_vert_lpf_gen with
reims's values (0 and 1 true, 3 = 0) and the whole pipeline with
fixed_frag_lpf_cpf translate and pass spirv-val on moltenvk-m3,
nvidia-rtx5080-laptop and intel-uhd770-rpls-anv, with generic true
keeping the texture-matrix path (521 lines of SPIR-V against 290); every
fixed_* pair and backdrop_capture_compute_tile_* with no constants
translates but the _spc vertex functions, which ask for a vertex
descriptor.
This commit is contained in:
Anees Iqbal committed 2026-10-31 05:34:42 +02:00
1 parent bf3ce3813c
commit 9c80a4957b
36 files changed
+801 -572

No files matched your search

@@ -254,7 +254,6 @@ pub(super) fn expand(
&mut parts.consts,
func,
m,
|_, _| Ok(()),
)?
.ok_or_else(|| invariant("an expanded asynchronous copy was not inlined"))
}
+7 -7
View File
@@ -221,9 +221,9 @@ enum Plan {
FromInt(CastOp),
/// A function pointer stored to memory: its word, zero-extended to the pointer's 8 bytes.
WordStore,
/// A call through a word the function constants settle ([`Fact::Settled`]): a call of this
/// refused declaration with the word, so SCCP deletes it or refuses the constant where the call
/// stood, and the post-check refuses it if it survives, as the call through the pointer was.
/// A call through a word an unsupplied function constant leaves undefined ([`Fact::Settled`]):
/// a call of this refused declaration with the word, so SCCP deletes it, and the post-check
/// refuses it if it survives, as the call through the pointer was.
Unfolded(FuncId),
}
@@ -1199,10 +1199,10 @@ fn analyze(
}
// What the function constants bound so far decide of the values a use needs as words, by
// SCCP's fixpoint over the body as it stands (`sccp::facts`). A call whose callee they make one
// function's address is a direct call to it. A call whose callee is computed from an unsupplied
// constant is settled: it is left as it was before item 27, so SCCP refuses the constant where
// the call stands (or deletes the call), and no switch is built over every function its pointer
// might be. A value they settle is no word.
// function's address is a direct call to it. A call whose callee is undefined, computed from
// an unsupplied constant, is settled: a call of a refused declaration (SCCP deletes it, or the
// post-check refuses it), and no switch is built over every function its pointer might be. A
// value they settle is no word.
let mut settled: BTreeSet<InstId> = BTreeSet::new();
if !indirect.is_empty() || !demand.is_empty() {
scoped(m, |m, scratch| {
@@ -1202,9 +1202,8 @@ fn a_loaded_pointer_no_function_can_answer_is_a_dynamic_call() {
/// `kernel k(device i32* out, i32 tid)`: for an odd `tid`, `*out` is a call with `tid` through
/// `mode == 1 ? &a : &b` ([`chosen_functions`]), `mode` function constant 3. The call is past the
/// entry block, so the entry block's own refusal does not decide an unsupplied `mode` before
/// inlining, as in a kernel of the corpus that chooses among 162 functions by its constants, behind
/// a null check.
/// entry block, as in a kernel of the corpus that chooses among 162 functions by its constants,
/// behind a null check.
fn constant_chosen_kernel() -> (Module, AirAbi, GlobalId) {
let mut m = ModuleBuilder::new();
let void = m.void();
@@ -1253,12 +1252,11 @@ fn constant_chosen_kernel() -> (Module, AirAbi, GlobalId) {
(module, abi, mode)
}
/// A call through a pointer function constants choose is decided before it becomes a switch: with
/// the constant supplied, a direct call to the function chosen, the only one
/// inlined; unsupplied, the call is left as it was before item 27, so SCCP refuses the constant
/// where the call stands and no switch inlines every function the pointer might be. The corpus's
/// kernel choosing among 162 functions so inlined all of them, 2.5 times its memory, to refuse the
/// same constant.
/// A call through a pointer function constants choose is decided before it becomes a switch: a
/// direct call to the function chosen, the only one inlined, and no switch inlines every function
/// the pointer might be. Supplied as 1, `mode` chooses `a`; unsupplied, the `select` on its
/// undefined comparison takes its false arm, `b`. The corpus's kernel choosing among 162 functions
/// inlined all of them, 2.5 times its memory, where a switch was built.
#[test]
fn a_pointer_function_constants_choose_is_decided_before_its_switch() {
for supplied in [true, false] {
@@ -1319,14 +1317,7 @@ fn a_pointer_function_constants_choose_is_decided_before_its_switch() {
};
let mut stubs = link::Stubs::default();
let pass = devirt::pass(&body, &mut parts, &mut stubs, &cx, &mut m).unwrap();
if !supplied {
assert!(
pass.is_none(),
"an unsupplied constant's call is left as it was"
);
continue;
}
let pass = pass.expect("the supplied constant's call is decided");
let pass = pass.expect("the call is decided");
assert!(pass.calls);
let mut switches = 0;
let mut direct = Vec::new();
@@ -1344,20 +1335,18 @@ fn a_pointer_function_constants_choose_is_decided_before_its_switch() {
switches, 0,
"no switch over the functions the pointer might be"
);
assert_eq!(direct, vec![a], "the call is the chosen function's");
let chosen = if supplied { a } else { b };
assert_eq!(direct, vec![chosen], "the call is the chosen function's");
}
// Through the whole specialization: unsupplied, the constant is refused, as before item 27;
// supplied as 1, the call is `a`'s (`x + 1`), and `b`'s `x << 1` is not inlined.
// Through the whole specialization: unsupplied, the call is `b`'s (`x << 1`), and `a`'s
// `x + 1` is not inlined; supplied as 1, the call is `a`'s.
let (module, abi, _) = constant_chosen_kernel();
let refused = specialize(module, &abi, &request(), &mut meter()).map(|_| ());
let e = specialize(module, &abi, &request(), &mut meter()).unwrap_or_else(|e| panic!("{e}"));
let text = print(&e.module);
assert!(text.contains("shl i32"), "{text}");
assert!(
matches!(
refused,
Err(Error::NeedsInput(MissingInput::FunctionConstant {
index: 3
}))
),
"{refused:?}"
!text.contains("add i32") && !text.contains("call "),
"{text}"
);
let (module, abi, _) = constant_chosen_kernel();
let mut req = request();
+13
View File
@@ -195,6 +195,19 @@ impl Folder<'_> {
}
}
/// Whether the scalar integer `c` decides `c op x` and `x op c` whatever `x` holds: zero for
/// `and` and `mul`, all ones for `or`.
pub fn absorbs(&self, op: BinOp, c: ConstId) -> bool {
let (Some(w), Some(v)) = (self.ty(c).and_then(|t| self.int_bits(t)), self.int(c)) else {
return false;
};
match op {
BinOp::And | BinOp::Mul => v == 0,
BinOp::Or => v == mask(w),
_ => false,
}
}
fn mk(&mut self, ty: TypeId, value: Const, m: &mut Meter) -> Result<ConstId, Error> {
self.consts.intern(Constant { ty, value }, m)
}
+2 -8
View File
@@ -39,19 +39,14 @@ use crate::ir::{Function, Idx, Inst, InstId, InstKind, Symbols, Type, TypeId, Ty
use super::rewrite::{filled, invariant, scoped};
/// Inline every direct call to a defined function into `entry`'s body. `None` when the body
/// calls no defined function.
///
/// `gate` runs once the inliner's own refusals are decided (a call cycle, a callee it cannot
/// take, the cap) and before anything proportional to the inlined body is built; an error from
/// it is the result. A refused call is located in the function that makes it and names its callee
/// (`symbols`).
/// calls no defined function. A refused call is located in the function that makes it and names
/// its callee (`symbols`).
pub(super) fn inline(
funcs: &Arena<FuncId, Function>,
(types, symbols): (&TypeTable, &Symbols),
consts: &mut ConstTable,
entry: FuncId,
m: &mut Meter,
gate: impl FnOnce(&ConstTable, &mut Meter) -> Result<(), Error>,
) -> Result<Option<Body>, Error> {
scoped(m, |m, held| {
let Some(sizes) = Sizes::measure(funcs, (types, symbols), entry, m, held)? else {
@@ -59,7 +54,6 @@ pub(super) fn inline(
};
let insts = sizes.insts(entry)?;
m.cap(Limit::InlinedInstructions, insts)?;
gate(consts, m)?;
let tables = Tables::build(funcs, types, &sizes, m, held)?;
// The counts are exact: the inlined body holds no arena slack.
let out = Body::with_capacity(usize_of(insts)?, usize_of(sizes.blocks(entry)?)?, m)?;
@@ -58,7 +58,7 @@ use crate::ir::{CastOp, FastMath, Inst, TailKind, TypeLayouts, Value};
use crate::ir::{Global, GlobalId, Idx, InstId, InstKind, Layout, ModuleParts, Type, TypeId};
use std::collections::HashMap;
use crate::error::{Error, Feature, MissingInput, RequestError, Unsupported};
use crate::error::{Error, Feature, RequestError, Unsupported};
use super::rewrite::{apply, invariant, scoped, BodyEdit};
use super::sccp::{is_pure, FcState};
@@ -87,13 +87,11 @@ pub(super) fn not_evaluable() -> Error {
}
impl Values<'_> {
/// The integer value global `g` holds.
/// The integer value global `g` holds: an undefined one's (an unsupplied constant's, or one
/// computed from it) is 0, as SCCP's is.
pub(super) fn int(&self, g: GlobalId) -> Result<u64, Error> {
if let Some(f) = self.fcs.get(&g).filter(|f| !f.supplied) {
// An undefined value the interface depends on: the caller must supply it.
return Err(Error::NeedsInput(MissingInput::FunctionConstant {
index: f.index,
}));
if self.fcs.get(&g).is_some_and(|f| !f.supplied) {
return Ok(0);
}
let init = self
.globals
@@ -661,7 +661,6 @@ pub(super) fn expand(
&mut parts.consts,
func,
m,
|_, _| Ok(()),
)?
.ok_or_else(|| invariant("a lowered matmul2d call was not inlined"))?;
Ok((inlined, lanes))
+12 -19
View File
@@ -223,6 +223,11 @@ pub struct Entry {
/// out the threadgroup objects of the specialized function, whose references a constant may
/// remove, so an integer threadgroup address is not translated in such a module.
pub function_constants: bool,
/// The function constants (by index) the request leaves undefined whose values the body
/// reads: an instruction it keeps uses one (as its type's zero), or a branch or `select` was
/// decided on one (its false way). Metal makes such a pipeline too, and its reads of the
/// constant vary, so what a run computes from one is not Metal's answer.
pub undefined_reads: Vec<u32>,
/// The Metal buffer indices of the visible-function-table parameters read as buffers of
/// words: `ep` states each as a read-only device `Buffer`, and the interface says the slot
/// holds a table.
@@ -512,27 +517,12 @@ pub fn specialize_dynamic(
let emap = erase::erase_consts(&mut parts.consts, m)?;
erase::erase_globals(parts.globals.values_mut(), &emap);
erase_functions(&mut parts, &emap, m)?;
// The entry block always runs: a value use there of an unsupplied constant is SCCP's first
// refusal, known before the inlined body is built.
let entry_refusal = |consts: &ConstTable, m: &mut Meter| {
let body = parts
.funcs
.get(func)
.and_then(|f| f.body.as_ref())
.ok_or_else(|| invariant("the entry has no body"))?;
let inlined = |k: &InstKind| inline::inlined_callee(&parts.funcs, k).is_some();
match sccp::entry_block_refusal(body, consts, &fcs, &inlined, m)? {
Some(index) => Err(Error::NeedsInput(MissingInput::FunctionConstant { index })),
None => Ok(()),
}
};
let inlined = inline::inline(
&parts.funcs,
(&parts.types, &parts.symbols),
&mut parts.consts,
func,
m,
entry_refusal,
);
let body = inlined.and_then(|inlined| erased_entry(&parts, func, inlined, &emap, m));
// Devirtualization: calls through constant function addresses and visible-function tables
@@ -594,7 +584,10 @@ pub fn specialize_dynamic(
sccp::run(&body, &mut cx, m)?
};
body.release(m);
let body = solved;
let sccp::Rebuilt {
body,
reads: mut undefined_reads,
} = solved;
// A pointer loaded from a field of a constant global is the field's constant: a `constexpr
// sampler` that SCCP's folded select picked is its sampler state. SCCP runs again over a body
// that changed, to fold what those constants decide.
@@ -614,7 +607,8 @@ pub fn specialize_dynamic(
sccp::run(&body, &mut cx, m)?
};
body.release(m);
solved
undefined_reads.extend(solved.reads);
solved.body
} else {
body
};
@@ -762,6 +756,7 @@ pub fn specialize_dynamic(
unnumbered_linked_samplers,
intersection_candidates,
function_constants: !abi.function_constants.is_empty(),
undefined_reads: undefined_reads.into_iter().collect(),
function_tables,
lockstep: Lockstep::default(),
call_stack,
@@ -935,7 +930,6 @@ fn reinline(
&mut parts.consts,
r.func,
m,
|_, _| Ok(()),
)?;
let body = erased_entry(parts, r.func, inlined, r.emap, m)?;
inline_rounds(body, parts, stubs, r, m)
@@ -999,7 +993,6 @@ fn inline_rounds(
&mut parts.consts,
r.func,
m,
|_, _| Ok(()),
)?;
body = erased_entry(parts, r.func, inlined, r.emap, m)?;
}
@@ -597,7 +597,6 @@ fn prepare_in(
&mut parts.consts,
f,
m,
|_, _| Ok(()),
)?;
if let Some(body) = inlined {
let func = parts
+190 -243
View File
@@ -7,11 +7,18 @@
//! - `air.is_function_constant_defined(@g)` folds to whether `@g`'s constant was supplied, and a
//! load from a bound (supplied) function constant folds to its value, like any load from a
//! constant global with a known initializer.
//! - A value computed from an **unsupplied** function constant is [`Lat::Fc`]: the constant is
//! undefined, and the taint sticks through every pure operation. Pure uses of it may be deleted
//! when their result is unused (they become `undef`), but any other use surviving SCCP (a branch
//! on it, a store of it, a call argument, a return value) is
//! `Error::NeedsInput(FunctionConstant{index})`.
//! - A value computed from an **unsupplied** function constant alone (with constants) is
//! [`Lat::Fc`]: the constant is undefined, and so is every pure operation on it but these: an
//! `and` with zero, an `or` with all ones and a `mul` by zero are that constant, a `select` on
//! an undefined condition is its false arm, and `air.normalize_function_constant_predicate`
//! makes it 0. A branch on an undefined condition takes its false way (its zero case or
//! default), and a pure instruction computing one is replaced by its type's zero (a pointer is
//! kept), so a use that survives (a store of it, a call argument, a return value) reads zero.
//! An operation that also reads a value only the run knows, and a PHI, keep what the run
//! computes, with that zero for the undefined operand.
//! Plain Metal makes such a function's pipeline, and its own
//! reads of an undefined constant vary from read to read, zero and the false way among them; its
//! predicate gates nothing, whether negated or not (Metal probes).
//!
//! Afterwards unreachable blocks are deleted, branches on constants become unconditional, PHIs
//! keep one entry per remaining edge, and instructions with a constant value are replaced by it.
@@ -25,19 +32,14 @@
//! pass over the executable entries computes: the worklists see the same values in the same
//! order, and the fixed point, the folds, and the dead blocks are the same. Every meet, the
//! index, and both worklists are metered.
//!
//! [`entry_block_refusal`] decides the one refusal the entry's own entry block settles before the
//! entry is inlined, so a module that needs a caller's value there is refused without building its
//! inlined body.
use std::collections::{HashMap, HashSet};
use std::collections::{BTreeSet, HashMap, HashSet};
use crate::budget::{vec_bytes, Meter};
use crate::error::{AbiError, CanonError, DiagName, InputError, InputErrorKind, Location};
use crate::error::{Error, MissingInput};
use crate::error::{AbiError, CanonError, DiagName, Error, InputError, InputErrorKind, Location};
use crate::intrinsics::{AirIntrinsic, FunctionConstant};
use crate::ir::{Arena, BlockId, Body, Callee, Const, ConstId, ConstTable, Constant, Global};
use crate::ir::{ArgIdx, GlobalId, Idx, InstId, InstKind, Value};
use crate::ir::{ArgIdx, BinOp, GlobalId, Idx, InstId, InstKind, Type, Value};
use super::fold::Folder;
use super::rewrite::{apply, filled, invariant, scoped, BodyEdit};
@@ -53,14 +55,14 @@ pub(super) struct FcState {
pub decl: bool,
}
/// The SCCP lattice. Ordered `Top < Const < Bottom < Fc`: an unsupplied-constant taint is the
/// strongest fact, because every use of it must be accounted for.
/// The SCCP lattice, flat: `Top`, then each constant and the undefined value of an unsupplied
/// constant (`Fc`, one more value), then `Bottom`. Two different values meet as `Bottom`.
#[derive(Clone, Copy, Debug, PartialEq, Eq)]
enum Lat {
Top,
Const(ConstId),
Bottom,
Fc(u32),
Bottom,
}
#[cfg(test)]
@@ -76,10 +78,26 @@ fn meet(a: Lat, b: Lat) -> Lat {
match (a, b) {
(Lat::Top, x) | (x, Lat::Top) => x,
(Lat::Fc(i), Lat::Fc(j)) => Lat::Fc(i.min(j)),
(Lat::Fc(i), _) | (_, Lat::Fc(i)) => Lat::Fc(i),
(Lat::Bottom, _) | (_, Lat::Bottom) => Lat::Bottom,
(Lat::Const(x), Lat::Const(y)) if x == y => Lat::Const(x),
(Lat::Const(_), Lat::Const(_)) => Lat::Bottom,
_ => Lat::Bottom,
}
}
/// Record that the body reads the unsupplied constant `k`.
fn read(reads: &mut BTreeSet<u32>, k: u32, m: &mut Meter) -> Result<(), Error> {
if reads.insert(k) {
m.charge(std::mem::size_of::<u32>() * 4)?;
}
Ok(())
}
/// What a PHI merges an entry as: an undefined value as `Bottom`. The rewrite makes the entry its
/// type's zero on its own way, and a value a loop carries is each turn's from the last, not
/// undefined again, so it must not settle on the undefined value.
fn merged(l: Lat) -> Lat {
match l {
Lat::Fc(_) => Lat::Bottom,
l => l,
}
}
@@ -91,19 +109,30 @@ pub(super) struct Context<'a> {
pub name: DiagName,
}
/// SCCP's rebuilt body, and the unsupplied constants (by index) whose undefined values it reads:
/// an instruction it keeps uses one, or a branch or `select` was decided on one.
#[derive(Debug, PartialEq)]
pub(super) struct Rebuilt {
pub body: Body,
pub reads: BTreeSet<u32>,
}
/// Run SCCP over `body` and rebuild it. The solver's scope ends with its edit, so its tables are
/// back in the ledger before the new body is built: the rebuild holds only the body it reads,
/// the edit, and the body it builds (with the solver held too, a 1.9M-instruction body that folds
/// nothing passed the ledger here).
pub(super) fn run(body: &Body, cx: &mut Context<'_>, m: &mut Meter) -> Result<Body, Error> {
pub(super) fn run(body: &Body, cx: &mut Context<'_>, m: &mut Meter) -> Result<Rebuilt, Error> {
let out = scoped(m, |m, edit_held| {
let edit = scoped(m, |m, held| {
let (edit, reads) = scoped(m, |m, held| {
let mut s = Solver::new(body, cx, m, held)?;
s.solve(cx, m, held)?;
s.check(cx)?;
s.edit(cx, m, edit_held)
})?;
apply(body, &edit, &|c| c, m)
Ok(Rebuilt {
body: apply(body, &edit, &|c| c, m)?,
reads,
})
});
// Every SCCP a unit test runs is also solved by meeting each PHI's entries in full at every
// visit, as before, and must agree.
@@ -116,8 +145,7 @@ pub(super) fn run(body: &Body, cx: &mut Context<'_>, m: &mut Meter) -> Result<Bo
/// constants bound so far settle it, or make it one constant, or leave it to run time.
#[derive(Clone, Copy, Debug, PartialEq, Eq)]
pub(super) enum Fact {
/// It is computed from an unsupplied constant, whose first use that is not pure SCCP
/// refuses.
/// It is computed from an unsupplied constant alone: undefined.
Settled,
/// It is this constant on every run that reaches it.
Const(ConstId),
@@ -145,12 +173,12 @@ impl Facts {
///
/// The fixpoint treats the result of each call the body still makes as varying, so a call that
/// is inlined later can only refine the values its result reaches. A value it reaches computed
/// from an unsupplied constant is settled. A value it does not reach varies: a block no edge
/// from an unsupplied constant alone is settled. A value it does not reach varies: a block no edge
/// reaches yet (a recursive function's copy, before its machine is assembled) or one only a branch
/// it cannot decide leads to can run once the body is refined. A constant it finds is a fact only
/// where its check passes: a branch on an unsupplied constant's value or on `undef` runs neither
/// way in the fixpoint, so where the check would refuse one, a refinement that unties it can run a
/// block the fixpoint found not running, and a constant met there can vary.
/// where its check passes: a branch on `undef` runs neither way in the fixpoint, so where the
/// check would refuse one, a refinement that unties it can run a block the fixpoint found not
/// running, and a constant met there can vary.
pub(super) fn facts(
body: &Body,
cx: &mut Context<'_>,
@@ -255,8 +283,8 @@ fn const_taint(
}
}
/// Whether `kind` is `air.normalize_function_constant_predicate`, which SCCP folds: an undefined
/// operand is a use it accounts for, not one that needs the caller's value.
/// Whether `kind` is `air.normalize_function_constant_predicate`, which SCCP folds, an undefined
/// operand to 0.
fn is_normalize(kind: &InstKind) -> bool {
matches!(
kind,
@@ -273,10 +301,9 @@ fn is_normalize(kind: &InstKind) -> bool {
/// What the lattice value of a branch condition decides.
#[derive(Clone, Copy, Debug, PartialEq, Eq)]
enum Decision {
/// Not known yet (`Top`), or tainted by an unsupplied constant (`check` refuses it): no
/// edge is executable yet.
/// Not known yet (`Top`): no edge is executable yet.
Wait,
/// A known integer: exactly one successor.
/// A known integer, or 0 for an undefined one (the false way): exactly one successor.
Taken(u64),
/// A literal `undef`/`poison`: no edge; `check` refuses it if the branch is reachable.
Undef,
@@ -487,7 +514,7 @@ impl Phis {
m.tick(units(entries.len()))?;
for &(s, v) in entries {
if let Some(a) = self.acc.get_mut(s as usize) {
*a = meet(*a, lat_of(val, taint, v));
*a = meet(*a, merged(lat_of(val, taint, v)));
}
}
Ok(())
@@ -507,7 +534,7 @@ impl Phis {
for &(s, e) in entries {
if self.open.get(e as usize).copied().unwrap_or(false) {
if let Some(a) = self.acc.get_mut(s as usize) {
*a = meet(*a, now);
*a = meet(*a, merged(now));
}
}
}
@@ -646,7 +673,8 @@ impl<'b> Solver<'b> {
/// What branching on `v` decides.
fn decide(&self, v: Value, cx: &Context<'_>) -> Decision {
match self.lat(v) {
Lat::Top | Lat::Fc(_) => Decision::Wait,
Lat::Top => Decision::Wait,
Lat::Fc(_) => Decision::Taken(0),
Lat::Bottom => Decision::All,
Lat::Const(k) => match cx.folder.int(k) {
Some(x) => Decision::Taken(x),
@@ -791,7 +819,10 @@ impl<'b> Solver<'b> {
}
}
Ok(if let Some(i) = fc {
Lat::Fc(i)
match any_bottom {
true => Lat::Bottom,
false => Lat::Fc(i),
}
} else if any_top {
Lat::Top
} else if any_bottom {
@@ -801,6 +832,23 @@ impl<'b> Solver<'b> {
})
}
/// `a op b` with one operand undefined, where the other can decide it: that operand when it
/// does ([`Folder::absorbs`]), and unknown while it is. `None` for every other pair.
fn absorbed(&self, op: BinOp, a: Value, b: Value, cx: &Context<'_>) -> Option<Lat> {
if !matches!(op, BinOp::And | BinOp::Or | BinOp::Mul) {
return None;
}
match (self.lat(a), self.lat(b)) {
(Lat::Fc(_), Lat::Top) | (Lat::Top, Lat::Fc(_)) => Some(Lat::Top),
(Lat::Fc(_), Lat::Const(k)) | (Lat::Const(k), Lat::Fc(_))
if cx.folder.absorbs(op, k) =>
{
Some(Lat::Const(k))
}
_ => None,
}
}
fn visit(
&mut self,
i: InstId,
@@ -823,10 +871,13 @@ impl<'b> Solver<'b> {
let new = match &inst.kind {
InstKind::BinOp { op, a, b, .. } => {
let op = *op;
self.pure(&[*a, *b], cx, m, |f, c, m| match c {
[x, y] => f.binop(op, ty, *x, *y, m),
_ => Ok(None),
})?
match self.absorbed(op, *a, *b, cx) {
Some(lat) => lat,
None => self.pure(&[*a, *b], cx, m, |f, c, m| match c {
[x, y] => f.binop(op, ty, *x, *y, m),
_ => Ok(None),
})?,
}
}
InstKind::ICmp { pred, a, b } => {
let pred = *pred;
@@ -884,15 +935,19 @@ impl<'b> Solver<'b> {
_ => Ok(None),
})?
}
InstKind::Gep { base, indices, .. } => {
let mut ops = Vec::with_capacity(indices.len() + 1);
ops.push(*base);
ops.extend_from_slice(indices);
self.pure(&ops, cx, m, never)?
}
InstKind::Gep { base, indices, .. } => match self.lat(*base) {
// An address in an unsupplied constant's global, whatever its indices.
Lat::Fc(i) => Lat::Fc(i),
_ => {
let mut ops = Vec::with_capacity(indices.len() + 1);
ops.push(*base);
ops.extend_from_slice(indices);
self.pure(&ops, cx, m, never)?
}
},
InstKind::Select { c, t, f, .. } => match self.lat(*c) {
Lat::Top => Lat::Top,
Lat::Fc(i) => Lat::Fc(i),
Lat::Fc(_) => self.lat(*f),
Lat::Const(k) => match cx.folder.int(k) {
Some(1) => self.lat(*t),
Some(0) => self.lat(*f),
@@ -995,8 +1050,9 @@ impl<'b> Solver<'b> {
self.set(i, new, m, held)
}
/// After the fixpoint: every reachable non-pure use of an unsupplied constant needs the
/// caller's value, and a reachable branch on a literal `undef`/`poison` is refused.
/// After the fixpoint: a reachable `air.is_function_constant_defined` of anything but a
/// declared constant is refused (`BadValue`), and so is a reachable branch on a literal
/// `undef`/`poison`.
fn check(&self, cx: &Context<'_>) -> Result<(), Error> {
let at = |b: BlockId, i: InstId| {
Location::function(cx.name.clone(), Some(b.raw()), Some(i.raw()))
@@ -1031,27 +1087,59 @@ impl<'b> Solver<'b> {
)));
}
}
let mut needs = None;
inst.kind.for_each_value(|v| {
if let Lat::Fc(index) = self.lat(v) {
needs.get_or_insert(index);
}
});
if let Some(index) = needs {
return Err(Error::NeedsInput(MissingInput::FunctionConstant { index }));
}
}
}
Ok(())
}
/// Whether `b`'s edge to `dest` is its only executable one among `succs`. A condition that
/// was a constant and then undefined opened its first way too; that branch stays.
fn only_edge(
&self,
b: BlockId,
dest: BlockId,
succs: impl IntoIterator<Item = BlockId>,
) -> bool {
succs
.into_iter()
.all(|s| s == dest || !self.edges.contains(&(b, s)))
}
/// Record in `reads` each unsupplied constant whose undefined value a kept instruction of
/// block `b` uses (a PHI, only over an executable edge).
fn reads_of(
&self,
b: BlockId,
kind: &InstKind,
reads: &mut BTreeSet<u32>,
m: &mut Meter,
) -> Result<(), Error> {
let mut found = Vec::new();
match kind {
InstKind::Phi { incoming, .. } => {
for &(v, p) in incoming.iter() {
if let (true, Lat::Fc(k)) = (self.edges.contains(&(p, b)), self.lat(v)) {
found.push(k);
}
}
}
_ => kind.for_each_value(|v| {
if let Lat::Fc(k) = self.lat(v) {
found.push(k);
}
}),
}
found.into_iter().try_for_each(|k| read(reads, k, m))
}
fn edit(
&self,
cx: &mut Context<'_>,
m: &mut Meter,
held: &mut usize,
) -> Result<BodyEdit, Error> {
) -> Result<(BodyEdit, BTreeSet<u32>), Error> {
let mut edit = BodyEdit::keep_all(self.body, m, held)?;
let mut reads = BTreeSet::new();
for (slot, &e) in edit.keep.iter_mut().zip(&self.exec) {
*slot = e;
}
@@ -1072,28 +1160,36 @@ impl<'b> Solver<'b> {
|| is_defined_arg(&inst.kind, cx.folder.consts, cx.fcs).is_some();
match (&inst.kind, lat) {
(_, Lat::Const(c)) if deletable => edit.replace(i, Value::Const(c)),
(_, Lat::Fc(_)) if deletable => {
let undef = cx.folder.consts.intern(
// An undefined value is its type's zero; an address computed from a constant's
// global still names the global.
(_, Lat::Fc(_))
if deletable
&& !matches!(cx.folder.types.get(inst.ty), Some(Type::Ptr { .. })) =>
{
let zero = cx.folder.consts.intern(
Constant {
ty: inst.ty,
value: Const::Undef,
value: Const::Null,
},
m,
)?;
edit.replace(i, Value::Const(undef));
}
(InstKind::Select { c, t, f, .. }, _) => {
if let Lat::Const(k) = self.lat(*c) {
match cx.folder.int(k) {
Some(1) => edit.replace(i, *t),
Some(0) => edit.replace(i, *f),
_ => {}
}
}
edit.replace(i, Value::Const(zero));
}
(InstKind::Select { c, t, f, .. }, _) => match self.lat(*c) {
Lat::Const(k) => match cx.folder.int(k) {
Some(1) => edit.replace(i, *t),
Some(0) => edit.replace(i, *f),
_ => {}
},
Lat::Fc(_) => edit.replace(i, *f),
Lat::Top | Lat::Bottom => {}
},
(InstKind::CondBr { c, t, f, hints }, _) => {
if let Decision::Taken(x) = self.decide(*c, cx) {
let dest = if x == 0 { *f } else { *t };
if !self.only_edge(b, dest, [*t, *f]) {
continue;
}
edit.rewrite.insert(
i,
InstKind::Br {
@@ -1117,6 +1213,11 @@ impl<'b> Solver<'b> {
.iter()
.find(|&&(case, _)| case == x)
.map_or(*default, |&(_, d)| d);
let all =
std::iter::once(*default).chain(cases.iter().map(|&(_, d)| d));
if !self.only_edge(b, dest, all) {
continue;
}
edit.rewrite.insert(
i,
InstKind::Br {
@@ -1128,181 +1229,27 @@ impl<'b> Solver<'b> {
}
_ => {}
}
let replaced = edit.replace.get(i.index()).is_some_and(Option::is_some);
match (&inst.kind, replaced) {
// A `select` decided on an undefined condition reads it.
(InstKind::Select { c, .. }, true) => {
if let Lat::Fc(k) = self.lat(*c) {
read(&mut reads, k, m)?;
}
}
// An undefined value kept as itself (an address) reads nothing until its own
// kept uses do.
(_, false) if !matches!(lat, Lat::Fc(_)) => {
self.reads_of(b, &inst.kind, &mut reads, m)?;
}
_ => {}
}
}
}
Ok(edit)
Ok((edit, reads))
}
}
/// What the entry block alone decides about the lattice value of one of its values.
#[derive(Clone, Copy, Debug, PartialEq, Eq)]
enum Taint {
/// Not [`Lat::Fc`].
Clean,
/// [`Lat::Fc`] of this constant.
Fc(u32),
/// Not decided without folding (a select whose arms differ).
Unknown,
}
impl Taint {
/// A pure operation's taint from its operands' ([`Solver::pure`]): the lowest constant among
/// the tainted operands, which an undecided operand could lower.
fn of_pure(ops: impl Iterator<Item = Taint>) -> Taint {
let mut out = Taint::Clean;
for t in ops {
out = match (out, t) {
(Taint::Unknown, _) | (_, Taint::Unknown) => return Taint::Unknown,
(Taint::Fc(i), Taint::Fc(j)) => Taint::Fc(i.min(j)),
(Taint::Fc(i), Taint::Clean) | (Taint::Clean, Taint::Fc(i)) => Taint::Fc(i),
(Taint::Clean, Taint::Clean) => Taint::Clean,
};
}
out
}
/// A select's ([`Solver::visit`]): its condition's taint, else its arms' when they agree
/// (the value a folded condition picks, or their meet).
fn of_select(c: Taint, t: Taint, f: Taint) -> Taint {
match c {
Taint::Clean if t == f => t,
Taint::Fc(_) => c,
Taint::Clean | Taint::Unknown => Taint::Unknown,
}
}
}
/// The unsupplied function constant whose value SCCP over the inlined entry is certain to refuse
/// first, when the entry's own entry block decides it: `Some(index)` exactly when [`Solver::check`]
/// would return `NeedsInput(FunctionConstant{index})` at an instruction of `body`'s entry block
/// before its first call that `inlined` says the inliner replaces.
///
/// Why the entry's own body decides it. The entry block has no predecessors and always executes.
/// The inliner keeps its instructions up to that first inlined call, in order, as the start of
/// the inlined body's first block, which `check` scans first; erasure only deletes no-op pointer
/// casts, which are pure, and keeps every constant's taint. Those instructions' operands are
/// arguments, constants, and each other, so their lattice values depend on no callee and on no
/// other block. Their taint needs no folding (the constant table is only read): a pure result is
/// tainted by its operands, a select by its condition or else by both arms alike, a normalized
/// predicate never. The caller runs this once the inliner's own refusals are decided; what
/// remains before `check` (building the inlined body, erasure, solving) refuses only budget and
/// invariant failures.
///
/// Any instruction whose outcome in `check` the block does not decide ends the scan with `None`,
/// and SCCP decides: a `BadValue` or `undef`-condition refusal, an operand whose taint is not
/// decided, or the first inlined call.
pub(super) fn entry_block_refusal(
body: &Body,
consts: &ConstTable,
fcs: &HashMap<GlobalId, FcState>,
inlined: &dyn Fn(&InstKind) -> bool,
m: &mut Meter,
) -> Result<Option<u32>, Error> {
scoped(m, |m, held| {
let block = body
.blocks
.get(BlockId::new(0))
.copied()
.ok_or_else(|| invariant("a body without blocks"))?;
// Per instruction of the block, in order: its taint once visited.
let mut seen = filled(m, held, block.len(), Taint::Unknown)?;
let mut memo = HashMap::new();
let mut ops = Vec::new();
let mut taints = Vec::new();
for (at, i) in block.inst_ids().enumerate() {
m.tick(1)?;
let inst = body
.insts
.get(i)
.ok_or_else(|| invariant("instruction out of range"))?;
if inlined(&inst.kind) {
return Ok(None);
}
ops.clear();
inst.kind.for_each_value(|v| ops.push(v));
taints.clear();
for &v in &ops {
taints.push(match v {
Value::Arg(_) => Taint::Clean,
Value::Inst(j) => j
.index()
.checked_sub(block.start.index())
.and_then(|k| seen.get(k).copied())
.unwrap_or(Taint::Unknown),
Value::Const(c) => match taint_of(c, consts, fcs, &mut memo, m, held)? {
Some(index) => Taint::Fc(index),
None => Taint::Clean,
},
});
}
let taint = match is_defined_arg(&inst.kind, consts, fcs) {
// `check` refuses the argument as `BadValue` first.
Some(None) => return Ok(None),
Some(Some(_)) => Taint::Clean,
None => match (&inst.kind, taints.as_slice()) {
(InstKind::Select { .. }, &[c, t, f]) => Taint::of_select(c, t, f),
(InstKind::Phi { .. }, _) => Taint::Unknown,
(kind, _) if is_normalize(kind) => Taint::Clean,
(kind, _) if is_pure(kind) => Taint::of_pure(taints.iter().copied()),
// Any other use: `check` refuses its first tainted operand. A tainted branch
// condition waits, so it is not an `undef` condition first.
_ => match taints.iter().find(|&&t| t != Taint::Clean) {
Some(&Taint::Fc(index)) => return Ok(Some(index)),
Some(_) => return Ok(None),
None => Taint::Clean,
},
},
};
if let Some(slot) = seen.get_mut(at) {
*slot = taint;
}
}
Ok(None)
})
}
/// [`const_taint`] of constant `c`, its operands first. An explicit stack, since constants nest
/// deeply; `memo` keeps each constant's once computed.
fn taint_of(
c: ConstId,
consts: &ConstTable,
fcs: &HashMap<GlobalId, FcState>,
memo: &mut HashMap<ConstId, Option<u32>>,
m: &mut Meter,
held: &mut usize,
) -> Result<Option<u32>, Error> {
let mut stack = vec![c];
while let Some(&k) = stack.last() {
if memo.contains_key(&k) {
stack.pop();
continue;
}
m.tick(1)?;
let value = &consts
.get(k)
.ok_or_else(|| invariant("constant out of range"))?
.value;
let pending = stack.len();
for &ch in value.children() {
if !memo.contains_key(&ch) {
let bytes = std::mem::size_of::<ConstId>();
m.charge(bytes)?;
*held = held.saturating_add(bytes);
stack.push(ch);
}
}
if stack.len() == pending {
let t = const_taint(value, fcs, |ch| memo.get(&ch).copied().flatten());
let bytes = std::mem::size_of::<(ConstId, Option<u32>)>() * 2;
m.charge(bytes)?;
*held = held.saturating_add(bytes);
memo.insert(k, t);
stack.pop();
}
}
Ok(memo.get(&c).copied().flatten())
}
#[cfg(test)]
#[path = "sccp_tests.rs"]
mod tests;
@@ -27,7 +27,7 @@ impl Solver<'_> {
let mut acc = Lat::Top;
for &(v, p) in incoming {
if self.edges.contains(&(p, b)) {
acc = meet(acc, self.lat(v));
acc = meet(acc, merged(self.lat(v)));
}
}
acc
@@ -77,7 +77,7 @@ struct Settled {
/// work units.
struct Solved {
settled: Option<Result<Settled, Error>>,
out: Result<Body, Error>,
out: Result<Rebuilt, Error>,
work: u64,
}
@@ -100,8 +100,11 @@ fn solve_with(body: &Body, cx: &mut Context<'_>, full: bool, check: bool) -> Sol
}));
solved?;
s.check(cx)?;
let edit = s.edit(cx, m, held)?;
apply(body, &edit, &|c| c, m)
let (edit, reads) = s.edit(cx, m, held)?;
Ok(Rebuilt {
body: apply(body, &edit, &|c| c, m)?,
reads,
})
});
Solved {
settled,
@@ -126,7 +129,7 @@ fn entries(body: &Body) -> usize {
pub(super) fn agrees_with_the_full_meet(
body: &Body,
cx: &mut Context<'_>,
out: &Result<Body, Error>,
out: &Result<Rebuilt, Error>,
) {
if matches!(
out,
@@ -971,7 +974,7 @@ fn the_rebuild_does_not_hold_the_solver() {
let mut m = uncapped();
let out = run(&body, &mut cx, &mut m).expect("sccp");
assert_eq!(out.insts.len(), body.insts.len(), "nothing folds");
assert_eq!(out.body.insts.len(), body.insts.len(), "nothing folds");
let peak = m.ledger_peak();
assert!(
peak < solver + rebuild,
@@ -23,8 +23,10 @@
//! operand to 0). Anything else (a loop, a load of an externally initialized global, a store
//! outside the constant address space, an overlapping access of another type, an alloca, other
//! float arithmetic, a call to a declaration) is `StaticInitNotEvaluable`. A branch on an
//! unsupplied constant is `NeedsInput(FunctionConstant)`, a branch on `undef` is `UndefCondition`,
//! and a call cycle is `Unsupported{Recursion}`.
//! unsupplied constant takes its false way, a `select` on one is its false arm, and an `and` with
//! zero, an `or` with all ones and a `mul` by zero are that constant whatever the other operand
//! holds, as SCCP's are; a branch on `undef` is `UndefCondition`, and a call cycle is
//! `Unsupported{Recursion}`.
//!
//! [`super::static_values`] evaluates under [`Unevaluable::Opaque`]: a pure operation the
//! interpreter does not evaluate (float arithmetic outside the agreement, a conversion other than
@@ -47,7 +49,7 @@ use std::collections::{BTreeMap, HashMap};
use crate::budget::Meter;
use crate::error::{CanonError, DiagName, InputError, InputErrorKind, Location};
use crate::error::{Error, Feature, MissingInput, Unsupported};
use crate::error::{Error, Feature, Unsupported};
use crate::intrinsics::{AirIntrinsic, FunctionConstant, LlvmIntOp, LlvmIntrinsic, NumKind};
use crate::ir::layout::Endian;
use crate::ir::{AddrSpace, Arena, BlockId, Body, Callee, CastOp, Const, ConstExpr, ConstId};
@@ -558,7 +560,14 @@ impl<'a> Eval<'a> {
}
InstKind::BinOp { op, a, b, .. } => {
let (op, a, b) = (*op, val(*a)?, val(*b)?);
self.pure2(a, b, &at, m, |f, x, y, m| f.binop(op, ty, x, y, m))?
match (a, b) {
(SVal::Fc(_), SVal::C(k)) | (SVal::C(k), SVal::Fc(_))
if self.folder.absorbs(op, k) =>
{
SVal::C(k)
}
_ => self.pure2(a, b, &at, m, |f, x, y, m| f.binop(op, ty, x, y, m))?,
}
}
InstKind::FNeg { v, .. } => {
let x = val(*v)?;
@@ -607,7 +616,7 @@ impl<'a> Eval<'a> {
InstKind::Select { c, t, f, .. } => {
let (c, t, f) = (val(*c)?, val(*t)?, val(*f)?);
match c {
SVal::Fc(i) => SVal::Fc(i),
SVal::Fc(_) => f,
SVal::Opaque => SVal::Opaque,
SVal::C(k) => match self.folder.int(k) {
Some(0) => f,
@@ -727,10 +736,10 @@ impl<'a> Eval<'a> {
Ok(Step::Jumped)
}
/// The integer a branch condition holds.
/// The integer a branch condition holds: an undefined one's 0, its false way.
fn decide(&self, v: SVal, at: &Location) -> Result<u64, Error> {
match v {
SVal::Fc(index) => Err(Error::NeedsInput(MissingInput::FunctionConstant { index })),
SVal::Fc(_) => Ok(0),
SVal::C(c) => match self.folder.int(c) {
Some(x) => Ok(x),
None => match self.folder.consts.get(c).map(|k| &k.value) {
+277 -75
View File
@@ -8,14 +8,14 @@ use crate::abi::{
FunctionConstantDecl, ModuleLimits, ParamBinding, ParamRole, Predicate, Slot, Stage,
};
use crate::budget::{Budget, Meter};
use crate::error::Limit;
use crate::error::{CanonError, InputErrorKind};
use crate::error::{Limit, MissingInput};
use crate::intrinsics::{AbsentAccess, AirIntrinsic, Elem, FunctionConstant, NumTy, TexOp};
use crate::ir::build::{FunctionBuilder, ModuleBuilder};
use crate::ir::print::print;
use crate::ir::{
AddrSpace, Align, BinOp, Call, CastOp, Const, ConstExpr, FastMath, Global, IntPredicate,
Linkage, Section, TailKind, Value,
AddrSpace, Align, BinOp, Call, CastOp, Const, ConstExpr, FastMath, Global, InstId,
IntPredicate, Linkage, Section, TailKind, Value,
};
mod aggregates;
@@ -316,8 +316,10 @@ fn unguarded(use_mode: impl FnOnce(&mut FunctionBuilder<'_>, Value, TypeId)) ->
(module, abi)
}
/// A value computed from an unsupplied constant is undefined, and where it survives (here a store)
/// it is its type's zero, one of the values plain Metal's reads of an undefined constant give.
#[test]
fn a_surviving_value_use_of_an_unsupplied_constant_needs_input() {
fn a_surviving_value_of_an_unsupplied_constant_is_zero() {
let stored = |f: &mut FunctionBuilder<'_>, v: Value, i32t: TypeId| {
let one = f.module().const_int(i32t, 1);
let w = f.bin(BinOp::Add, v, one);
@@ -325,14 +327,17 @@ fn a_surviving_value_use_of_an_unsupplied_constant_needs_input() {
f.ret(None);
};
let (module, abi) = unguarded(stored);
let err = specialize(module, &abi, &request(&[]), &mut meter()).unwrap_err();
assert_eq!(
err,
Error::NeedsInput(MissingInput::FunctionConstant { index: 3 })
let e = specialize(module, &abi, &request(&[]), &mut meter()).unwrap();
let text = body_text(&e);
assert!(
text.contains("store i32 zeroinitializer, %a0") && !text.contains("add i32"),
"{text}"
);
assert_eq!(e.undefined_reads, [3]);
// Supplying it bakes the value and folds the arithmetic.
let (module, abi) = unguarded(stored);
let e = specialize(module, &abi, &request(&[(3, int(41))]), &mut meter()).unwrap();
assert!(e.undefined_reads.is_empty());
assert!(
body_text(&e).contains("store i32 42, %a0"),
"{}",
@@ -340,10 +345,143 @@ fn a_surviving_value_use_of_an_unsupplied_constant_needs_input() {
);
}
/// An `and` with zero, an `or` with all ones and a `mul` by zero are that constant whatever the
/// unsupplied constant holds; an `or` with another constant is undefined, its type's zero.
#[test]
fn a_branch_on_an_unsupplied_constant_needs_input() {
fn a_constant_that_decides_an_operation_on_an_unsupplied_constant_is_its_value() {
let (module, abi) = unguarded(|f, v, i32t| {
let zero = f.module().const_int(i32t, 0);
let ones = f.module().const_int(i32t, u32::MAX.into());
let one = f.module().const_int(i32t, 1);
let ops = [
(BinOp::And, zero),
(BinOp::Mul, zero),
(BinOp::Or, ones),
(BinOp::Or, one),
];
for (op, k) in ops {
let w = f.bin(op, v, k);
store(f, w, arg(0));
}
f.ret(None);
});
let e = specialize(module, &abi, &request(&[]), &mut meter()).unwrap();
let text = body_text(&e);
assert_eq!(text.matches("store i32 0, %a0").count(), 2, "{text}");
assert_eq!(
text.matches("store i32 4294967295, %a0").count(),
1,
"{text}"
);
assert_eq!(
text.matches("store i32 zeroinitializer, %a0").count(),
1,
"{text}"
);
assert_eq!(e.undefined_reads, [3]);
}
/// Where a run's own value meets an unsupplied constant's (an operation on both, a PHI, a
/// `select` on a condition the run decides), the run computes it, with zero for the constant: a
/// way that does not read the constant keeps its value, and a loop that counts from the constant
/// still counts.
#[test]
fn a_value_the_run_computes_keeps_its_way_past_an_unsupplied_constant() {
let ran = |use_mode: fn(&mut FunctionBuilder<'_>, Value, TypeId)| {
let (module, abi) = unguarded(use_mode);
body_text(&specialize(module, &abi, &request(&[]), &mut meter()).unwrap())
};
let text = ran(|f, v, i32t| {
let r = load(f, i32t, arg(0));
let w = f.bin(BinOp::Or, r, v);
store(f, w, arg(0));
f.ret(None);
});
assert!(text.contains("or i32"), "{text}");
let text = ran(|f, v, i32t| {
let i1 = f.module().int(1);
let seven = f.module().const_int(i32t, 7);
let r = load(f, i32t, arg(0));
let c = f.push(
i1,
InstKind::Cast {
op: CastOp::Trunc,
v: r,
},
);
let s = f.push(
i32t,
InstKind::Select {
c,
t: v,
f: seven,
fmf: FastMath::NONE,
},
);
store(f, s, arg(0));
let (a, b, join) = (f.block(), f.block(), f.block());
f.cond_br(c, a, b);
f.switch_to(a);
f.br(join);
f.switch_to(b);
f.br(join);
f.switch_to(join);
let p = f.push(
i32t,
InstKind::Phi {
incoming: Box::new([(v, a), (seven, b)]),
fmf: FastMath::NONE,
},
);
store(f, p, arg(0));
f.ret(None);
});
assert!(
text.contains("select i32 %i1, i32 zeroinitializer, i32 7")
&& text.contains("phi i32 [i32 zeroinitializer, bb1], [i32 7, bb2]"),
"{text}"
);
let text = ran(|f, v, i32t| {
let i1 = f.module().int(1);
let one = f.module().const_int(i32t, 1);
let (head, body, exit) = (f.block(), f.block(), f.block());
f.br(head);
f.switch_to(head);
// The PHI's back edge carries the add after it.
let i = f.push(
i32t,
InstKind::Phi {
incoming: Box::new([(v, BlockId::new(0)), (Value::Inst(InstId::new(6)), body)]),
fmf: FastMath::NONE,
},
);
let r = load(f, i32t, arg(0));
let c = f.push(
i1,
InstKind::Cast {
op: CastOp::Trunc,
v: r,
},
);
f.cond_br(c, body, exit);
f.switch_to(body);
let n = f.bin(BinOp::Add, i, one);
assert_eq!(n, Value::Inst(InstId::new(6)));
store(f, i, arg(0));
f.br(head);
f.switch_to(exit);
f.ret(None);
});
assert!(text.contains("add i32"), "{text}");
}
/// A branch on a value computed from an unsupplied constant takes its false way: its condition
/// is zero.
#[test]
fn a_branch_on_an_unsupplied_constant_takes_its_false_way() {
let (module, abi) = unguarded(|f, v, i32t| {
let zero = f.module().const_int(i32t, 0);
let (seven, nine) = (f.module().const_int(i32t, 7), f.module().const_int(i32t, 9));
let i1 = f.module().int(1);
let c = f.push(
i1,
@@ -356,15 +494,16 @@ fn a_branch_on_an_unsupplied_constant_needs_input() {
let (t, e) = (f.block(), f.block());
f.cond_br(c, t, e);
f.switch_to(t);
store(f, seven, arg(0));
f.ret(None);
f.switch_to(e);
store(f, nine, arg(0));
f.ret(None);
});
let err = specialize(module, &abi, &request(&[]), &mut meter()).unwrap_err();
assert_eq!(
err,
Error::NeedsInput(MissingInput::FunctionConstant { index: 3 })
);
let e = specialize(module, &abi, &request(&[]), &mut meter()).unwrap();
let text = body_text(&e);
assert!(text.contains("store i32 9, %a0"), "{text}");
assert!(!text.contains("store i32 7"), "{text}");
}
#[test]
@@ -706,7 +845,6 @@ fn an_inlined_body_is_charged_exactly_its_footprint() {
&mut parts.consts,
k,
&mut ledger,
|_, _| Ok(()),
)
.unwrap()
.expect("the helper is inlined");
@@ -786,7 +924,6 @@ fn an_inlined_body_of_erased_functions_is_not_copied_to_erase_it() {
&mut parts.consts,
k,
&mut ledger,
|_, _| Ok(()),
)
.unwrap()
.expect("the helper is inlined");
@@ -1239,7 +1376,7 @@ fn static_values_resolve_abi_globals_without_canonicalizing_a_body() {
&mut meter(),
);
assert_eq!(off.unwrap(), [Ok(0)]);
// The predicate of an unsupplied constant is 0; the constant itself needs input.
// The predicate of an unsupplied constant is 0, and so is the constant itself.
let unsupplied = static_values(
module.clone(),
&abi,
@@ -1247,15 +1384,7 @@ fn static_values_resolve_abi_globals_without_canonicalizing_a_body() {
&[pred, flag],
&mut meter(),
);
assert_eq!(
unsupplied.unwrap(),
[
Ok(0),
Err(Error::NeedsInput(MissingInput::FunctionConstant {
index: 0
}))
]
);
assert_eq!(unsupplied.unwrap(), [Ok(0), Ok(0)]);
// Without globals only the constants are checked; nothing is evaluated.
assert_eq!(
static_values(
@@ -1393,13 +1522,14 @@ fn an_unevaluated_float_operation_leaves_only_the_globals_it_reaches_unknown() {
#[test]
fn an_unsupplied_constant_normalizes_to_a_false_predicate() {
// The predicate of an undefined constant is 0, so the gated parameter is absent; the kernel's
// value use of the copy still needs the constant.
// branch on the copy, undefined too, takes its false way.
let (module, flag_abi) = copied_flag();
let err = specialize(module, &flag_abi, &request(&[]), &mut meter()).unwrap_err();
assert_eq!(
err,
Error::NeedsInput(MissingInput::FunctionConstant { index: 0 })
);
let e = specialize(module, &flag_abi, &request(&[]), &mut meter()).unwrap();
assert_eq!(e.ep.params.len(), 1, "the gated parameter is absent");
let text = body_text(&e);
assert!(!text.contains("store i32 7"), "{text}");
// The branch was decided on the undefined copy; the gate reads no value.
assert_eq!(e.undefined_reads, [0]);
let mut m = ModuleBuilder::new();
let void = m.void();
@@ -2108,13 +2238,10 @@ fn a_static_initializer_copies_a_float_or_vector_constant_through_an_integer() {
let bytes = [0x34, 0x12, 0xcd, 0xab];
let e = punned_copy(short2, 32, Some((DataType::Short2, &bytes))).unwrap();
assert_eq!(stored_lanes(&e), [0x1234, 0xabcd]);
// Unsupplied, the copy is undefined as before: the global is derived from the constant.
let err = punned_copy(float, 32, None).unwrap_err();
assert_eq!(
err,
Error::NeedsInput(MissingInput::FunctionConstant { index: 0 }),
"{err:?}"
);
// Unsupplied, the copy is undefined: the global is derived from the constant, and the kernel
// stores its zero.
let e = punned_copy(float, 32, None).unwrap();
assert_eq!(stored_lanes(&e), [0]);
// Through an integer narrower than the constant, a copy covers the global's float only in
// part, and the rest of an `undef` float has no bytes to keep.
let err = punned_copy(float, 16, Some((DataType::Float, &1f32.to_le_bytes()))).unwrap_err();
@@ -2383,11 +2510,9 @@ fn a_pointer_loaded_from_a_constant_globals_field_is_the_fields_constant() {
// A field of any other type is left to the memory plan: its load stays.
let text = body_text(&picked_field(Some(1), 1).unwrap());
assert!(text.contains("getelementptr"), "{text}");
// Unsupplied, the select stays undecided, as before.
assert_eq!(
picked_field(None, 0).unwrap_err(),
Error::NeedsInput(MissingInput::FunctionConstant { index: 0 })
);
// Unsupplied, the select on the undefined constant takes its false arm, as with it false.
let text = body_text(&picked_field(None, 0).unwrap());
assert!(text.contains("222") && !text.contains("111"), "{text}");
}
#[test]
@@ -2444,8 +2569,10 @@ fn an_unevaluable_static_initializer_is_refused_typed() {
assert_eq!(u.feature, Feature::Recursion);
}
/// A static initializer's branch on an unsupplied constant takes its false way: the store it
/// guards does not run.
#[test]
fn a_static_initializer_branch_on_an_unsupplied_constant_needs_input() {
fn a_static_initializer_branch_on_an_unsupplied_constant_takes_its_false_way() {
let mut m = ModuleBuilder::new();
let void = m.void();
let i1 = m.int(1);
@@ -2478,10 +2605,17 @@ fn a_static_initializer_branch_on_an_unsupplied_constant_needs_input() {
let k = f.finish();
let module = m.finish().unwrap();
let abi = abi(vec![kernel(k, Vec::new())], vec![fc_decl(3, flag, i8t)]);
assert_eq!(
specialize(module.clone(), &abi, &request(&[]), &mut meter()).unwrap_err(),
Error::NeedsInput(MissingInput::FunctionConstant { index: 3 })
specialize(module.clone(), &abi, &request(&[]), &mut meter()).unwrap();
let unsupplied = static_values(module.clone(), &abi, &BTreeMap::new(), &[g], &mut meter());
assert_eq!(unsupplied.unwrap(), [Ok(0)]);
let on = static_values(
module.clone(),
&abi,
&[(3, boolean(1))].into(),
&[g],
&mut meter(),
);
assert_eq!(on.unwrap(), [Ok(1)]);
let r = SpecRequest {
call_stack_depth: 1,
entry: "k".into(),
@@ -2490,6 +2624,81 @@ fn a_static_initializer_branch_on_an_unsupplied_constant_needs_input() {
specialize(module, &abi, &r, &mut meter()).unwrap();
}
/// The static initializer derives `has = generic || (layout == 0 && count != 0)` from three
/// `uchar` constants (indices 0, 1 and 2), and the kernel stores `has` to its buffer.
fn derived_or() -> (Module, AirAbi, GlobalId) {
let mut m = ModuleBuilder::new();
let void = m.void();
let i1 = m.int(1);
let i8t = m.int(8);
let dev = m.ptr(AddrSpace::Device);
let fcs = ["generic", "layout", "count"].map(|n| fc_global(&mut m, n, i8t));
let zero = m.constant(i8t, Const::Int(0));
let has = m.simple_global("has", i8t, AddrSpace::Constant, Some(zero));
let addrs = fcs.map(|g| m.global_addr(g));
let has_addr = m.global_addr(has);
static_init(&mut m, "init", |f| {
let [generic, layout, count] = addrs.map(|a| load(f, i8t, a));
let z = Value::Const(zero);
let cmp =
|f: &mut FunctionBuilder<'_>, pred, a| f.push(i1, InstKind::ICmp { pred, a, b: z });
let flat = cmp(f, IntPredicate::Eq, layout);
let counted = cmp(f, IntPredicate::Ne, count);
let both = f.bin(BinOp::And, flat, counted);
let g = f.push(
i1,
InstKind::Cast {
op: CastOp::Trunc,
v: generic,
},
);
let either = f.bin(BinOp::Or, g, both);
let w = f.push(
i8t,
InstKind::Cast {
op: CastOp::ZExt,
v: either,
},
);
store(f, w, has_addr);
});
let fty = m.fn_ty(void, &[dev]);
let mut f = m.define("k", fty);
let v = load(&mut f, i8t, has_addr);
store(&mut f, v, arg(0));
f.ret(None);
let k = f.finish();
let module = m.finish().unwrap();
let decls = (0..3).map(|i| fc_decl(i, fcs[i as usize], i8t)).collect();
let abi = abi(vec![kernel(k, vec![buffer(0, 0)])], decls);
(module, abi, has)
}
/// A supplied `generic` decides `generic || ...` over the unsupplied `count`; unset, the `or` is
/// undefined, and its global reads zero.
#[test]
fn a_supplied_operand_decides_an_or_over_an_unsupplied_one() {
let (module, abi, has) = derived_or();
for generic in [1, 0] {
let supplied = [(0, boolean(generic)), (1, boolean(0))];
let got = static_values(
module.clone(),
&abi,
&supplied.clone().into(),
&[has],
&mut meter(),
);
assert_eq!(got.unwrap(), [Ok(u64::from(generic))]);
let e = specialize(module.clone(), &abi, &request(&supplied), &mut meter()).unwrap();
let (want, reads) = match generic {
1 => ("store i8 1, %a0", vec![]),
_ => ("store i8 zeroinitializer, %a0", vec![2]),
};
assert!(body_text(&e).contains(want), "{}", body_text(&e));
assert_eq!(e.undefined_reads, reads);
}
}
/// A PHI in a live block keeps no entry, and no value, from a block SCCP deleted, even when the
/// value is defined only in that block.
#[test]
@@ -2802,26 +3011,19 @@ fn switch_on_derived(call_first: bool) -> (Module, AirAbi) {
}
#[test]
fn an_entry_block_refusal_comes_before_the_inlined_body() {
let run = |call_first| {
fn a_switch_on_an_undefined_derived_value_takes_its_default() {
// Unsupplied, `@unroll` is undefined: the switch takes its default way (no case is 0), and
// neither case's calls are kept, whether or not a call comes first.
for call_first in [false, true] {
let (module, abi) = switch_on_derived(call_first);
let mut meter = meter();
let err = specialize(module, &abi, &request(&[]), &mut meter).unwrap_err();
(err, meter.work(), meter.ledger_peak())
};
let needs = Error::NeedsInput(MissingInput::FunctionConstant { index: 3 });
let inlined = (WIDE * CALLS) as u64;
// The entry block's switch on the derived global is refused before anything proportional to
// the inlined body is built or visited.
let (early, work, peak) = run(false);
assert_eq!(early, needs);
assert!(work < inlined / 8, "{work} work units");
// Behind a call, SCCP over the inlined body refuses the same switch, with the same error,
// after the work the early refusal does not do.
let (late, late_work, late_peak) = run(true);
assert_eq!(late, needs);
assert!(late_work > inlined, "{late_work} work units");
assert!(peak * 8 < late_peak, "ledger peaks {peak} and {late_peak}");
let e = specialize(module, &abi, &request(&[]), &mut meter()).unwrap();
let stores = body_text(&e).matches("store i32 1, %a0").count();
assert_eq!(
stores,
if call_first { WIDE } else { 0 },
"call_first {call_first}"
);
}
// Supplied, the switch folds and the taken case is inlined.
let (module, abi) = switch_on_derived(false);
let e = specialize(module, &abi, &request(&[(3, int(2))]), &mut meter()).unwrap();
@@ -2860,14 +3062,14 @@ fn entry_block(
}
#[test]
fn the_entry_block_refusal_defers_what_it_does_not_decide() {
let needs = Error::NeedsInput(MissingInput::FunctionConstant { index: 3 });
// A certain refusal: a store of the undefined value.
let err = entry_block(|m| wide_helper(m, 1), |f, v, _| store(f, v, arg(0))).unwrap_err();
assert_eq!(err, needs);
fn an_undefined_value_in_an_inlined_entry_is_zero_and_other_refusals_stand() {
// A store of the undefined value stores zero.
let e = entry_block(|m| wide_helper(m, 1), |f, v, _| store(f, v, arg(0))).unwrap();
let text = body_text(&e);
assert!(text.contains("store i32 zeroinitializer, %a0"), "{text}");
// The inliner's own refusals come first: a call cycle through the entry (the kernel `k`,
// defined next).
// The inliner's refusals stand: a call cycle through the entry (the kernel `k`, defined
// next).
let recursive = |m: &mut ModuleBuilder| {
let void = m.void();
let dev = m.ptr(AddrSpace::Device);
@@ -2889,7 +3091,7 @@ fn the_entry_block_refusal_defers_what_it_does_not_decide() {
};
assert_eq!(u.feature, Feature::Recursion);
// An earlier `BadValue` in the block is SCCP's first refusal.
// So does SCCP's: a `BadValue` in the block.
let err = entry_block(
|m| wide_helper(m, 1),
|f, v, _| {
-5
View File
@@ -809,11 +809,6 @@ pub enum Feature {
/// An input the request did not supply.
#[derive(Clone, Debug, PartialEq, Eq, Hash)]
pub enum MissingInput {
/// A value use of an unsupplied function constant survived SCCP.
FunctionConstant {
/// The constant's index.
index: u32,
},
/// A call through a visible-function reference (`!air.visible_function_references`)
/// survived specialization, and no linked function has the name it references. `symbol` is that
/// name.
@@ -0,0 +1,119 @@
// What plain Metal reads for a function constant the function's constant values leave undefined:
// read directly, of each scalar and vector type, and through program-scope constants derived from
// it (which Metal's compiler computes in the module's static initializer), for a constant Metal
// reports required and for one it reports optional (read guarded somewhere as well).
//
// Measured on an Apple M3 Max under macOS 27.0.1, `MTL_DEBUG_LAYER` out of the environment, one
// case a process; docs/API.md's accepted differences ("Function constants") quote the answers.
//
// Build (no cargo target needed):
// clang -fobjc-arc -O1 -fmodules -o undefined_function_constant_values \
// undefined_function_constant_values.m -framework Foundation -framework Metal
//
// Cases: `set0` and `set1` (`newFunctionWithName:constantValues:` with constant 17, `b_set`,
// false or true, every other constant undefined), `none` (`newFunctionWithName:`). Each prints
// every constant's `required`, the pipeline's creation, and the 20 words the kernel stores
// (the buffer is filled with 0xAB first). Case `gate` makes kernel `kg`, whose buffer 1 is gated
// on `!g_flag` and on `g_flag` (buffers 1 and 2) with `g_flag` undefined, and prints the buffers
// its pipeline's reflection binds and the words it stores.
#import <Foundation/Foundation.h>
#import <Metal/Metal.h>
#include <stdio.h>
#include <string.h>
static const char *SRC =
"#include <metal_stdlib>\nusing namespace metal;\n"
"constant uchar u_req [[function_constant(10)]];\n"
"constant uchar u_opt [[function_constant(11)]];\n"
"constant int i_req [[function_constant(12)]];\n"
"constant float f_req [[function_constant(13)]];\n"
"constant half h_req [[function_constant(14)]];\n"
"constant bool b_req [[function_constant(15)]];\n"
"constant ushort2 v_req [[function_constant(16)]];\n"
"constant bool b_set [[function_constant(17)]];\n"
"constant bool d_or = b_set || ((u_opt | u_req) != 0);\n"
"constant uchar d_add = u_opt + 3;\n"
"constant bool d_def = is_function_constant_defined(u_opt);\n"
"constant bool d_gt = b_set || (u_opt > 1);\n"
"kernel void k(device uint *out [[buffer(0)]], uint t [[thread_position_in_grid]]) {\n"
" if (t != 0) return;\n"
" out[0] = u_req; out[1] = u_opt; out[2] = as_type<uint>(i_req); out[3] = as_type<uint>(f_req);\n"
" out[4] = as_type<ushort>(h_req); out[5] = b_req; out[6] = v_req.x; out[7] = v_req.y;\n"
" out[8] = d_or; out[9] = d_add; out[10] = d_def; out[11] = d_gt; out[12] = b_set;\n"
" out[13] = u_opt * 7 + 1; out[14] = u_opt == 0 ? 111 : 222; out[15] = i_req < 5 ? 1 : 2;\n"
" out[16] = f_req == 0.0f ? 1 : 2; out[17] = isnan(f_req) ? 1 : 2;\n"
" out[18] = is_function_constant_defined(u_opt) ? u_opt : 99; out[19] = b_req ? 5 : 6;\n"
"}\n"
"constant bool g_flag [[function_constant(20)]];\n"
"constant bool g_not = !g_flag;\n"
"kernel void kg(device uint *out [[buffer(0)]], device uint *on_not [[buffer(1), function_constant(g_not)]],\n"
" device uint *on_flag [[buffer(2), function_constant(g_flag)]], uint t [[thread_position_in_grid]]) {\n"
" if (t != 0) return;\n"
" out[0] = g_not ? on_not[0] : 2; out[1] = g_flag ? on_flag[0] : 4; out[2] = g_not; out[3] = g_flag;\n"
"}\n";
int main(int argc, char **argv) {
if (argc < 2) return 2;
const char *c = argv[1];
@autoreleasepool {
printf("RESULT case=%s debug_layer=%s\n", c, getenv("MTL_DEBUG_LAYER") ? getenv("MTL_DEBUG_LAYER") : "unset");
id<MTLDevice> D = MTLCreateSystemDefaultDevice();
id<MTLCommandQueue> Q = [D newCommandQueue];
NSError *e = nil;
id<MTLLibrary> L = [D newLibraryWithSource:[NSString stringWithUTF8String:SRC] options:nil error:&e];
if (!L) { printf("RESULT library error %s\n", e.localizedDescription.UTF8String); return 1; }
if (strcmp(c, "gate") == 0) {
MTLFunctionConstantValues *v = [MTLFunctionConstantValues new];
id<MTLFunction> g = [L newFunctionWithName:@"kg" constantValues:v error:&e];
if (!g) { printf("RESULT function error %s\n", e.localizedDescription.UTF8String); return 0; }
MTLComputePipelineReflection *r = nil;
id<MTLComputePipelineState> ps = [D newComputePipelineStateWithFunction:g options:MTLPipelineOptionBindingInfo reflection:&r error:&e];
if (!ps) { printf("RESULT pipeline error %s\n", e.localizedDescription.UTF8String); return 0; }
for (id<MTLBinding> b in r.bindings) printf("RESULT binding %s index=%lu used=%d\n", b.name.UTF8String, (unsigned long)b.index, b.used);
id<MTLBuffer> out = [D newBufferWithLength:64 options:MTLResourceStorageModeShared];
id<MTLBuffer> one = [D newBufferWithLength:64 options:MTLResourceStorageModeShared];
id<MTLBuffer> two = [D newBufferWithLength:64 options:MTLResourceStorageModeShared];
memset(out.contents, 0xAB, 64); ((uint32_t *)one.contents)[0] = 111; ((uint32_t *)two.contents)[0] = 222;
id<MTLCommandBuffer> cb = [Q commandBuffer];
id<MTLComputeCommandEncoder> ce = [cb computeCommandEncoder];
[ce setComputePipelineState:ps];
[ce setBuffer:out offset:0 atIndex:0]; [ce setBuffer:one offset:0 atIndex:1]; [ce setBuffer:two offset:0 atIndex:2];
[ce dispatchThreads:MTLSizeMake(1, 1, 1) threadsPerThreadgroup:MTLSizeMake(1, 1, 1)];
[ce endEncoding]; [cb commit]; [cb waitUntilCompleted];
const uint32_t *w = out.contents;
printf("RESULT status=%ld words %08x %08x %08x %08x\n", (long)cb.status, w[0], w[1], w[2], w[3]);
return 0;
}
id<MTLFunction> plain = [L newFunctionWithName:@"k"];
NSArray *keys = [plain.functionConstantsDictionary.allKeys sortedArrayUsingSelector:@selector(compare:)];
for (NSString *k in keys) {
MTLFunctionConstant *fc = plain.functionConstantsDictionary[k];
printf("RESULT constant %lu %s type=%ld required=%d\n", (unsigned long)fc.index, fc.name.UTF8String, (long)fc.type, fc.required);
}
id<MTLFunction> f = plain;
if (strcmp(c, "none") != 0) {
MTLFunctionConstantValues *v = [MTLFunctionConstantValues new];
BOOL b = strcmp(c, "set1") == 0;
[v setConstantValue:&b type:MTLDataTypeBool atIndex:17];
f = [L newFunctionWithName:@"k" constantValues:v error:&e];
if (!f) { printf("RESULT function error %s\n", e.localizedDescription.UTF8String); return 0; }
}
id<MTLComputePipelineState> ps = [D newComputePipelineStateWithFunction:f error:&e];
if (!ps) { printf("RESULT pipeline error %s\n", e.localizedDescription.UTF8String); return 0; }
id<MTLBuffer> out = [D newBufferWithLength:256 options:MTLResourceStorageModeShared];
memset(out.contents, 0xAB, 256);
id<MTLCommandBuffer> cb = [Q commandBuffer];
id<MTLComputeCommandEncoder> ce = [cb computeCommandEncoder];
[ce setComputePipelineState:ps];
[ce setBuffer:out offset:0 atIndex:0];
[ce dispatchThreads:MTLSizeMake(1, 1, 1) threadsPerThreadgroup:MTLSizeMake(1, 1, 1)];
[ce endEncoding];
[cb commit];
[cb waitUntilCompleted];
printf("RESULT status=%ld\n", (long)cb.status);
const uint32_t *w = out.contents;
printf("RESULT words");
for (int i = 0; i < 20; i++) printf(" %08x", w[i]);
printf("\n");
}
return 0;
}
@@ -1517,10 +1517,9 @@ mod tests {
};
compile_pipeline(&[&vector], &request, &device, None).map(|c| c.pipeline)
};
// Undefined, the constant reads its type's zero: Metal makes this pipeline too.
match kernel(FunctionConstantValues::defaults()) {
Err(PipelineCompileError::Product(Error::NeedsInput(
RuntimeInput::FunctionConstant { index: 0 },
))) => {}
Ok(AcceptancePipeline::Compute(_)) => {}
other => panic!("{other:?}"),
}
let lanes = [1u32, 2, 3, 4].iter().flat_map(|lane| lane.to_le_bytes());
+9 -8
View File
@@ -561,8 +561,9 @@ pub(crate) fn case_constants(
}
/// An omitted function constant is undefined in the pipeline. The case is valid only when no
/// value use of it survives specialization: the AIR layer's canonicalization proves that, or names
/// the constant a use needs. Any other refusal leaves it unproven.
/// value use of it survives specialization: the AIR layer's canonicalization names each undefined
/// constant whose value the specialized body reads (`Entry::undefined_reads`). A refusal leaves it
/// unproven.
fn omitted_constants_error(
module: &metal2vulkan_air::ir::Module,
abi: &metal2vulkan_air::abi::AirAbi,
@@ -579,12 +580,12 @@ fn omitted_constants_error(
match metal2vulkan_air::canon::specialize(module.clone(), abi, &request, &mut meter)
.map_err(metal2vulkan::error::Error::from)
{
Ok(_) => None,
Err(metal2vulkan::error::Error::NeedsInput(
metal2vulkan::error::RuntimeInput::FunctionConstant { index },
)) => Some(format!(
"function constant {index} is omitted, but a value use of it survives specialization"
)),
Ok(entry) => entry.undefined_reads.first().map(|index| {
format!(
"function constant {index} is omitted, but a value use of it survives \
specialization"
)
}),
Err(error) => Some(format!(
"cannot validate omitted function-constant values: {error}"
)),
@@ -276,7 +276,7 @@ mod tests {
vec![vec![ray_query.clone()], vec![device_address.clone()]],
)
.into(),
Error::NeedsInput(RuntimeInput::FunctionConstant { index: 0 }),
Error::NeedsInput(RuntimeInput::VertexDescriptor { attribute: 0 }),
Error::Cancelled,
];
for error in &in_scope {
+3 -6
View File
@@ -441,10 +441,7 @@ impl From<&Error> for Outcome {
}
}
Error::NeedsInput(input) => Outcome::NeedsInput {
kind: match input {
RuntimeInput::FunctionConstant { .. } => "function_constant".into(),
other => bounded(variant_path(&format!("{other:?}"), 1)),
},
kind: bounded(variant_path(&format!("{input:?}"), 1)),
},
Error::InvalidInput(e) => Outcome::InvalidInput {
kind: variant_path(&format!("{:?}", e.kind), 2),
@@ -1299,9 +1296,9 @@ mod tests {
"Int64Atomics needs Feature(ShaderInt64)",
),
(
Error::NeedsInput(RuntimeInput::FunctionConstant { index: 3 }),
Error::NeedsInput(RuntimeInput::VertexDescriptor { attribute: 3 }),
"needs_input",
"function_constant",
"VertexDescriptor",
),
(
Error::InvalidDescriptor(DescriptorError::EntryNotFound {
@@ -437,12 +437,6 @@ impl<'a> Derivation<'a> {
return Err("the compile asked again for an input the audit derived".into());
}
let supplied = match input {
RuntimeInput::FunctionConstant { index } => {
return Err(Unsupplied::Why(format!(
"constant {index} is undefined in this set: the set is what the audit \
measures"
)))
}
RuntimeInput::StageInputDescriptor { .. } => {
let (_, interface) = self.interface()?;
let fetches = stage_inputs::implied(interface)?;
@@ -896,8 +890,8 @@ mod tests {
RowPlan::of(&decoded, entry, &[])
}
/// A kernel whose code uses a required constant's value stops at it undefined, with the
/// reason; every planned set supplies it, and the set of ones translates.
/// A kernel whose code uses a required constant's value translates with it undefined, as Metal
/// makes it; every planned set supplies it, and the set of ones translates.
#[test]
fn a_required_constant_is_supplied_by_every_planned_set() {
let Some(bitcode) = bitcode(fixtures_dir().join("kernel_function_constant_gate_fold.ll"))
@@ -911,14 +905,11 @@ mod tests {
"vk12-floor",
);
assert_eq!(
undefined.attempt.outcome.key(),
"function_constant",
undefined.attempt.outcome,
Outcome::Translated,
"{undefined:?}"
);
assert!(undefined
.unsupplied
.as_deref()
.is_some_and(|why| why.contains("constant 0 is undefined in this set")));
assert!(undefined.unsupplied.is_none(), "{undefined:?}");
let row = row_plan(&bitcode, "fcfold");
assert_eq!(row.facts.declared, 1);
assert_eq!(row.facts.optional, 0);
@@ -927,11 +918,6 @@ mod tests {
assert_eq!(row.specializations.len(), 2, "{row:#?}");
for set in &row.specializations {
let result = attempt(&bitcode, "fcfold", &set.values(), "vk12-floor");
assert_ne!(
result.attempt.outcome.key(),
"function_constant",
"{result:?}"
);
if set.kinds.contains(&SpecKind::One) {
assert_eq!(result.attempt.outcome, Outcome::Translated, "{result:?}");
}
+7 -9
View File
@@ -233,21 +233,19 @@ pub fn main() -> Result<()> {
bytes.len()
);
// 7. A pipeline input the compile asks for: a function-constant value.
// 7. A function-constant value, supplied by index. A constant left undefined compiles too, as
// Metal's does: `is_function_constant_defined` names it false, and a value of it alone is zero.
let library = Library::from_air(&fixture_bitcode("kernel_vector_function_constant")?)?;
let function = library.function("kernel_vector_function_constant")?;
let mut kernel = FunctionDescriptor::new(function);
let descriptor = ComputePipelineDescriptor::new(StageSource::Function(kernel.clone()));
match device.compile_compute_pipeline(&descriptor, &budget) {
Err(Error::NeedsInput(RuntimeInput::FunctionConstant { index })) => {
let words = [1u32, 2, 3, 4].map(u32::to_le_bytes).concat();
let value = FunctionConstantValue::new(DataType::UInt4, words);
kernel.constants = FunctionConstantValues::defaults().with_index(index, value);
}
other => return Err(format!("expected a function-constant request: {other:?}").into()),
}
let undefined = device.compile_compute_pipeline(&descriptor, &budget)?;
let words = [1u32, 2, 3, 4].map(u32::to_le_bytes).concat();
let value = FunctionConstantValue::new(DataType::UInt4, words);
kernel.constants = FunctionConstantValues::defaults().with_index(0, value);
let descriptor = ComputePipelineDescriptor::new(StageSource::Function(kernel));
let specialized = device.compile_compute_pipeline(&descriptor, &budget)?;
assert_ne!(undefined.key, specialized.key);
println!("function constant supplied: {:?}", specialized.key);
// 8. A typed refusal: fragment function `sample_min_lod` clamps its level of detail, which
+1 -1
View File
@@ -60,7 +60,7 @@ mod tests;
/// unchanged version, and its bless records the version. Independent of the crate's version and of
/// [`ARTIFACT_FORMAT_VERSION`]. The commit that bumps it says what changed; this comment keeps no
/// history.
pub const SEMANTICS_VERSION: u32 = 1930;
pub const SEMANTICS_VERSION: u32 = 1932;
/// The byte-layout version of encoded artifacts (`CompiledFunction::to_bytes` and the
/// [`PipelineArtifact`] encodings). Every encoded artifact carries it, and a decode under another
-3
View File
@@ -273,7 +273,6 @@ impl From<crate::air::error::Feature> for Feature {
impl From<MissingInput> for RuntimeInput {
fn from(i: MissingInput) -> RuntimeInput {
match i {
MissingInput::FunctionConstant { index } => RuntimeInput::FunctionConstant { index },
MissingInput::LinkedFunction { symbol } => RuntimeInput::LinkedFunction { symbol },
MissingInput::DynamicSymbol { symbol } => RuntimeInput::DynamicSymbol { symbol },
MissingInput::DynamicLibrary { install_name } => {
@@ -1622,8 +1621,6 @@ pub enum LowerFamily {
#[non_exhaustive]
#[derive(Clone, Debug, PartialEq, Eq, Hash)]
pub enum RuntimeInput {
/// A value use of an unsupplied function constant survived SCCP.
FunctionConstant { index: u32 },
/// The format of a storage texture on a profile that cannot access it without one: the
/// slot's `StorageImageChoice`.
StorageTextureFormat { slot: SlotRef },
+7 -3
View File
@@ -24,7 +24,7 @@ fn one_of_each() -> Vec<Error> {
Feature::IndirectRenderState,
1010,
)),
Error::NeedsInput(RuntimeInput::FunctionConstant { index: 3 }),
Error::NeedsInput(RuntimeInput::VertexDescriptor { attribute: 3 }),
Error::InvalidInput(InputError::new(
InputErrorKind::Container(ContainerError::BadMagic),
Location::container(0),
@@ -291,8 +291,12 @@ fn front_end_errors_map_one_to_one() {
),
),
(
Air::NeedsInput(MissingInput::FunctionConstant { index: 3 }),
Error::NeedsInput(RuntimeInput::FunctionConstant { index: 3 }),
Air::NeedsInput(MissingInput::LinkedFunction {
symbol: DiagName::new("g"),
}),
Error::NeedsInput(RuntimeInput::LinkedFunction {
symbol: DiagName::new("g"),
}),
),
(
Air::InvalidRequest(RequestError::DuplicateFunctionConstant { index: 1 }),
+4 -3
View File
@@ -703,9 +703,10 @@ pub struct FunctionConstant {
}
/// Function-constant values supplied with a function (`MTLFunctionConstantValues`), by index or by
/// name. A constant with no value is "not defined": `is_function_constant_defined` folds to false
/// and arguments gated on it are absent; a surviving value use is
/// `Error::NeedsInput(FunctionConstant)`.
/// name. A constant with no value is "not defined": `is_function_constant_defined` folds to false,
/// arguments gated on it are absent, a branch or `select` on it takes its false way, and a value
/// computed from it alone is its type's zero. Plain Metal makes such a function's pipeline too, and
/// its own reads of the constant vary from read to read (docs/API.md, "Accepted differences").
#[non_exhaustive]
#[derive(Clone, Debug, Default, PartialEq, Eq, Hash)]
#[cfg_attr(feature = "serde", derive(serde::Serialize, serde::Deserialize))]
@@ -164,6 +164,7 @@ fn entry(module: Module, func: FuncId, roles: Vec<ParamRole>) -> Entry {
unnumbered_linked_samplers: false,
intersection_candidates: false,
function_constants: false,
undefined_reads: Vec::new(),
function_tables: Default::default(),
lockstep: Default::default(),
call_stack: None,
-3
View File
@@ -420,9 +420,6 @@ fn constant_values(constants: &[(String, FunctionConstantValue)]) -> FunctionCon
/// A compile error as a failure, naming the option that supplies a missing pipeline input.
fn refusal(error: Error) -> Failure {
let hint = match &error {
Error::NeedsInput(RuntimeInput::FunctionConstant { index }) => {
format!("; supply it with --constant {index}:TYPE:VALUE")
}
Error::NeedsInput(RuntimeInput::StageInputDescriptor { .. }) => {
"; supply a stage-input descriptor with --stage-input".to_string()
}
@@ -154,6 +154,7 @@ fn entry(
unnumbered_linked_samplers: false,
intersection_candidates: false,
function_constants: false,
undefined_reads: Vec::new(),
function_tables: Default::default(),
lockstep: Default::default(),
call_stack: None,
@@ -267,7 +267,6 @@ fn every_fixture_kernel_answers_and_agrees_with_its_reflection() {
let mut answered = 0;
let mut compared = 0;
let mut refused_reflections = 0;
let mut unspecialized = 0;
// The recorded fixtures, then the synthetic kernel whose argument type refuses a reflection:
// the fixtures state the agreement over shapes Metal's answers are recorded for, and the
// synthetic one makes the refused leg run, since no recorded fixture kernel refuses.
@@ -312,9 +311,8 @@ fn every_fixture_kernel_answers_and_agrees_with_its_reflection() {
ComputePipelineDescriptor::new(StageSource::Function(FunctionDescriptor::new(f)));
let writes = match kernel.slot_writes(&Budget::standard()) {
Ok(writes) => writes,
// A function whose constants no caller gave a required value for: no pipeline of
// it compiles, and the reflection refuses it too. What must never happen is a
// refusal over a reflection gap, which is what this asserts.
// A function no pipeline of compiles: the reflection refuses it too. What must
// never happen is a refusal over a reflection gap, which is what this asserts.
Err(error) => {
assert!(
!matches!(&error, Error::Unsupported(u) if u.feature == Feature::Reflection),
@@ -324,7 +322,6 @@ fn every_fixture_kernel_answers_and_agrees_with_its_reflection() {
kernel.reflection(&Budget::standard()).is_err(),
"{at}: refused where the reflection answers: {error:?}"
);
unspecialized += 1;
continue;
}
};
@@ -379,11 +376,6 @@ fn every_fixture_kernel_answers_and_agrees_with_its_reflection() {
}
}
assert!(answered >= 20, "{answered} kernels answered");
assert!(
unspecialized > 0,
"no kernel needed a constant value, so the leg that proves such a refusal is not a \
reflection gap never ran"
);
assert!(compared >= 40, "{compared} bindings compared");
assert!(
refused_reflections > 0,
+8 -13
View File
@@ -10,7 +10,7 @@
use std::path::{Path, PathBuf};
use std::process::Command;
use crate::air::error::{Error, MissingInput};
use crate::air::error::Error;
use crate::air::ir::print::print;
use crate::air::{decode, specialize, ConstValue, Decoded, Entry, SpecRequest};
use crate::budget::{Budget, Meter};
@@ -293,8 +293,8 @@ fn the_order_of_declarations_reaches_no_specialized_module() {
}
/// The frontend's function-constant shape copies the constant into an internal global in
/// `air.static_init`. With no value, the kernel's branch on the copy needs the constant; with one,
/// the static initializer bakes the copy and SCCP folds every branch on it.
/// `air.static_init`. With no value, the copy is undefined and the kernel's branch on it takes its
/// false way; with one, the static initializer bakes the copy and SCCP folds every branch on it.
#[test]
fn a_static_initializer_fixture_specializes_with_its_constant() {
let Some(tool) = llvm_as() else {
@@ -304,10 +304,8 @@ fn a_static_initializer_fixture_specializes_with_its_constant() {
let scratch = Scratch::new("m2v-air-canon");
let ll = fixtures_dir().join("kernel_function_constant_gate_fold.ll");
let bytes = llvm_assemble(&tool, &ll, &scratch).unwrap();
assert_eq!(
spec(&bytes, "fcfold").unwrap_err(),
Error::NeedsInput(MissingInput::FunctionConstant { index: 0 })
);
let undefined = print(&spec(&bytes, "fcfold").unwrap().module);
assert!(!undefined.contains("switch"), "{undefined}");
let mut m = meter();
let r = SpecRequest {
call_stack_depth: 1,
@@ -332,8 +330,8 @@ fn a_static_initializer_fixture_specializes_with_its_constant() {
/// A `uint4` function constant in the frontend's shape (the compiled
/// `engine/kernel_vector_function_constant`): an `air.fc_initializer` global that
/// `!air.function_constants` names, copied into a program-scope constant by `air.static_init`.
/// With no value the entry needs the constant; with one, both spellings bake the copy and fold
/// the sum of its lanes into the store.
/// With no value the copy is undefined and the entry specializes; with one, both spellings bake
/// the copy and fold the sum of its lanes into the store.
#[test]
fn a_vector_function_constant_bakes_through_the_static_initializer() {
let Some(tool) = llvm_as() else {
@@ -355,10 +353,7 @@ fn a_vector_function_constant_bakes_through_the_static_initializer() {
.collect();
let mut printed = Vec::new();
for bytes in &spellings {
assert_eq!(
spec(bytes, entry).unwrap_err(),
Error::NeedsInput(MissingInput::FunctionConstant { index: 0 })
);
spec(bytes, entry).unwrap();
let mut m = meter();
let r = SpecRequest {
call_stack_depth: 1,
@@ -1,5 +1,5 @@
//! A function constant reached through any pointer path is the same constant: omitted, it needs a
//! value wherever its use survives; supplied, its value is what the shader reads.
//! A function constant reached through any pointer path is the same constant: omitted, it is
//! undefined and the function compiles; supplied, its value is what the shader reads.
//!
//! The old engine's `tests/function_constant_pointers.rs` (deleted with it in 0.2.0) pinned this
//! for the paths a front end and
@@ -7,10 +7,10 @@
//! takes the constant's address, and an address kept in a private slot. Before, a path the
//! specializer did not follow left the load in place and the module read an undefined constant.
//! The engine specializes in `air::canon`, whose own tests use a direct load
//! (`a_surviving_value_use_of_an_unsupplied_constant_needs_input`); these tests run each path
//! (`a_surviving_value_of_an_unsupplied_constant_is_zero`); these tests run each path
//! through the public API:
//!
//! - Without a value, each path is `NeedsInput(FunctionConstant { index: 7 })`.
//! - Without a value, each path compiles.
//! - With the values 0 and 29, each path compiles, and what the two compiles read differs. Four
//! paths fold the value into the module's words. The address kept in a private slot does not
//! fold: the module reads the constant through the constant blob, whose bytes carry the supplied
@@ -27,7 +27,7 @@ use std::path::Path;
use std::sync::atomic::{AtomicUsize, Ordering};
use crate::device::{Device, DeviceDescription, DevicePolicy};
use crate::error::{Error, RuntimeInput};
use crate::error::Error;
use crate::library::{FunctionConstantValue, FunctionConstantValues, Library};
use crate::metal::DataType;
use crate::pipeline::testing::{link_standalone, llvm_assemble, AssembleError};
@@ -175,15 +175,14 @@ fn compile(bitcode: &[u8], device: &Device, values: Option<&[u32]>) -> Result<Ou
}
#[test]
fn every_pointer_path_needs_the_omitted_constant_and_reads_the_supplied_one() {
fn every_pointer_path_compiles_the_omitted_constant_and_reads_the_supplied_one() {
let device = device();
for (label, body, helper) in PATHS {
let Some(bitcode) = assemble(&source(2, body, helper)) else {
return;
};
match compile(&bitcode, &device, None) {
Err(Error::NeedsInput(RuntimeInput::FunctionConstant { index: 7 })) => {}
other => panic!("{label}: an omitted constant must need its value: {other:?}"),
if let Err(e) = compile(&bitcode, &device, None) {
panic!("{label}: an omitted constant is undefined, not refused: {e:?}");
}
let outputs: Vec<Output> = [0u32, 29]
.iter()
+1 -2
View File
@@ -1527,6 +1527,7 @@ field metal2vulkan-air::Entry.lockstep pub lockstep: Lockstep
field metal2vulkan-air::Entry.module pub module: Module
field metal2vulkan-air::Entry.static_samplers pub static_samplers: Vec<(GlobalId, SamplerState)>
field metal2vulkan-air::Entry.structs pub structs: Vec<StructInfo>
field metal2vulkan-air::Entry.undefined_reads pub undefined_reads: Vec<u32>
field metal2vulkan-air::Entry.unmeasured_speculation pub unmeasured_speculation: bool
field metal2vulkan-air::Entry.unnumbered_linked_samplers pub unnumbered_linked_samplers: bool
field metal2vulkan-air::LinkedCode.abi pub abi: AirAbi
@@ -10277,7 +10278,6 @@ variant metal2vulkan-air::error::LinkProblem::NotVisible NotVisible
variant metal2vulkan-air::error::LinkProblem::Signature Signature
variant metal2vulkan-air::error::MissingInput::DynamicLibrary DynamicLibrary { install_name: DiagName }
variant metal2vulkan-air::error::MissingInput::DynamicSymbol DynamicSymbol { symbol: DiagName }
variant metal2vulkan-air::error::MissingInput::FunctionConstant FunctionConstant { index: u32 }
variant metal2vulkan-air::error::MissingInput::LinkedFunction LinkedFunction { symbol: DiagName }
variant metal2vulkan-air::error::RequestError::AmbiguousEntry AmbiguousEntry { requested: DiagName }
variant metal2vulkan-air::error::RequestError::DuplicateColorOutput DuplicateColorOutput { color: u32, index: u32 }
@@ -13274,7 +13274,6 @@ variant metal2vulkan::error::RuntimeInput::DepthCompareClamp DepthCompareClamp
variant metal2vulkan::error::RuntimeInput::DynamicLibrary DynamicLibrary { install_name: DiagName }
variant metal2vulkan::error::RuntimeInput::DynamicSymbol DynamicSymbol { symbol: DiagName }
variant metal2vulkan::error::RuntimeInput::FramebufferFetch FramebufferFetch
variant metal2vulkan::error::RuntimeInput::FunctionConstant FunctionConstant { index: u32 }
variant metal2vulkan::error::RuntimeInput::LinkedFunction LinkedFunction { symbol: DiagName }
variant metal2vulkan::error::RuntimeInput::Multisampled Multisampled
variant metal2vulkan::error::RuntimeInput::ObjectPayload ObjectPayload
Can't render this file because it is too large.
+28 -28
View File
@@ -937,13 +937,13 @@ engine/gsm2_cubic_samplers.ll 4e1e19e0abc2181d gsm2_cubic_half_samples 0b9c567fe
engine/gsm2_cubic_samplers.ll 4e1e19e0abc2181d gsm2_cubic_samples dcead7ca04b354a9 dcead7ca04b354a9 dcead7ca04b354a9 dcead7ca04b354a9 dcead7ca04b354a9 dcead7ca04b354a9 f7f2ef46999f144d f7f2ef46999f144d f7f2ef46999f144d f7f2ef46999f144d dcead7ca04b354a9 9d55e0071ef674f1 d5314bace4a70cbd 27c5710d5f5321b9 f7f2ef46999f144d f7f2ef46999f144d 9d55e0071ef674f1 9d55e0071ef674f1 9d55e0071ef674f1
engine/gsm2_fill_moduli.air.ll c0c8e5c8dd6d1e3c fill_constant_moduli 1c39e3812e2a69b7 1c39e3812e2a69b7 1c39e3812e2a69b7 1c39e3812e2a69b7 4fee35ffe86f4642 4fee35ffe86f4642 1c39e3812e2a69b7 1c39e3812e2a69b7 1c39e3812e2a69b7 1c39e3812e2a69b7 4fee35ffe86f4642 4fee35ffe86f4642 1c39e3812e2a69b7 038a7926d60d2b5c 1c39e3812e2a69b7 1c39e3812e2a69b7 4fee35ffe86f4642 4fee35ffe86f4642 4fee35ffe86f4642
engine/gsm2_fill_moduli.air.ll c0c8e5c8dd6d1e3c fill_constant_moduli_in_a_vertex_function dd92e9c077edfee3 dd92e9c077edfee3 dd92e9c077edfee3 dd92e9c077edfee3 Unsupported{SubgroupOperations; AnyOf[[Property(SubgroupStage(Vertex))]]} Unsupported{SubgroupOperations; AnyOf[[Property(SubgroupStage(Vertex))]]} b607f6bf137a60dd b607f6bf137a60dd b607f6bf137a60dd b607f6bf137a60dd Unsupported{SubgroupOperations; AnyOf[[Property(SubgroupStage(Vertex))]]} Unsupported{SubgroupOperations; AnyOf[[Property(SubgroupStage(Vertex))]]} b9fd9b4b7089e4e7 9135cf1a4b14a114 b607f6bf137a60dd b607f6bf137a60dd Unsupported{StageStoresAndAtomics; AnyOf[[Feature(VertexPipelineStoresAndAtomics)]]} ba21070e4b0b561b Unsupported{StageStoresAndAtomics; AnyOf[[Feature(VertexPipelineStoresAndAtomics)]]}
engine/gsm2_fill_moduli.air.ll c0c8e5c8dd6d1e3c fill_function_constant_modulo NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }}
engine/gsm2_fill_moduli.air.ll c0c8e5c8dd6d1e3c fill_function_constant_modulo 16bd0ff4d5a29483 16bd0ff4d5a29483 16bd0ff4d5a29483 16bd0ff4d5a29483 63c1ca6cc378c632 63c1ca6cc378c632 16bd0ff4d5a29483 16bd0ff4d5a29483 16bd0ff4d5a29483 16bd0ff4d5a29483 63c1ca6cc378c632 63c1ca6cc378c632 16bd0ff4d5a29483 fcbed3da9db91181 16bd0ff4d5a29483 16bd0ff4d5a29483 63c1ca6cc378c632 63c1ca6cc378c632 63c1ca6cc378c632
engine/gsm2_fill_moduli.air.ll c0c8e5c8dd6d1e3c fill_runtime_moduli 809f38118df77e18 809f38118df77e18 809f38118df77e18 809f38118df77e18 ecd7c7b7cdd9d408 ecd7c7b7cdd9d408 56943980b30a45a8 56943980b30a45a8 56943980b30a45a8 56943980b30a45a8 ecd7c7b7cdd9d408 b03ca8bb72cface7 809f38118df77e18 00c679e85ce35b94 56943980b30a45a8 56943980b30a45a8 b03ca8bb72cface7 b03ca8bb72cface7 b03ca8bb72cface7
engine/gsm2_fill_moduli.air.ll c0c8e5c8dd6d1e3c fragment_fill_constant_moduli 32c6cd00721aea9a 32c6cd00721aea9a 32c6cd00721aea9a 32c6cd00721aea9a 02b7f9fe4ca14883 02b7f9fe4ca14883 32c6cd00721aea9a 32c6cd00721aea9a 32c6cd00721aea9a 32c6cd00721aea9a 02b7f9fe4ca14883 Unsupported{SubgroupOperations; AnyOf[[Property(SubgroupOperation(Ballot)), Property(SubgroupOperation(Shuffle))]]} 02a1ebeeeb82740f Unsupported{SubgroupOperations; AnyOf[[Feature(ShaderQuadControl)]]} 32c6cd00721aea9a 32c6cd00721aea9a Unsupported{SubgroupOperations; AnyOf[[Feature(ShaderQuadControl)]]} Unsupported{SubgroupOperations; AnyOf[[Feature(ShaderQuadControl)]]} Unsupported{SubgroupOperations; AnyOf[[Property(SubgroupStage(Fragment))]]}
engine/gsm2_fill_moduli.air.ll c0c8e5c8dd6d1e3c quad_fills_in_a_vertex_function a91a2f5f0b3aa518 a91a2f5f0b3aa518 a91a2f5f0b3aa518 a91a2f5f0b3aa518 Unsupported{SubgroupOperations; AnyOf[[Property(SubgroupStage(Vertex))]]} Unsupported{SubgroupOperations; AnyOf[[Property(SubgroupStage(Vertex))]]} dcb53c7b163874be dcb53c7b163874be dcb53c7b163874be dcb53c7b163874be Unsupported{SubgroupOperations; AnyOf[[Property(SubgroupStage(Vertex))]]} Unsupported{SubgroupOperations; AnyOf[[Property(SubgroupStage(Vertex))]]} a82bf486a3cda21a 1f468ed76495080c dcb53c7b163874be dcb53c7b163874be Unsupported{StageStoresAndAtomics; AnyOf[[Feature(VertexPipelineStoresAndAtomics)]]} 20d82ef6d0f8efcd Unsupported{StageStoresAndAtomics; AnyOf[[Feature(VertexPipelineStoresAndAtomics)]]}
engine/gsm2_fill_moduli.ll 3593b8ca9529c878 fill_constant_moduli 1c39e3812e2a69b7 1c39e3812e2a69b7 1c39e3812e2a69b7 1c39e3812e2a69b7 4fee35ffe86f4642 4fee35ffe86f4642 1c39e3812e2a69b7 1c39e3812e2a69b7 1c39e3812e2a69b7 1c39e3812e2a69b7 4fee35ffe86f4642 4fee35ffe86f4642 1c39e3812e2a69b7 038a7926d60d2b5c 1c39e3812e2a69b7 1c39e3812e2a69b7 4fee35ffe86f4642 4fee35ffe86f4642 4fee35ffe86f4642
engine/gsm2_fill_moduli.ll 3593b8ca9529c878 fill_constant_moduli_in_a_vertex_function dd92e9c077edfee3 dd92e9c077edfee3 dd92e9c077edfee3 dd92e9c077edfee3 Unsupported{SubgroupOperations; AnyOf[[Property(SubgroupStage(Vertex))]]} Unsupported{SubgroupOperations; AnyOf[[Property(SubgroupStage(Vertex))]]} b607f6bf137a60dd b607f6bf137a60dd b607f6bf137a60dd b607f6bf137a60dd Unsupported{SubgroupOperations; AnyOf[[Property(SubgroupStage(Vertex))]]} Unsupported{SubgroupOperations; AnyOf[[Property(SubgroupStage(Vertex))]]} b9fd9b4b7089e4e7 9135cf1a4b14a114 b607f6bf137a60dd b607f6bf137a60dd Unsupported{StageStoresAndAtomics; AnyOf[[Feature(VertexPipelineStoresAndAtomics)]]} ba21070e4b0b561b Unsupported{StageStoresAndAtomics; AnyOf[[Feature(VertexPipelineStoresAndAtomics)]]}
engine/gsm2_fill_moduli.ll 3593b8ca9529c878 fill_function_constant_modulo NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }}
engine/gsm2_fill_moduli.ll 3593b8ca9529c878 fill_function_constant_modulo 16bd0ff4d5a29483 16bd0ff4d5a29483 16bd0ff4d5a29483 16bd0ff4d5a29483 63c1ca6cc378c632 63c1ca6cc378c632 16bd0ff4d5a29483 16bd0ff4d5a29483 16bd0ff4d5a29483 16bd0ff4d5a29483 63c1ca6cc378c632 63c1ca6cc378c632 16bd0ff4d5a29483 fcbed3da9db91181 16bd0ff4d5a29483 16bd0ff4d5a29483 63c1ca6cc378c632 63c1ca6cc378c632 63c1ca6cc378c632
engine/gsm2_fill_moduli.ll 3593b8ca9529c878 fill_runtime_moduli 809f38118df77e18 809f38118df77e18 809f38118df77e18 809f38118df77e18 ecd7c7b7cdd9d408 ecd7c7b7cdd9d408 56943980b30a45a8 56943980b30a45a8 56943980b30a45a8 56943980b30a45a8 ecd7c7b7cdd9d408 b03ca8bb72cface7 809f38118df77e18 00c679e85ce35b94 56943980b30a45a8 56943980b30a45a8 b03ca8bb72cface7 b03ca8bb72cface7 b03ca8bb72cface7
engine/gsm2_fill_moduli.ll 3593b8ca9529c878 fragment_fill_constant_moduli 32c6cd00721aea9a 32c6cd00721aea9a 32c6cd00721aea9a 32c6cd00721aea9a 02b7f9fe4ca14883 02b7f9fe4ca14883 32c6cd00721aea9a 32c6cd00721aea9a 32c6cd00721aea9a 32c6cd00721aea9a 02b7f9fe4ca14883 Unsupported{SubgroupOperations; AnyOf[[Property(SubgroupOperation(Ballot)), Property(SubgroupOperation(Shuffle))]]} 02a1ebeeeb82740f Unsupported{SubgroupOperations; AnyOf[[Feature(ShaderQuadControl)]]} 32c6cd00721aea9a 32c6cd00721aea9a Unsupported{SubgroupOperations; AnyOf[[Feature(ShaderQuadControl)]]} Unsupported{SubgroupOperations; AnyOf[[Feature(ShaderQuadControl)]]} Unsupported{SubgroupOperations; AnyOf[[Property(SubgroupStage(Fragment))]]}
engine/gsm2_fill_moduli.ll 3593b8ca9529c878 quad_fills_in_a_vertex_function a91a2f5f0b3aa518 a91a2f5f0b3aa518 a91a2f5f0b3aa518 a91a2f5f0b3aa518 Unsupported{SubgroupOperations; AnyOf[[Property(SubgroupStage(Vertex))]]} Unsupported{SubgroupOperations; AnyOf[[Property(SubgroupStage(Vertex))]]} dcb53c7b163874be dcb53c7b163874be dcb53c7b163874be dcb53c7b163874be Unsupported{SubgroupOperations; AnyOf[[Property(SubgroupStage(Vertex))]]} Unsupported{SubgroupOperations; AnyOf[[Property(SubgroupStage(Vertex))]]} a82bf486a3cda21a 1f468ed76495080c dcb53c7b163874be dcb53c7b163874be Unsupported{StageStoresAndAtomics; AnyOf[[Feature(VertexPipelineStoresAndAtomics)]]} 20d82ef6d0f8efcd Unsupported{StageStoresAndAtomics; AnyOf[[Feature(VertexPipelineStoresAndAtomics)]]}
@@ -1264,8 +1264,8 @@ engine/kernel_stage_in.ll 7e7482a0b2a896a4 stage_in_fetch NeedsInput{StageInputD
engine/kernel_stage_in.ll 7e7482a0b2a896a4 stage_in_fetch_wide NeedsInput{StageInputDescriptor { attribute: 0 }} NeedsInput{StageInputDescriptor { attribute: 0 }} NeedsInput{StageInputDescriptor { attribute: 0 }} NeedsInput{StageInputDescriptor { attribute: 0 }} NeedsInput{StageInputDescriptor { attribute: 0 }} NeedsInput{StageInputDescriptor { attribute: 0 }} NeedsInput{StageInputDescriptor { attribute: 0 }} NeedsInput{StageInputDescriptor { attribute: 0 }} NeedsInput{StageInputDescriptor { attribute: 0 }} NeedsInput{StageInputDescriptor { attribute: 0 }} NeedsInput{StageInputDescriptor { attribute: 0 }} NeedsInput{StageInputDescriptor { attribute: 0 }} NeedsInput{StageInputDescriptor { attribute: 0 }} NeedsInput{StageInputDescriptor { attribute: 0 }} NeedsInput{StageInputDescriptor { attribute: 0 }} NeedsInput{StageInputDescriptor { attribute: 0 }} NeedsInput{StageInputDescriptor { attribute: 0 }} NeedsInput{StageInputDescriptor { attribute: 0 }} NeedsInput{StageInputDescriptor { attribute: 0 }}
engine/kernel_stage_in.ll 7e7482a0b2a896a4 stage_in_region NeedsInput{StageInputDescriptor { attribute: 0 }} NeedsInput{StageInputDescriptor { attribute: 0 }} NeedsInput{StageInputDescriptor { attribute: 0 }} NeedsInput{StageInputDescriptor { attribute: 0 }} NeedsInput{StageInputDescriptor { attribute: 0 }} NeedsInput{StageInputDescriptor { attribute: 0 }} NeedsInput{StageInputDescriptor { attribute: 0 }} NeedsInput{StageInputDescriptor { attribute: 0 }} NeedsInput{StageInputDescriptor { attribute: 0 }} NeedsInput{StageInputDescriptor { attribute: 0 }} NeedsInput{StageInputDescriptor { attribute: 0 }} NeedsInput{StageInputDescriptor { attribute: 0 }} NeedsInput{StageInputDescriptor { attribute: 0 }} NeedsInput{StageInputDescriptor { attribute: 0 }} NeedsInput{StageInputDescriptor { attribute: 0 }} NeedsInput{StageInputDescriptor { attribute: 0 }} NeedsInput{StageInputDescriptor { attribute: 0 }} NeedsInput{StageInputDescriptor { attribute: 0 }} NeedsInput{StageInputDescriptor { attribute: 0 }}
engine/kernel_stage_in.ll 7e7482a0b2a896a4 stage_in_region_short 1b3b9d4939213599 1b3b9d4939213599 1b3b9d4939213599 1b3b9d4939213599 1b3b9d4939213599 1b3b9d4939213599 1b3b9d4939213599 1b3b9d4939213599 1b3b9d4939213599 1b3b9d4939213599 1b3b9d4939213599 1b3b9d4939213599 1b3b9d4939213599 1b3b9d4939213599 1b3b9d4939213599 1b3b9d4939213599 1b3b9d4939213599 1b3b9d4939213599 1b3b9d4939213599
engine/kernel_vector_function_constant.air.ll daa0a682662c93db kernel_vector_function_constant NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }}
engine/kernel_vector_function_constant.ll f8a0f4b86940b725 kernel_vector_function_constant NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }}
engine/kernel_vector_function_constant.air.ll daa0a682662c93db kernel_vector_function_constant b5a80b98e9ecd67d b5a80b98e9ecd67d b5a80b98e9ecd67d b5a80b98e9ecd67d b5a80b98e9ecd67d b5a80b98e9ecd67d b5a80b98e9ecd67d b5a80b98e9ecd67d b5a80b98e9ecd67d b5a80b98e9ecd67d b5a80b98e9ecd67d b5a80b98e9ecd67d b5a80b98e9ecd67d b5a80b98e9ecd67d b5a80b98e9ecd67d b5a80b98e9ecd67d b5a80b98e9ecd67d b5a80b98e9ecd67d b5a80b98e9ecd67d
engine/kernel_vector_function_constant.ll f8a0f4b86940b725 kernel_vector_function_constant b5a80b98e9ecd67d b5a80b98e9ecd67d b5a80b98e9ecd67d b5a80b98e9ecd67d b5a80b98e9ecd67d b5a80b98e9ecd67d b5a80b98e9ecd67d b5a80b98e9ecd67d b5a80b98e9ecd67d b5a80b98e9ecd67d b5a80b98e9ecd67d b5a80b98e9ecd67d b5a80b98e9ecd67d b5a80b98e9ecd67d b5a80b98e9ecd67d b5a80b98e9ecd67d b5a80b98e9ecd67d b5a80b98e9ecd67d b5a80b98e9ecd67d
engine/linked_mps_callbacks.air.ll 5907415ca9a15a33 linked_mps_callbacks NeedsInput{LinkedFunction { symbol: "prefixSecondary_f" }} NeedsInput{LinkedFunction { symbol: "prefixSecondary_f" }} NeedsInput{LinkedFunction { symbol: "prefixSecondary_f" }} NeedsInput{LinkedFunction { symbol: "prefixSecondary_f" }} NeedsInput{LinkedFunction { symbol: "prefixSecondary_f" }} NeedsInput{LinkedFunction { symbol: "prefixSecondary_f" }} NeedsInput{LinkedFunction { symbol: "prefixSecondary_f" }} NeedsInput{LinkedFunction { symbol: "prefixSecondary_f" }} NeedsInput{LinkedFunction { symbol: "prefixSecondary_f" }} NeedsInput{LinkedFunction { symbol: "prefixSecondary_f" }} NeedsInput{LinkedFunction { symbol: "prefixSecondary_f" }} NeedsInput{LinkedFunction { symbol: "prefixSecondary_f" }} NeedsInput{LinkedFunction { symbol: "prefixSecondary_f" }} NeedsInput{LinkedFunction { symbol: "prefixSecondary_f" }} NeedsInput{LinkedFunction { symbol: "prefixSecondary_f" }} NeedsInput{LinkedFunction { symbol: "prefixSecondary_f" }} NeedsInput{LinkedFunction { symbol: "prefixSecondary_f" }} NeedsInput{LinkedFunction { symbol: "prefixSecondary_f" }} NeedsInput{LinkedFunction { symbol: "prefixSecondary_f" }}
engine/linked_mps_callbacks.ll 4927f9667f3572e7 linked_mps_callbacks NeedsInput{LinkedFunction { symbol: "prefixSecondary_f" }} NeedsInput{LinkedFunction { symbol: "prefixSecondary_f" }} NeedsInput{LinkedFunction { symbol: "prefixSecondary_f" }} NeedsInput{LinkedFunction { symbol: "prefixSecondary_f" }} NeedsInput{LinkedFunction { symbol: "prefixSecondary_f" }} NeedsInput{LinkedFunction { symbol: "prefixSecondary_f" }} NeedsInput{LinkedFunction { symbol: "prefixSecondary_f" }} NeedsInput{LinkedFunction { symbol: "prefixSecondary_f" }} NeedsInput{LinkedFunction { symbol: "prefixSecondary_f" }} NeedsInput{LinkedFunction { symbol: "prefixSecondary_f" }} NeedsInput{LinkedFunction { symbol: "prefixSecondary_f" }} NeedsInput{LinkedFunction { symbol: "prefixSecondary_f" }} NeedsInput{LinkedFunction { symbol: "prefixSecondary_f" }} NeedsInput{LinkedFunction { symbol: "prefixSecondary_f" }} NeedsInput{LinkedFunction { symbol: "prefixSecondary_f" }} NeedsInput{LinkedFunction { symbol: "prefixSecondary_f" }} NeedsInput{LinkedFunction { symbol: "prefixSecondary_f" }} NeedsInput{LinkedFunction { symbol: "prefixSecondary_f" }} NeedsInput{LinkedFunction { symbol: "prefixSecondary_f" }}
engine/linked_visible_caller.air.ll 49ecda09029e95d1 linked_visible_caller NeedsInput{LinkedFunction { symbol: "linked_scale" }} NeedsInput{LinkedFunction { symbol: "linked_scale" }} NeedsInput{LinkedFunction { symbol: "linked_scale" }} NeedsInput{LinkedFunction { symbol: "linked_scale" }} NeedsInput{LinkedFunction { symbol: "linked_scale" }} NeedsInput{LinkedFunction { symbol: "linked_scale" }} NeedsInput{LinkedFunction { symbol: "linked_scale" }} NeedsInput{LinkedFunction { symbol: "linked_scale" }} NeedsInput{LinkedFunction { symbol: "linked_scale" }} NeedsInput{LinkedFunction { symbol: "linked_scale" }} NeedsInput{LinkedFunction { symbol: "linked_scale" }} NeedsInput{LinkedFunction { symbol: "linked_scale" }} NeedsInput{LinkedFunction { symbol: "linked_scale" }} NeedsInput{LinkedFunction { symbol: "linked_scale" }} NeedsInput{LinkedFunction { symbol: "linked_scale" }} NeedsInput{LinkedFunction { symbol: "linked_scale" }} NeedsInput{LinkedFunction { symbol: "linked_scale" }} NeedsInput{LinkedFunction { symbol: "linked_scale" }} NeedsInput{LinkedFunction { symbol: "linked_scale" }}
@@ -1277,10 +1277,10 @@ engine/linked_visible_functions.ll 6cfc607696fb3384 linked_visible_functions 6e7
engine/men2_eight_bit_points.air.ll 2a295d08310359bc men2_eight_bit_points NeedsInput{VertexDescriptor { attribute: 2 }} NeedsInput{VertexDescriptor { attribute: 2 }} NeedsInput{VertexDescriptor { attribute: 2 }} NeedsInput{VertexDescriptor { attribute: 2 }} NeedsInput{VertexDescriptor { attribute: 2 }} NeedsInput{VertexDescriptor { attribute: 2 }} NeedsInput{VertexDescriptor { attribute: 2 }} NeedsInput{VertexDescriptor { attribute: 2 }} NeedsInput{VertexDescriptor { attribute: 2 }} NeedsInput{VertexDescriptor { attribute: 2 }} NeedsInput{VertexDescriptor { attribute: 2 }} NeedsInput{VertexDescriptor { attribute: 2 }} NeedsInput{VertexDescriptor { attribute: 2 }} NeedsInput{VertexDescriptor { attribute: 2 }} NeedsInput{VertexDescriptor { attribute: 2 }} NeedsInput{VertexDescriptor { attribute: 2 }} NeedsInput{VertexDescriptor { attribute: 2 }} NeedsInput{VertexDescriptor { attribute: 2 }} NeedsInput{VertexDescriptor { attribute: 2 }}
engine/men2_eight_bit_points.ll 7c56cf9ca9fe53d5 men2_eight_bit_points NeedsInput{VertexDescriptor { attribute: 2 }} NeedsInput{VertexDescriptor { attribute: 2 }} NeedsInput{VertexDescriptor { attribute: 2 }} NeedsInput{VertexDescriptor { attribute: 2 }} NeedsInput{VertexDescriptor { attribute: 2 }} NeedsInput{VertexDescriptor { attribute: 2 }} NeedsInput{VertexDescriptor { attribute: 2 }} NeedsInput{VertexDescriptor { attribute: 2 }} NeedsInput{VertexDescriptor { attribute: 2 }} NeedsInput{VertexDescriptor { attribute: 2 }} NeedsInput{VertexDescriptor { attribute: 2 }} NeedsInput{VertexDescriptor { attribute: 2 }} NeedsInput{VertexDescriptor { attribute: 2 }} NeedsInput{VertexDescriptor { attribute: 2 }} NeedsInput{VertexDescriptor { attribute: 2 }} NeedsInput{VertexDescriptor { attribute: 2 }} NeedsInput{VertexDescriptor { attribute: 2 }} NeedsInput{VertexDescriptor { attribute: 2 }} NeedsInput{VertexDescriptor { attribute: 2 }}
engine/mesh_amplified.air.ll fdd3fdc866bb611d mesh_amplified 789732e63b443236 789732e63b443236 789732e63b443236 789732e63b443236 a50e614ef6ae7edc a50e614ef6ae7edc 789732e63b443236 fefe36469574ca8a fefe36469574ca8a fefe36469574ca8a a50e614ef6ae7edc fefe36469574ca8a 73ad3ef67a2562fe fefe36469574ca8a 789732e63b443236 789732e63b443236 fefe36469574ca8a fefe36469574ca8a fefe36469574ca8a
engine/mesh_amplified.air.ll fdd3fdc866bb611d mesh_amplified_gated NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }}
engine/mesh_amplified.air.ll fdd3fdc866bb611d mesh_amplified_gated 9e2f2831d273c3c2 9e2f2831d273c3c2 9e2f2831d273c3c2 9e2f2831d273c3c2 b4fe5f7b8e71f5cb b4fe5f7b8e71f5cb 9e2f2831d273c3c2 a612a0b333337ea9 a612a0b333337ea9 a612a0b333337ea9 b4fe5f7b8e71f5cb a612a0b333337ea9 0f5a2ed1bebd47f7 a612a0b333337ea9 9e2f2831d273c3c2 9e2f2831d273c3c2 a612a0b333337ea9 a612a0b333337ea9 a612a0b333337ea9
engine/mesh_amplified.air.ll fdd3fdc866bb611d mesh_layered 1079cde3227c5a59 1079cde3227c5a59 1079cde3227c5a59 1079cde3227c5a59 ac6acc0d996f7e5b ac6acc0d996f7e5b 96a6526ca0506a56 7c619b66a3bb94d0 7c619b66a3bb94d0 7c619b66a3bb94d0 ac6acc0d996f7e5b Unsupported{LayeredRendering; AnyOf[[Feature(ShaderOutputLayer)]]} 447218004b8d1cfe a7b3161d41c82ceb 96a6526ca0506a56 96a6526ca0506a56 Unsupported{LayeredRendering; AnyOf[[Feature(ShaderOutputLayer)]]} Unsupported{LayeredRendering; AnyOf[[Feature(ShaderOutputLayer)]]} Unsupported{LayeredRendering; AnyOf[[Feature(ShaderOutputLayer)]]}
engine/mesh_amplified.ll 7628b2df71328b72 mesh_amplified 789732e63b443236 789732e63b443236 789732e63b443236 789732e63b443236 a50e614ef6ae7edc a50e614ef6ae7edc 789732e63b443236 fefe36469574ca8a fefe36469574ca8a fefe36469574ca8a a50e614ef6ae7edc fefe36469574ca8a 73ad3ef67a2562fe fefe36469574ca8a 789732e63b443236 789732e63b443236 fefe36469574ca8a fefe36469574ca8a fefe36469574ca8a
engine/mesh_amplified.ll 7628b2df71328b72 mesh_amplified_gated NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }}
engine/mesh_amplified.ll 7628b2df71328b72 mesh_amplified_gated 9e2f2831d273c3c2 9e2f2831d273c3c2 9e2f2831d273c3c2 9e2f2831d273c3c2 b4fe5f7b8e71f5cb b4fe5f7b8e71f5cb 9e2f2831d273c3c2 a612a0b333337ea9 a612a0b333337ea9 a612a0b333337ea9 b4fe5f7b8e71f5cb a612a0b333337ea9 0f5a2ed1bebd47f7 a612a0b333337ea9 9e2f2831d273c3c2 9e2f2831d273c3c2 a612a0b333337ea9 a612a0b333337ea9 a612a0b333337ea9
engine/mesh_amplified.ll 7628b2df71328b72 mesh_layered 1079cde3227c5a59 1079cde3227c5a59 1079cde3227c5a59 1079cde3227c5a59 ac6acc0d996f7e5b ac6acc0d996f7e5b 96a6526ca0506a56 7c619b66a3bb94d0 7c619b66a3bb94d0 7c619b66a3bb94d0 ac6acc0d996f7e5b Unsupported{LayeredRendering; AnyOf[[Feature(ShaderOutputLayer)]]} 447218004b8d1cfe a7b3161d41c82ceb 96a6526ca0506a56 96a6526ca0506a56 Unsupported{LayeredRendering; AnyOf[[Feature(ShaderOutputLayer)]]} Unsupported{LayeredRendering; AnyOf[[Feature(ShaderOutputLayer)]]} Unsupported{LayeredRendering; AnyOf[[Feature(ShaderOutputLayer)]]}
engine/mesh_barrier.air.ll 43eaaab871393bae mesh_barrier_cover 5143f64ef1f60dde 5143f64ef1f60dde 5143f64ef1f60dde 5143f64ef1f60dde bd2448caf0b2028f bd2448caf0b2028f 5143f64ef1f60dde 2ead6b41cc3e5717 2ead6b41cc3e5717 2ead6b41cc3e5717 bd2448caf0b2028f 2ead6b41cc3e5717 8ce9da07661fcc1e 2ead6b41cc3e5717 5143f64ef1f60dde 5143f64ef1f60dde 2ead6b41cc3e5717 2ead6b41cc3e5717 2ead6b41cc3e5717
engine/mesh_barrier.air.ll 43eaaab871393bae mesh_barrier_fragment 776354e1b385e266 776354e1b385e266 776354e1b385e266 776354e1b385e266 776354e1b385e266 776354e1b385e266 776354e1b385e266 776354e1b385e266 776354e1b385e266 776354e1b385e266 776354e1b385e266 776354e1b385e266 776354e1b385e266 776354e1b385e266 776354e1b385e266 776354e1b385e266 776354e1b385e266 776354e1b385e266 776354e1b385e266
@@ -2536,15 +2536,15 @@ engine/xrb_dual.ll cc416f14cb009df5 xrb_dual_float 54b75a63fc3ed647 54b75a63fc3e
engine/xrb_dual.ll cc416f14cb009df5 xrb_dual_half 78eaf7ca4fc2d1f0 78eaf7ca4fc2d1f0 78eaf7ca4fc2d1f0 78eaf7ca4fc2d1f0 969995c2eed7aa11 969995c2eed7aa11 292c748c1a6666be 292c748c1a6666be 292c748c1a6666be 292c748c1a6666be 969995c2eed7aa11 9c85433ced11f458 e169b1c5e7a8df9f 9c85433ced11f458 245bb6532027ea85 245bb6532027ea85 Unsupported{DualSourceBlending; AnyOf[[Feature(DualSrcBlend)]]} Unsupported{DualSourceBlending; AnyOf[[Feature(DualSrcBlend)]]} Unsupported{DualSourceBlending; AnyOf[[Feature(DualSrcBlend)]]}
engine/xrb_dual.ll cc416f14cb009df5 xrb_dual_vertex 1fb14c00d52aefc6 1fb14c00d52aefc6 1fb14c00d52aefc6 1fb14c00d52aefc6 78d5cb08413d11d6 78d5cb08413d11d6 1fb14c00d52aefc6 1fb14c00d52aefc6 1fb14c00d52aefc6 1fb14c00d52aefc6 78d5cb08413d11d6 78d5cb08413d11d6 1fb14c00d52aefc6 78d5cb08413d11d6 1fb14c00d52aefc6 1fb14c00d52aefc6 78d5cb08413d11d6 78d5cb08413d11d6 759e54a3fa1e6ca1
engine/zwd_shapes.air.ll fe1d2188ab5f612a zwd_clip e529fce278cbcdd4 e529fce278cbcdd4 e529fce278cbcdd4 e529fce278cbcdd4 7a50440aec2010f5 7a50440aec2010f5 4040bf2df13089ee 4040bf2df13089ee 4040bf2df13089ee 4040bf2df13089ee 7a50440aec2010f5 2c50886a5d5a068a dd1d0c0e217fc586 cfb20371187c3c7c 4040bf2df13089ee 4040bf2df13089ee cfb20371187c3c7c cfb20371187c3c7c b9cd0632595225ad
engine/zwd_shapes.air.ll fe1d2188ab5f612a zwd_disc NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }}
engine/zwd_shapes.air.ll fe1d2188ab5f612a zwd_layer NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }}
engine/zwd_shapes.air.ll fe1d2188ab5f612a zwd_mask_gather NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }}
engine/zwd_shapes.air.ll fe1d2188ab5f612a zwd_mask_half NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }}
engine/zwd_shapes.air.ll fe1d2188ab5f612a zwd_mask_nearest NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }}
engine/zwd_shapes.air.ll fe1d2188ab5f612a zwd_mask_read NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }}
engine/zwd_shapes.air.ll fe1d2188ab5f612a zwd_masked NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }}
engine/zwd_shapes.air.ll fe1d2188ab5f612a zwd_disc 27fbc16ca4171701 27fbc16ca4171701 27fbc16ca4171701 27fbc16ca4171701 32614697edc52850 32614697edc52850 da9eaae31dd14368 da9eaae31dd14368 da9eaae31dd14368 da9eaae31dd14368 32614697edc52850 8a6f09cb5144f4c3 8a663d9a77148b6b 8a6f09cb5144f4c3 da9eaae31dd14368 da9eaae31dd14368 8a6f09cb5144f4c3 8a6f09cb5144f4c3 3f444864d1a99ed5
engine/zwd_shapes.air.ll fe1d2188ab5f612a zwd_layer e4cf5dcff3a22644 e4cf5dcff3a22644 e4cf5dcff3a22644 e4cf5dcff3a22644 c5c6f8b4cd08a49d c5c6f8b4cd08a49d d3948ce4784d38f1 d3948ce4784d38f1 d3948ce4784d38f1 d3948ce4784d38f1 c5c6f8b4cd08a49d e3b96ff1e6481235 bcc78b8cdfb54075 bedb4fd23bc8c1c5 1583c3e17abd72b3 1583c3e17abd72b3 e3b96ff1e6481235 e3b96ff1e6481235 81c1943d97ff66d6
engine/zwd_shapes.air.ll fe1d2188ab5f612a zwd_mask_gather d7e6fbb9530747a4 d7e6fbb9530747a4 d7e6fbb9530747a4 d7e6fbb9530747a4 d7e6fbb9530747a4 d7e6fbb9530747a4 8d23241372610c61 8d23241372610c61 8d23241372610c61 8d23241372610c61 d7e6fbb9530747a4 56ac425b14921a11 41d0f51a1e37a137 66bd4b74339a0159 8d23241372610c61 8d23241372610c61 56ac425b14921a11 56ac425b14921a11 50ab0c090a6d087a
engine/zwd_shapes.air.ll fe1d2188ab5f612a zwd_mask_half 93eea778ded953a7 93eea778ded953a7 93eea778ded953a7 93eea778ded953a7 aebdd7dcbdfcc640 aebdd7dcbdfcc640 0d0b11eb2e5bfbf9 0d0b11eb2e5bfbf9 0d0b11eb2e5bfbf9 0d0b11eb2e5bfbf9 aebdd7dcbdfcc640 de681098c0659af6 761b9cf4777128ab b54646dfce434226 5d54b7d227e1e223 5d54b7d227e1e223 de681098c0659af6 de681098c0659af6 3a148c67646498ab
engine/zwd_shapes.air.ll fe1d2188ab5f612a zwd_mask_nearest 6a8240dcbcf03305 6a8240dcbcf03305 6a8240dcbcf03305 6a8240dcbcf03305 a139d5f7f7628998 a139d5f7f7628998 749b3be8cb6a2581 749b3be8cb6a2581 749b3be8cb6a2581 749b3be8cb6a2581 a139d5f7f7628998 a1c1d0dd02359bd1 9f356115b4c10448 c0aefacda219d1b9 ffcf04b5ab5c427e ffcf04b5ab5c427e a1c1d0dd02359bd1 a1c1d0dd02359bd1 63dcdedcce38e72b
engine/zwd_shapes.air.ll fe1d2188ab5f612a zwd_mask_read cefd777af9d8a06a cefd777af9d8a06a cefd777af9d8a06a cefd777af9d8a06a cfc3428751697a16 cfc3428751697a16 f8ac846923bea489 f8ac846923bea489 f8ac846923bea489 f8ac846923bea489 cfc3428751697a16 58a41d5fd5324d13 271471d749a3306d d10421fe92b20b1b 5c6d41668b6db905 5c6d41668b6db905 c652c44fd7c477b7 c652c44fd7c477b7 1035d744e4ce315b
engine/zwd_shapes.air.ll fe1d2188ab5f612a zwd_masked 8494b9dc0b2d1842 8494b9dc0b2d1842 8494b9dc0b2d1842 8494b9dc0b2d1842 8494b9dc0b2d1842 8494b9dc0b2d1842 4da3b33fb9029a10 4da3b33fb9029a10 4da3b33fb9029a10 4da3b33fb9029a10 8494b9dc0b2d1842 47019e139f328b9c 868dc9bb3bae3e16 daa539f2437325ac 4da3b33fb9029a10 4da3b33fb9029a10 47019e139f328b9c 47019e139f328b9c ae74f50235f4c40b
engine/zwd_shapes.air.ll fe1d2188ab5f612a zwd_none 9faf48ec995a8904 9faf48ec995a8904 9faf48ec995a8904 9faf48ec995a8904 9faf48ec995a8904 9faf48ec995a8904 9faf48ec995a8904 9faf48ec995a8904 9faf48ec995a8904 9faf48ec995a8904 9faf48ec995a8904 9faf48ec995a8904 9faf48ec995a8904 9faf48ec995a8904 9faf48ec995a8904 9faf48ec995a8904 9faf48ec995a8904 9faf48ec995a8904 9faf48ec995a8904
engine/zwd_shapes.air.ll fe1d2188ab5f612a zwd_panel NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }}
engine/zwd_shapes.air.ll fe1d2188ab5f612a zwd_panel 6386e42bf0974a1d 6386e42bf0974a1d 6386e42bf0974a1d 6386e42bf0974a1d 1282fdf8e090c4c9 1282fdf8e090c4c9 e985462cd092bdfc e985462cd092bdfc e985462cd092bdfc e985462cd092bdfc 1282fdf8e090c4c9 7ce826cc9de602fd 6633b9511e8407ce 7ce826cc9de602fd e985462cd092bdfc e985462cd092bdfc 7ce826cc9de602fd 7ce826cc9de602fd fa4a058155446fe0
engine/zwd_shapes.air.ll fe1d2188ab5f612a zwd_path_exterior 2906724222d47a00 2906724222d47a00 2906724222d47a00 2906724222d47a00 a0e38b4610223958 a0e38b4610223958 433fabbfd78e4169 433fabbfd78e4169 433fabbfd78e4169 433fabbfd78e4169 a0e38b4610223958 b4d1c5e33e60d48e 38b9c88f24af424f b4d1c5e33e60d48e 5448b9057035990b 5448b9057035990b b4d1c5e33e60d48e b4d1c5e33e60d48e 9638bb6d1f2321f1
engine/zwd_shapes.air.ll fe1d2188ab5f612a zwd_path_exterior_flat 45b628f050a83219 45b628f050a83219 45b628f050a83219 45b628f050a83219 2cb84a140a83099e 2cb84a140a83099e 4f845e135ae33e12 4f845e135ae33e12 4f845e135ae33e12 4f845e135ae33e12 2cb84a140a83099e bf01027b3e60fe77 fd9030fb90a59a18 bf01027b3e60fe77 8784df6d85344567 8784df6d85344567 bf01027b3e60fe77 bf01027b3e60fe77 582c1036fea71aff
engine/zwd_shapes.air.ll fe1d2188ab5f612a zwd_path_exterior_linear 8039023613c0cfa9 8039023613c0cfa9 8039023613c0cfa9 8039023613c0cfa9 a761beb6ddf97c87 a761beb6ddf97c87 e47a28a7e378320b e47a28a7e378320b e47a28a7e378320b e47a28a7e378320b a761beb6ddf97c87 0c19f30e27e8c272 0a430cd6ece35ff0 0c19f30e27e8c272 76d44613d69562ce 76d44613d69562ce 0c19f30e27e8c272 0c19f30e27e8c272 7ea75e85adb7cd99
@@ -2553,18 +2553,18 @@ engine/zwd_shapes.air.ll fe1d2188ab5f612a zwd_path_v1 89e477829657d5f8 89e477829
engine/zwd_shapes.air.ll fe1d2188ab5f612a zwd_path_v2 4a285445b3c00739 4a285445b3c00739 4a285445b3c00739 4a285445b3c00739 45911f97bf0bc10b 45911f97bf0bc10b 19c4e806d508640b 19c4e806d508640b 19c4e806d508640b 19c4e806d508640b 45911f97bf0bc10b 5fd598ef70680f25 6b8ab23dcdf8df6c 5fd598ef70680f25 19c4e806d508640b 19c4e806d508640b 5fd598ef70680f25 5fd598ef70680f25 b72c1a3ca727dec3
engine/zwd_shapes.air.ll fe1d2188ab5f612a zwd_path_v3 3d8c5a456b32dce4 3d8c5a456b32dce4 3d8c5a456b32dce4 3d8c5a456b32dce4 82b0770e5a208fe2 82b0770e5a208fe2 0ecef7ef5301fddc 0ecef7ef5301fddc 0ecef7ef5301fddc 0ecef7ef5301fddc 82b0770e5a208fe2 8fdfe55a65a40513 b48aef07e0652927 8fdfe55a65a40513 0ecef7ef5301fddc 0ecef7ef5301fddc 8fdfe55a65a40513 8fdfe55a65a40513 f206feafd6da7d5a
engine/zwd_shapes.air.ll fe1d2188ab5f612a zwd_quad 577ed23f27701f0c 577ed23f27701f0c 577ed23f27701f0c 577ed23f27701f0c 50efd4a1a740ec27 50efd4a1a740ec27 47dba2ce3ff14a72 47dba2ce3ff14a72 47dba2ce3ff14a72 47dba2ce3ff14a72 50efd4a1a740ec27 bcab89a07e559ef7 577ed23f27701f0c bcab89a07e559ef7 47dba2ce3ff14a72 47dba2ce3ff14a72 bcab89a07e559ef7 bcab89a07e559ef7 04f99a188e60b5b9
engine/zwd_shapes.air.ll fe1d2188ab5f612a zwd_ring NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }}
engine/zwd_shapes.air.ll fe1d2188ab5f612a zwd_ring 476535610338c11d 476535610338c11d 476535610338c11d 476535610338c11d 4d87f06201e42b36 4d87f06201e42b36 65cf8767b27be467 65cf8767b27be467 65cf8767b27be467 65cf8767b27be467 4d87f06201e42b36 8300eed74de16b5e e5585dd4a2e31479 8300eed74de16b5e 65cf8767b27be467 65cf8767b27be467 8300eed74de16b5e 8300eed74de16b5e 1a6ea1b477373756
engine/zwd_shapes.air.ll fe1d2188ab5f612a zwd_two 3264295466603e67 3264295466603e67 3264295466603e67 3264295466603e67 3264295466603e67 3264295466603e67 8bad318f21344cad 8bad318f21344cad 8bad318f21344cad 8bad318f21344cad 3264295466603e67 c3968406268b0ff1 3264295466603e67 c3968406268b0ff1 8bad318f21344cad 8bad318f21344cad c3968406268b0ff1 c3968406268b0ff1 c3968406268b0ff1
engine/zwd_shapes.ll a8250a7d8bc788e5 zwd_clip e529fce278cbcdd4 e529fce278cbcdd4 e529fce278cbcdd4 e529fce278cbcdd4 7a50440aec2010f5 7a50440aec2010f5 4040bf2df13089ee 4040bf2df13089ee 4040bf2df13089ee 4040bf2df13089ee 7a50440aec2010f5 2c50886a5d5a068a dd1d0c0e217fc586 cfb20371187c3c7c 4040bf2df13089ee 4040bf2df13089ee cfb20371187c3c7c cfb20371187c3c7c b9cd0632595225ad
engine/zwd_shapes.ll a8250a7d8bc788e5 zwd_disc NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }}
engine/zwd_shapes.ll a8250a7d8bc788e5 zwd_layer NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }}
engine/zwd_shapes.ll a8250a7d8bc788e5 zwd_mask_gather NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }}
engine/zwd_shapes.ll a8250a7d8bc788e5 zwd_mask_half NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }}
engine/zwd_shapes.ll a8250a7d8bc788e5 zwd_mask_nearest NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }}
engine/zwd_shapes.ll a8250a7d8bc788e5 zwd_mask_read NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }}
engine/zwd_shapes.ll a8250a7d8bc788e5 zwd_masked NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }}
engine/zwd_shapes.ll a8250a7d8bc788e5 zwd_disc 27fbc16ca4171701 27fbc16ca4171701 27fbc16ca4171701 27fbc16ca4171701 32614697edc52850 32614697edc52850 da9eaae31dd14368 da9eaae31dd14368 da9eaae31dd14368 da9eaae31dd14368 32614697edc52850 8a6f09cb5144f4c3 8a663d9a77148b6b 8a6f09cb5144f4c3 da9eaae31dd14368 da9eaae31dd14368 8a6f09cb5144f4c3 8a6f09cb5144f4c3 3f444864d1a99ed5
engine/zwd_shapes.ll a8250a7d8bc788e5 zwd_layer e4cf5dcff3a22644 e4cf5dcff3a22644 e4cf5dcff3a22644 e4cf5dcff3a22644 c5c6f8b4cd08a49d c5c6f8b4cd08a49d d3948ce4784d38f1 d3948ce4784d38f1 d3948ce4784d38f1 d3948ce4784d38f1 c5c6f8b4cd08a49d e3b96ff1e6481235 bcc78b8cdfb54075 bedb4fd23bc8c1c5 1583c3e17abd72b3 1583c3e17abd72b3 e3b96ff1e6481235 e3b96ff1e6481235 81c1943d97ff66d6
engine/zwd_shapes.ll a8250a7d8bc788e5 zwd_mask_gather d7e6fbb9530747a4 d7e6fbb9530747a4 d7e6fbb9530747a4 d7e6fbb9530747a4 d7e6fbb9530747a4 d7e6fbb9530747a4 8d23241372610c61 8d23241372610c61 8d23241372610c61 8d23241372610c61 d7e6fbb9530747a4 56ac425b14921a11 41d0f51a1e37a137 66bd4b74339a0159 8d23241372610c61 8d23241372610c61 56ac425b14921a11 56ac425b14921a11 50ab0c090a6d087a
engine/zwd_shapes.ll a8250a7d8bc788e5 zwd_mask_half 93eea778ded953a7 93eea778ded953a7 93eea778ded953a7 93eea778ded953a7 aebdd7dcbdfcc640 aebdd7dcbdfcc640 0d0b11eb2e5bfbf9 0d0b11eb2e5bfbf9 0d0b11eb2e5bfbf9 0d0b11eb2e5bfbf9 aebdd7dcbdfcc640 de681098c0659af6 761b9cf4777128ab b54646dfce434226 5d54b7d227e1e223 5d54b7d227e1e223 de681098c0659af6 de681098c0659af6 3a148c67646498ab
engine/zwd_shapes.ll a8250a7d8bc788e5 zwd_mask_nearest 6a8240dcbcf03305 6a8240dcbcf03305 6a8240dcbcf03305 6a8240dcbcf03305 a139d5f7f7628998 a139d5f7f7628998 749b3be8cb6a2581 749b3be8cb6a2581 749b3be8cb6a2581 749b3be8cb6a2581 a139d5f7f7628998 a1c1d0dd02359bd1 9f356115b4c10448 c0aefacda219d1b9 ffcf04b5ab5c427e ffcf04b5ab5c427e a1c1d0dd02359bd1 a1c1d0dd02359bd1 63dcdedcce38e72b
engine/zwd_shapes.ll a8250a7d8bc788e5 zwd_mask_read cefd777af9d8a06a cefd777af9d8a06a cefd777af9d8a06a cefd777af9d8a06a cfc3428751697a16 cfc3428751697a16 f8ac846923bea489 f8ac846923bea489 f8ac846923bea489 f8ac846923bea489 cfc3428751697a16 58a41d5fd5324d13 271471d749a3306d d10421fe92b20b1b 5c6d41668b6db905 5c6d41668b6db905 c652c44fd7c477b7 c652c44fd7c477b7 1035d744e4ce315b
engine/zwd_shapes.ll a8250a7d8bc788e5 zwd_masked 8494b9dc0b2d1842 8494b9dc0b2d1842 8494b9dc0b2d1842 8494b9dc0b2d1842 8494b9dc0b2d1842 8494b9dc0b2d1842 4da3b33fb9029a10 4da3b33fb9029a10 4da3b33fb9029a10 4da3b33fb9029a10 8494b9dc0b2d1842 47019e139f328b9c 868dc9bb3bae3e16 daa539f2437325ac 4da3b33fb9029a10 4da3b33fb9029a10 47019e139f328b9c 47019e139f328b9c ae74f50235f4c40b
engine/zwd_shapes.ll a8250a7d8bc788e5 zwd_none 9faf48ec995a8904 9faf48ec995a8904 9faf48ec995a8904 9faf48ec995a8904 9faf48ec995a8904 9faf48ec995a8904 9faf48ec995a8904 9faf48ec995a8904 9faf48ec995a8904 9faf48ec995a8904 9faf48ec995a8904 9faf48ec995a8904 9faf48ec995a8904 9faf48ec995a8904 9faf48ec995a8904 9faf48ec995a8904 9faf48ec995a8904 9faf48ec995a8904 9faf48ec995a8904
engine/zwd_shapes.ll a8250a7d8bc788e5 zwd_panel NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }}
engine/zwd_shapes.ll a8250a7d8bc788e5 zwd_panel 6386e42bf0974a1d 6386e42bf0974a1d 6386e42bf0974a1d 6386e42bf0974a1d 1282fdf8e090c4c9 1282fdf8e090c4c9 e985462cd092bdfc e985462cd092bdfc e985462cd092bdfc e985462cd092bdfc 1282fdf8e090c4c9 7ce826cc9de602fd 6633b9511e8407ce 7ce826cc9de602fd e985462cd092bdfc e985462cd092bdfc 7ce826cc9de602fd 7ce826cc9de602fd fa4a058155446fe0
engine/zwd_shapes.ll a8250a7d8bc788e5 zwd_path_exterior 2906724222d47a00 2906724222d47a00 2906724222d47a00 2906724222d47a00 a0e38b4610223958 a0e38b4610223958 433fabbfd78e4169 433fabbfd78e4169 433fabbfd78e4169 433fabbfd78e4169 a0e38b4610223958 b4d1c5e33e60d48e 38b9c88f24af424f b4d1c5e33e60d48e 5448b9057035990b 5448b9057035990b b4d1c5e33e60d48e b4d1c5e33e60d48e 9638bb6d1f2321f1
engine/zwd_shapes.ll a8250a7d8bc788e5 zwd_path_exterior_flat 45b628f050a83219 45b628f050a83219 45b628f050a83219 45b628f050a83219 2cb84a140a83099e 2cb84a140a83099e 4f845e135ae33e12 4f845e135ae33e12 4f845e135ae33e12 4f845e135ae33e12 2cb84a140a83099e bf01027b3e60fe77 fd9030fb90a59a18 bf01027b3e60fe77 8784df6d85344567 8784df6d85344567 bf01027b3e60fe77 bf01027b3e60fe77 582c1036fea71aff
engine/zwd_shapes.ll a8250a7d8bc788e5 zwd_path_exterior_linear 8039023613c0cfa9 8039023613c0cfa9 8039023613c0cfa9 8039023613c0cfa9 a761beb6ddf97c87 a761beb6ddf97c87 e47a28a7e378320b e47a28a7e378320b e47a28a7e378320b e47a28a7e378320b a761beb6ddf97c87 0c19f30e27e8c272 0a430cd6ece35ff0 0c19f30e27e8c272 76d44613d69562ce 76d44613d69562ce 0c19f30e27e8c272 0c19f30e27e8c272 7ea75e85adb7cd99
@@ -2573,7 +2573,7 @@ engine/zwd_shapes.ll a8250a7d8bc788e5 zwd_path_v1 89e477829657d5f8 89e477829657d
engine/zwd_shapes.ll a8250a7d8bc788e5 zwd_path_v2 4a285445b3c00739 4a285445b3c00739 4a285445b3c00739 4a285445b3c00739 45911f97bf0bc10b 45911f97bf0bc10b 19c4e806d508640b 19c4e806d508640b 19c4e806d508640b 19c4e806d508640b 45911f97bf0bc10b 5fd598ef70680f25 6b8ab23dcdf8df6c 5fd598ef70680f25 19c4e806d508640b 19c4e806d508640b 5fd598ef70680f25 5fd598ef70680f25 b72c1a3ca727dec3
engine/zwd_shapes.ll a8250a7d8bc788e5 zwd_path_v3 3d8c5a456b32dce4 3d8c5a456b32dce4 3d8c5a456b32dce4 3d8c5a456b32dce4 82b0770e5a208fe2 82b0770e5a208fe2 0ecef7ef5301fddc 0ecef7ef5301fddc 0ecef7ef5301fddc 0ecef7ef5301fddc 82b0770e5a208fe2 8fdfe55a65a40513 b48aef07e0652927 8fdfe55a65a40513 0ecef7ef5301fddc 0ecef7ef5301fddc 8fdfe55a65a40513 8fdfe55a65a40513 f206feafd6da7d5a
engine/zwd_shapes.ll a8250a7d8bc788e5 zwd_quad 577ed23f27701f0c 577ed23f27701f0c 577ed23f27701f0c 577ed23f27701f0c 50efd4a1a740ec27 50efd4a1a740ec27 47dba2ce3ff14a72 47dba2ce3ff14a72 47dba2ce3ff14a72 47dba2ce3ff14a72 50efd4a1a740ec27 bcab89a07e559ef7 577ed23f27701f0c bcab89a07e559ef7 47dba2ce3ff14a72 47dba2ce3ff14a72 bcab89a07e559ef7 bcab89a07e559ef7 04f99a188e60b5b9
engine/zwd_shapes.ll a8250a7d8bc788e5 zwd_ring NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }}
engine/zwd_shapes.ll a8250a7d8bc788e5 zwd_ring 476535610338c11d 476535610338c11d 476535610338c11d 476535610338c11d 4d87f06201e42b36 4d87f06201e42b36 65cf8767b27be467 65cf8767b27be467 65cf8767b27be467 65cf8767b27be467 4d87f06201e42b36 8300eed74de16b5e e5585dd4a2e31479 8300eed74de16b5e 65cf8767b27be467 65cf8767b27be467 8300eed74de16b5e 8300eed74de16b5e 1a6ea1b477373756
engine/zwd_shapes.ll a8250a7d8bc788e5 zwd_two 3264295466603e67 3264295466603e67 3264295466603e67 3264295466603e67 3264295466603e67 3264295466603e67 8bad318f21344cad 8bad318f21344cad 8bad318f21344cad 8bad318f21344cad 3264295466603e67 c3968406268b0ff1 3264295466603e67 c3968406268b0ff1 8bad318f21344cad 8bad318f21344cad c3968406268b0ff1 c3968406268b0ff1 c3968406268b0ff1
engine/zws_compositor.air.ll 8119844dcbcf083f zws_box ab6b0162a83a9ce0 ab6b0162a83a9ce0 ab6b0162a83a9ce0 ab6b0162a83a9ce0 a8d94eac41c0d720 a8d94eac41c0d720 f51cac5de2856498 f51cac5de2856498 f51cac5de2856498 f51cac5de2856498 a8d94eac41c0d720 0674f0c3b2244d69 ab6b0162a83a9ce0 0674f0c3b2244d69 f51cac5de2856498 f51cac5de2856498 0674f0c3b2244d69 0674f0c3b2244d69 bbef8ef600df40bb
engine/zws_compositor.air.ll 8119844dcbcf083f zws_over NeedsInput{FramebufferFetch} NeedsInput{FramebufferFetch} NeedsInput{FramebufferFetch} NeedsInput{FramebufferFetch} 7d0731557ad612dc 7d0731557ad612dc NeedsInput{FramebufferFetch} NeedsInput{FramebufferFetch} NeedsInput{FramebufferFetch} NeedsInput{FramebufferFetch} 7d0731557ad612dc Unsupported{FramebufferFetch; AnyOf[[Feature(RasterizationOrderColorAttachmentAccess)], [Feature(FragmentShaderPixelInterlock)]]} NeedsInput{FramebufferFetch} NeedsInput{FramebufferFetch} NeedsInput{FramebufferFetch} NeedsInput{FramebufferFetch} Unsupported{FramebufferFetch; AnyOf[[Feature(RasterizationOrderColorAttachmentAccess)], [Feature(FragmentShaderPixelInterlock)]]} 3139c8a5fd5635ff Unsupported{FramebufferFetch; AnyOf[[Feature(RasterizationOrderColorAttachmentAccess)], [Feature(FragmentShaderPixelInterlock), Feature(FragmentStoresAndAtomics)]]}
@@ -2638,9 +2638,9 @@ kernel_fast_ldexp_range.ll eb7214db3c41bdc0 kernel_fast_ldexp_range 06635bdf1869
kernel_fast_tanh_range.ll ccf0bbae7a588c2f kernel_fast_tanh_range d990a67be982b0cc d990a67be982b0cc d990a67be982b0cc d990a67be982b0cc d990a67be982b0cc d990a67be982b0cc d990a67be982b0cc d990a67be982b0cc d990a67be982b0cc d990a67be982b0cc d990a67be982b0cc d990a67be982b0cc d990a67be982b0cc d990a67be982b0cc d990a67be982b0cc d990a67be982b0cc d990a67be982b0cc d990a67be982b0cc d990a67be982b0cc
kernel_fast_trig_range.ll 7b0c081babad00ed kernel_fast_trig_range 019d22ad6de9e44e 019d22ad6de9e44e 019d22ad6de9e44e 019d22ad6de9e44e 019d22ad6de9e44e 019d22ad6de9e44e 019d22ad6de9e44e 019d22ad6de9e44e 019d22ad6de9e44e 019d22ad6de9e44e 019d22ad6de9e44e 019d22ad6de9e44e 019d22ad6de9e44e 019d22ad6de9e44e 019d22ad6de9e44e 019d22ad6de9e44e 019d22ad6de9e44e 019d22ad6de9e44e 019d22ad6de9e44e
kernel_fast_variant_reach.ll 5a071e2272bcec20 kernel_fast_variant_reach 9d76c486af01a86e 9d76c486af01a86e 9d76c486af01a86e 9d76c486af01a86e 9d76c486af01a86e 9d76c486af01a86e 9d76c486af01a86e 9d76c486af01a86e 9d76c486af01a86e 9d76c486af01a86e 9d76c486af01a86e 9d76c486af01a86e 14d84ee9f38941c1 9d76c486af01a86e 9d76c486af01a86e 9d76c486af01a86e 9d76c486af01a86e 9d76c486af01a86e 9d76c486af01a86e
kernel_fc_selected_view_of_one_slot.ll aa9907f1df62a87f read_the_fc_selected_view_of_one_slot NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }}
kernel_fc_selected_view_of_one_slot.ll aa9907f1df62a87f read_the_fc_selected_view_of_one_slot a690e5d73e954a91 a690e5d73e954a91 a690e5d73e954a91 a690e5d73e954a91 a690e5d73e954a91 a690e5d73e954a91 a690e5d73e954a91 a690e5d73e954a91 a690e5d73e954a91 a690e5d73e954a91 a690e5d73e954a91 a690e5d73e954a91 a690e5d73e954a91 a690e5d73e954a91 a690e5d73e954a91 a690e5d73e954a91 a690e5d73e954a91 a690e5d73e954a91 a690e5d73e954a91
kernel_float_to_integer_saturates.ll bde985fced52c8cd kernel_float_to_integer_saturates 4fc4534608bf0810 4fc4534608bf0810 4fc4534608bf0810 4fc4534608bf0810 6ac8a7a90c4b757e 6ac8a7a90c4b757e eacc75fc5b0c501a eacc75fc5b0c501a eacc75fc5b0c501a eacc75fc5b0c501a 6ac8a7a90c4b757e 3de0fc7fb63b2386 6ac8a7a90c4b757e 3ee04798d4218ba0 6ac8a7a90c4b757e 6ac8a7a90c4b757e 3de0fc7fb63b2386 3de0fc7fb63b2386 3de0fc7fb63b2386
kernel_function_constant_gate_fold.ll 8d84afb027a2b3a6 fcfold NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }}
kernel_function_constant_gate_fold.ll 8d84afb027a2b3a6 fcfold e395be294c65865c e395be294c65865c e395be294c65865c e395be294c65865c e395be294c65865c e395be294c65865c e395be294c65865c e395be294c65865c e395be294c65865c e395be294c65865c e395be294c65865c e395be294c65865c e395be294c65865c e395be294c65865c e395be294c65865c e395be294c65865c e395be294c65865c e395be294c65865c e395be294c65865c
kernel_half4_exp_and_logs.ll 76072081bb3e3e77 kernel_half4_exp_and_logs 1910c4d3234e26db 1910c4d3234e26db 1910c4d3234e26db 1910c4d3234e26db 8e0cab3dae7a81b3 8e0cab3dae7a81b3 9740f10889a082d6 9740f10889a082d6 9740f10889a082d6 9740f10889a082d6 8e0cab3dae7a81b3 dd41a611c0b0bd9d 8e0cab3dae7a81b3 dd41a611c0b0bd9d 8e0cab3dae7a81b3 8e0cab3dae7a81b3 dd41a611c0b0bd9d dd41a611c0b0bd9d dd41a611c0b0bd9d
kernel_half_transcendentals.ll 10005e7be3432d9f kernel_half_transcendentals 2926d7f25e429f4d 2926d7f25e429f4d 2926d7f25e429f4d 2926d7f25e429f4d 8c36d43b0f8d13cc 8c36d43b0f8d13cc 419030585c9d2cc1 419030585c9d2cc1 419030585c9d2cc1 419030585c9d2cc1 8c36d43b0f8d13cc 2dbe5bad1e4926bf 8c36d43b0f8d13cc c41f245f38948f44 8c36d43b0f8d13cc 8c36d43b0f8d13cc 2dbe5bad1e4926bf 2dbe5bad1e4926bf 2dbe5bad1e4926bf
kernel_icb_declared_handle_is_inert.ll 7563618aa4063832 kernel_icb_declared_handle_is_inert 4b6fd799615d5d8e 4b6fd799615d5d8e 4b6fd799615d5d8e 4b6fd799615d5d8e 4b6fd799615d5d8e 4b6fd799615d5d8e 4b6fd799615d5d8e 4b6fd799615d5d8e 4b6fd799615d5d8e 4b6fd799615d5d8e 4b6fd799615d5d8e 4b6fd799615d5d8e 4b6fd799615d5d8e 4b6fd799615d5d8e 4b6fd799615d5d8e 4b6fd799615d5d8e 4b6fd799615d5d8e 4b6fd799615d5d8e 4b6fd799615d5d8e
@@ -2663,7 +2663,7 @@ kernel_instance_as_world_space.ll c6e7fb84947624df instance_as_world_space be1ac
kernel_integer_edge_grid.ll e93de50c72753df6 kernel_integer_edge_grid 3d5100ebccd50bd0 3d5100ebccd50bd0 3d5100ebccd50bd0 3d5100ebccd50bd0 3d5100ebccd50bd0 3d5100ebccd50bd0 3d5100ebccd50bd0 3d5100ebccd50bd0 3d5100ebccd50bd0 3d5100ebccd50bd0 3d5100ebccd50bd0 3d5100ebccd50bd0 3d5100ebccd50bd0 3d5100ebccd50bd0 3d5100ebccd50bd0 3d5100ebccd50bd0 3d5100ebccd50bd0 3d5100ebccd50bd0 3d5100ebccd50bd0
kernel_integer_saturating_grid.ll 168e9f37999ab530 kernel_integer_saturating_grid c03aac94d02e2f3d c03aac94d02e2f3d c03aac94d02e2f3d c03aac94d02e2f3d c03aac94d02e2f3d c03aac94d02e2f3d c03aac94d02e2f3d c03aac94d02e2f3d c03aac94d02e2f3d c03aac94d02e2f3d c03aac94d02e2f3d c03aac94d02e2f3d c03aac94d02e2f3d c03aac94d02e2f3d c03aac94d02e2f3d c03aac94d02e2f3d c03aac94d02e2f3d c03aac94d02e2f3d c03aac94d02e2f3d
kernel_integer_width_conversions.ll 7909d8bf653d0044 kernel_integer_width_conversions fdfde112df4e9764 fdfde112df4e9764 fdfde112df4e9764 fdfde112df4e9764 80ac3a09aa090220 80ac3a09aa090220 4d5070bdff2060c0 4d5070bdff2060c0 4d5070bdff2060c0 4d5070bdff2060c0 80ac3a09aa090220 ce4784c524778ad0 3ac2b286eb3866a9 01000c4a6fabc2fb 80ac3a09aa090220 80ac3a09aa090220 ce4784c524778ad0 ce4784c524778ad0 ce4784c524778ad0
kernel_inverse_hyperbolics_and_a_gated_bias.ll 00896653644eba3f kernel_inverse_hyperbolics_and_a_gated_bias NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }}
kernel_inverse_hyperbolics_and_a_gated_bias.ll 00896653644eba3f kernel_inverse_hyperbolics_and_a_gated_bias 10349eb86812e31e 10349eb86812e31e 10349eb86812e31e 10349eb86812e31e 10349eb86812e31e 10349eb86812e31e 10349eb86812e31e 10349eb86812e31e 10349eb86812e31e 10349eb86812e31e 10349eb86812e31e 10349eb86812e31e 10349eb86812e31e 10349eb86812e31e 10349eb86812e31e 10349eb86812e31e 10349eb86812e31e 10349eb86812e31e 10349eb86812e31e
kernel_invert_word.ll 6de7b2dfc26ce08b invert_word 2be1e39aeca6dacb 2be1e39aeca6dacb 2be1e39aeca6dacb 2be1e39aeca6dacb 2be1e39aeca6dacb 2be1e39aeca6dacb 2be1e39aeca6dacb 2be1e39aeca6dacb 2be1e39aeca6dacb 2be1e39aeca6dacb 2be1e39aeca6dacb 2be1e39aeca6dacb 2be1e39aeca6dacb 2be1e39aeca6dacb 2be1e39aeca6dacb 2be1e39aeca6dacb 2be1e39aeca6dacb 2be1e39aeca6dacb 2be1e39aeca6dacb
kernel_irreducible_ping_pong.ll 2f49bab5be172f58 irreducible_ping_pong 24699d87aed065ee 24699d87aed065ee 24699d87aed065ee 24699d87aed065ee 24699d87aed065ee 24699d87aed065ee 24699d87aed065ee 24699d87aed065ee 24699d87aed065ee 24699d87aed065ee 24699d87aed065ee 24699d87aed065ee 45737de2d0c826f6 24699d87aed065ee 24699d87aed065ee 24699d87aed065ee 24699d87aed065ee 24699d87aed065ee 24699d87aed065ee
kernel_irreducible_three_buffers.ll 0255831dbd5001e7 irreducible_three_buffers b4444cdc5e2562b3 b4444cdc5e2562b3 b4444cdc5e2562b3 b4444cdc5e2562b3 b4444cdc5e2562b3 b4444cdc5e2562b3 b4444cdc5e2562b3 b4444cdc5e2562b3 b4444cdc5e2562b3 b4444cdc5e2562b3 b4444cdc5e2562b3 b4444cdc5e2562b3 7befe9241da89c6f b4444cdc5e2562b3 b4444cdc5e2562b3 b4444cdc5e2562b3 b4444cdc5e2562b3 b4444cdc5e2562b3 b4444cdc5e2562b3
@@ -2739,7 +2739,7 @@ kernel_three_way_and_shuffle_math.ll 8ccb38a84952fa79 kernel_three_way_and_shuff
kernel_uniform_member_helper_twice.ll 7a0cf0e338c2b534 uniform_member_helper_twice c0919da516d499db c0919da516d499db c0919da516d499db c0919da516d499db c0919da516d499db c0919da516d499db 1b294c97a7038652 1b294c97a7038652 1b294c97a7038652 1b294c97a7038652 c0919da516d499db 10bd037b1d61fd32 c0919da516d499db 10bd037b1d61fd32 1b294c97a7038652 1b294c97a7038652 10bd037b1d61fd32 10bd037b1d61fd32 10bd037b1d61fd32
kernel_union_member_store.ll 4b2c7f1a71135d52 kernel_union_member_store 8e47eed10985d40d 8e47eed10985d40d 8e47eed10985d40d 8e47eed10985d40d 8e47eed10985d40d 8e47eed10985d40d 8e47eed10985d40d 8e47eed10985d40d 8e47eed10985d40d 8e47eed10985d40d 8e47eed10985d40d e0a6796d56f944c1 8e47eed10985d40d 8e47eed10985d40d 8e47eed10985d40d 8e47eed10985d40d e0a6796d56f944c1 e0a6796d56f944c1 e0a6796d56f944c1
kernel_unpack_packed_pixels.ll a6ed17c2ac25590b kernel_unpack_packed_pixels 65dd937c14edf6d6 65dd937c14edf6d6 65dd937c14edf6d6 65dd937c14edf6d6 ef8c544fec0ed08e ef8c544fec0ed08e d309310e6fe8a6e9 d309310e6fe8a6e9 d309310e6fe8a6e9 d309310e6fe8a6e9 ef8c544fec0ed08e 888e2a2325bf75ac ef8c544fec0ed08e 888e2a2325bf75ac ef8c544fec0ed08e ef8c544fec0ed08e 888e2a2325bf75ac 888e2a2325bf75ac 888e2a2325bf75ac
kernel_vector_function_constant.ll 5769f2d9418fa6e0 kernel_vector_function_constant NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }}
kernel_vector_function_constant.ll 5769f2d9418fa6e0 kernel_vector_function_constant b5a80b98e9ecd67d b5a80b98e9ecd67d b5a80b98e9ecd67d b5a80b98e9ecd67d b5a80b98e9ecd67d b5a80b98e9ecd67d b5a80b98e9ecd67d b5a80b98e9ecd67d b5a80b98e9ecd67d b5a80b98e9ecd67d b5a80b98e9ecd67d b5a80b98e9ecd67d b5a80b98e9ecd67d b5a80b98e9ecd67d b5a80b98e9ecd67d b5a80b98e9ecd67d b5a80b98e9ecd67d b5a80b98e9ecd67d b5a80b98e9ecd67d
kernel_visible_function_table_query.ll 2604bb7180812a17 kernel_visible_function_table_query 4cf50da9b2b34a25 4cf50da9b2b34a25 4cf50da9b2b34a25 4cf50da9b2b34a25 4cf50da9b2b34a25 4cf50da9b2b34a25 4cf50da9b2b34a25 4cf50da9b2b34a25 4cf50da9b2b34a25 4cf50da9b2b34a25 4cf50da9b2b34a25 4cf50da9b2b34a25 4cf50da9b2b34a25 4cf50da9b2b34a25 4cf50da9b2b34a25 4cf50da9b2b34a25 4cf50da9b2b34a25 4cf50da9b2b34a25 4cf50da9b2b34a25
kernel_walk_a_constant_pointer.ll 91259f0b68dd8d2a kernel_walk_a_constant_pointer a9ba9d61d55bef3b a9ba9d61d55bef3b a9ba9d61d55bef3b a9ba9d61d55bef3b a9ba9d61d55bef3b a9ba9d61d55bef3b a9ba9d61d55bef3b a9ba9d61d55bef3b a9ba9d61d55bef3b a9ba9d61d55bef3b a9ba9d61d55bef3b a9ba9d61d55bef3b 199fe69f22d3cc71 a9ba9d61d55bef3b a9ba9d61d55bef3b a9ba9d61d55bef3b a9ba9d61d55bef3b a9ba9d61d55bef3b 0360dd3935633cc7
kernel_wide_convert_and_math_leftovers.ll 4acebd1e7345d25c kernel_wide_convert_and_math_leftovers 5532ab01ceabd88e 5532ab01ceabd88e 5532ab01ceabd88e 5532ab01ceabd88e c9641c5d1e07252c c9641c5d1e07252c 7ad79b6933f407ae 7ad79b6933f407ae 7ad79b6933f407ae 7ad79b6933f407ae c9641c5d1e07252c fc9e9baee53927a7 c9641c5d1e07252c 572b8473ce239e9e c9641c5d1e07252c c9641c5d1e07252c fc9e9baee53927a7 fc9e9baee53927a7 32bbebd8e2b8142a
Can't render this file because it is too large.
@@ -56,9 +56,9 @@ kernel_fast_ldexp_range.ll kernel_fast_ldexp_range ok ok ok ok ok ok ok ok ok ok
kernel_fast_tanh_range.ll kernel_fast_tanh_range ok ok ok ok ok ok ok ok ok ok ok ok ok ok ok ok ok ok ok
kernel_fast_trig_range.ll kernel_fast_trig_range ok ok ok ok ok ok ok ok ok ok ok ok ok ok ok ok ok ok ok
kernel_fast_variant_reach.ll kernel_fast_variant_reach ok ok ok ok ok ok ok ok ok ok ok ok ok ok ok ok ok ok ok
kernel_fc_selected_view_of_one_slot.ll read_the_fc_selected_view_of_one_slot NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }}
kernel_fc_selected_view_of_one_slot.ll read_the_fc_selected_view_of_one_slot ok ok ok ok ok ok ok ok ok ok ok ok ok ok ok ok ok ok ok
kernel_float_to_integer_saturates.ll kernel_float_to_integer_saturates ok ok ok ok ok ok ok ok ok ok ok ok ok ok ok ok ok ok ok
kernel_function_constant_gate_fold.ll fcfold NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }}
kernel_function_constant_gate_fold.ll fcfold ok ok ok ok ok ok ok ok ok ok ok ok ok ok ok ok ok ok ok
kernel_half4_exp_and_logs.ll kernel_half4_exp_and_logs ok ok ok ok ok ok ok ok ok ok ok ok ok ok ok ok ok ok ok
kernel_half_transcendentals.ll kernel_half_transcendentals ok ok ok ok ok ok ok ok ok ok ok ok ok ok ok ok ok ok ok
kernel_icb_declared_handle_is_inert.ll kernel_icb_declared_handle_is_inert ok ok ok ok ok ok ok ok ok ok ok ok ok ok ok ok ok ok ok
@@ -81,7 +81,7 @@ kernel_instance_as_world_space.ll instance_as_world_space ok ok ok ok ok ok ok U
kernel_integer_edge_grid.ll kernel_integer_edge_grid ok ok ok ok ok ok ok ok ok ok ok ok ok ok ok ok ok ok ok
kernel_integer_saturating_grid.ll kernel_integer_saturating_grid ok ok ok ok ok ok ok ok ok ok ok ok ok ok ok ok ok ok ok
kernel_integer_width_conversions.ll kernel_integer_width_conversions ok ok ok ok ok ok ok ok ok ok ok ok ok ok ok ok ok ok ok
kernel_inverse_hyperbolics_and_a_gated_bias.ll kernel_inverse_hyperbolics_and_a_gated_bias NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }}
kernel_inverse_hyperbolics_and_a_gated_bias.ll kernel_inverse_hyperbolics_and_a_gated_bias ok ok ok ok ok ok ok ok ok ok ok ok ok ok ok ok ok ok ok
kernel_invert_word.ll invert_word ok ok ok ok ok ok ok ok ok ok ok ok ok ok ok ok ok ok ok
kernel_irreducible_ping_pong.ll irreducible_ping_pong ok ok ok ok ok ok ok ok ok ok ok ok ok ok ok ok ok ok ok
kernel_irreducible_three_buffers.ll irreducible_three_buffers ok ok ok ok ok ok ok ok ok ok ok ok ok ok ok ok ok ok ok
@@ -157,7 +157,7 @@ kernel_three_way_and_shuffle_math.ll kernel_three_way_and_shuffle_math ok ok ok
kernel_uniform_member_helper_twice.ll uniform_member_helper_twice ok ok ok ok ok ok ok ok ok ok ok ok ok ok ok ok ok ok ok
kernel_union_member_store.ll kernel_union_member_store ok ok ok ok ok ok ok ok ok ok ok ok ok ok ok ok ok ok ok
kernel_unpack_packed_pixels.ll kernel_unpack_packed_pixels ok ok ok ok ok ok ok ok ok ok ok ok ok ok ok ok ok ok ok
kernel_vector_function_constant.ll kernel_vector_function_constant NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }}
kernel_vector_function_constant.ll kernel_vector_function_constant ok ok ok ok ok ok ok ok ok ok ok ok ok ok ok ok ok ok ok
kernel_visible_function_table_query.ll kernel_visible_function_table_query ok ok ok ok ok ok ok ok ok ok ok ok ok ok ok ok ok ok ok
kernel_walk_a_constant_pointer.ll kernel_walk_a_constant_pointer ok ok ok ok ok ok ok ok ok ok ok ok ok ok ok ok ok ok ok
kernel_wide_convert_and_math_leftovers.ll kernel_wide_convert_and_math_leftovers ok ok ok ok ok ok ok ok ok ok ok ok ok ok ok ok ok ok ok
@@ -1075,13 +1075,13 @@ engine/gsm2_cubic_samplers.ll gsm2_cubic_samples ok ok ok ok ok ok ok ok ok ok o
engine/gsm2_cubic_samplers.ll gsm2_cubic_half_samples ok ok ok ok ok ok ok ok ok ok ok ok ok ok ok ok ok ok ok
engine/gsm2_fill_moduli.air.ll fill_constant_moduli ok ok ok ok ok ok ok ok ok ok ok ok ok ok ok ok ok ok ok
engine/gsm2_fill_moduli.air.ll fill_runtime_moduli ok ok ok ok ok ok ok ok ok ok ok ok ok ok ok ok ok ok ok
engine/gsm2_fill_moduli.air.ll fill_function_constant_modulo NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }}
engine/gsm2_fill_moduli.air.ll fill_function_constant_modulo ok ok ok ok ok ok ok ok ok ok ok ok ok ok ok ok ok ok ok
engine/gsm2_fill_moduli.air.ll fill_constant_moduli_in_a_vertex_function ok ok ok ok Unsupported{SubgroupOperations; AnyOf[[Property(SubgroupStage(Vertex))]]} Unsupported{SubgroupOperations; AnyOf[[Property(SubgroupStage(Vertex))]]} ok ok ok ok Unsupported{SubgroupOperations; AnyOf[[Property(SubgroupStage(Vertex))]]} Unsupported{SubgroupOperations; AnyOf[[Property(SubgroupStage(Vertex))]]} ok ok ok ok Unsupported{StageStoresAndAtomics; AnyOf[[Feature(VertexPipelineStoresAndAtomics)]]} ok Unsupported{StageStoresAndAtomics; AnyOf[[Feature(VertexPipelineStoresAndAtomics)]]}
engine/gsm2_fill_moduli.air.ll quad_fills_in_a_vertex_function ok ok ok ok Unsupported{SubgroupOperations; AnyOf[[Property(SubgroupStage(Vertex))]]} Unsupported{SubgroupOperations; AnyOf[[Property(SubgroupStage(Vertex))]]} ok ok ok ok Unsupported{SubgroupOperations; AnyOf[[Property(SubgroupStage(Vertex))]]} Unsupported{SubgroupOperations; AnyOf[[Property(SubgroupStage(Vertex))]]} ok ok ok ok Unsupported{StageStoresAndAtomics; AnyOf[[Feature(VertexPipelineStoresAndAtomics)]]} ok Unsupported{StageStoresAndAtomics; AnyOf[[Feature(VertexPipelineStoresAndAtomics)]]}
engine/gsm2_fill_moduli.air.ll fragment_fill_constant_moduli ok ok ok ok ok ok ok ok ok ok ok Unsupported{SubgroupOperations; AnyOf[[Property(SubgroupOperation(Ballot)), Property(SubgroupOperation(Shuffle))]]} ok Unsupported{SubgroupOperations; AnyOf[[Feature(ShaderQuadControl)]]} ok ok Unsupported{SubgroupOperations; AnyOf[[Feature(ShaderQuadControl)]]} Unsupported{SubgroupOperations; AnyOf[[Feature(ShaderQuadControl)]]} Unsupported{SubgroupOperations; AnyOf[[Property(SubgroupStage(Fragment))]]}
engine/gsm2_fill_moduli.ll fill_constant_moduli ok ok ok ok ok ok ok ok ok ok ok ok ok ok ok ok ok ok ok
engine/gsm2_fill_moduli.ll fill_runtime_moduli ok ok ok ok ok ok ok ok ok ok ok ok ok ok ok ok ok ok ok
engine/gsm2_fill_moduli.ll fill_function_constant_modulo NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }}
engine/gsm2_fill_moduli.ll fill_function_constant_modulo ok ok ok ok ok ok ok ok ok ok ok ok ok ok ok ok ok ok ok
engine/gsm2_fill_moduli.ll fill_constant_moduli_in_a_vertex_function ok ok ok ok Unsupported{SubgroupOperations; AnyOf[[Property(SubgroupStage(Vertex))]]} Unsupported{SubgroupOperations; AnyOf[[Property(SubgroupStage(Vertex))]]} ok ok ok ok Unsupported{SubgroupOperations; AnyOf[[Property(SubgroupStage(Vertex))]]} Unsupported{SubgroupOperations; AnyOf[[Property(SubgroupStage(Vertex))]]} ok ok ok ok Unsupported{StageStoresAndAtomics; AnyOf[[Feature(VertexPipelineStoresAndAtomics)]]} ok Unsupported{StageStoresAndAtomics; AnyOf[[Feature(VertexPipelineStoresAndAtomics)]]}
engine/gsm2_fill_moduli.ll quad_fills_in_a_vertex_function ok ok ok ok Unsupported{SubgroupOperations; AnyOf[[Property(SubgroupStage(Vertex))]]} Unsupported{SubgroupOperations; AnyOf[[Property(SubgroupStage(Vertex))]]} ok ok ok ok Unsupported{SubgroupOperations; AnyOf[[Property(SubgroupStage(Vertex))]]} Unsupported{SubgroupOperations; AnyOf[[Property(SubgroupStage(Vertex))]]} ok ok ok ok Unsupported{StageStoresAndAtomics; AnyOf[[Feature(VertexPipelineStoresAndAtomics)]]} ok Unsupported{StageStoresAndAtomics; AnyOf[[Feature(VertexPipelineStoresAndAtomics)]]}
engine/gsm2_fill_moduli.ll fragment_fill_constant_moduli ok ok ok ok ok ok ok ok ok ok ok Unsupported{SubgroupOperations; AnyOf[[Property(SubgroupOperation(Ballot)), Property(SubgroupOperation(Shuffle))]]} ok Unsupported{SubgroupOperations; AnyOf[[Feature(ShaderQuadControl)]]} ok ok Unsupported{SubgroupOperations; AnyOf[[Feature(ShaderQuadControl)]]} Unsupported{SubgroupOperations; AnyOf[[Feature(ShaderQuadControl)]]} Unsupported{SubgroupOperations; AnyOf[[Property(SubgroupStage(Fragment))]]}
@@ -1399,8 +1399,8 @@ engine/kernel_stage_in.ll stage_in_fetch NeedsInput{StageInputDescriptor { attri
engine/kernel_stage_in.ll stage_in_fetch_wide NeedsInput{StageInputDescriptor { attribute: 0 }} NeedsInput{StageInputDescriptor { attribute: 0 }} NeedsInput{StageInputDescriptor { attribute: 0 }} NeedsInput{StageInputDescriptor { attribute: 0 }} NeedsInput{StageInputDescriptor { attribute: 0 }} NeedsInput{StageInputDescriptor { attribute: 0 }} NeedsInput{StageInputDescriptor { attribute: 0 }} NeedsInput{StageInputDescriptor { attribute: 0 }} NeedsInput{StageInputDescriptor { attribute: 0 }} NeedsInput{StageInputDescriptor { attribute: 0 }} NeedsInput{StageInputDescriptor { attribute: 0 }} NeedsInput{StageInputDescriptor { attribute: 0 }} NeedsInput{StageInputDescriptor { attribute: 0 }} NeedsInput{StageInputDescriptor { attribute: 0 }} NeedsInput{StageInputDescriptor { attribute: 0 }} NeedsInput{StageInputDescriptor { attribute: 0 }} NeedsInput{StageInputDescriptor { attribute: 0 }} NeedsInput{StageInputDescriptor { attribute: 0 }} NeedsInput{StageInputDescriptor { attribute: 0 }}
engine/kernel_stage_in.ll stage_in_region NeedsInput{StageInputDescriptor { attribute: 0 }} NeedsInput{StageInputDescriptor { attribute: 0 }} NeedsInput{StageInputDescriptor { attribute: 0 }} NeedsInput{StageInputDescriptor { attribute: 0 }} NeedsInput{StageInputDescriptor { attribute: 0 }} NeedsInput{StageInputDescriptor { attribute: 0 }} NeedsInput{StageInputDescriptor { attribute: 0 }} NeedsInput{StageInputDescriptor { attribute: 0 }} NeedsInput{StageInputDescriptor { attribute: 0 }} NeedsInput{StageInputDescriptor { attribute: 0 }} NeedsInput{StageInputDescriptor { attribute: 0 }} NeedsInput{StageInputDescriptor { attribute: 0 }} NeedsInput{StageInputDescriptor { attribute: 0 }} NeedsInput{StageInputDescriptor { attribute: 0 }} NeedsInput{StageInputDescriptor { attribute: 0 }} NeedsInput{StageInputDescriptor { attribute: 0 }} NeedsInput{StageInputDescriptor { attribute: 0 }} NeedsInput{StageInputDescriptor { attribute: 0 }} NeedsInput{StageInputDescriptor { attribute: 0 }}
engine/kernel_stage_in.ll stage_in_region_short ok ok ok ok ok ok ok ok ok ok ok ok ok ok ok ok ok ok ok
engine/kernel_vector_function_constant.air.ll kernel_vector_function_constant NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }}
engine/kernel_vector_function_constant.ll kernel_vector_function_constant NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }}
engine/kernel_vector_function_constant.air.ll kernel_vector_function_constant ok ok ok ok ok ok ok ok ok ok ok ok ok ok ok ok ok ok ok
engine/kernel_vector_function_constant.ll kernel_vector_function_constant ok ok ok ok ok ok ok ok ok ok ok ok ok ok ok ok ok ok ok
engine/linked_mps_callbacks.air.ll linked_mps_callbacks NeedsInput{LinkedFunction { symbol: "prefixSecondary_f" }} NeedsInput{LinkedFunction { symbol: "prefixSecondary_f" }} NeedsInput{LinkedFunction { symbol: "prefixSecondary_f" }} NeedsInput{LinkedFunction { symbol: "prefixSecondary_f" }} NeedsInput{LinkedFunction { symbol: "prefixSecondary_f" }} NeedsInput{LinkedFunction { symbol: "prefixSecondary_f" }} NeedsInput{LinkedFunction { symbol: "prefixSecondary_f" }} NeedsInput{LinkedFunction { symbol: "prefixSecondary_f" }} NeedsInput{LinkedFunction { symbol: "prefixSecondary_f" }} NeedsInput{LinkedFunction { symbol: "prefixSecondary_f" }} NeedsInput{LinkedFunction { symbol: "prefixSecondary_f" }} NeedsInput{LinkedFunction { symbol: "prefixSecondary_f" }} NeedsInput{LinkedFunction { symbol: "prefixSecondary_f" }} NeedsInput{LinkedFunction { symbol: "prefixSecondary_f" }} NeedsInput{LinkedFunction { symbol: "prefixSecondary_f" }} NeedsInput{LinkedFunction { symbol: "prefixSecondary_f" }} NeedsInput{LinkedFunction { symbol: "prefixSecondary_f" }} NeedsInput{LinkedFunction { symbol: "prefixSecondary_f" }} NeedsInput{LinkedFunction { symbol: "prefixSecondary_f" }}
engine/linked_mps_callbacks.ll linked_mps_callbacks NeedsInput{LinkedFunction { symbol: "prefixSecondary_f" }} NeedsInput{LinkedFunction { symbol: "prefixSecondary_f" }} NeedsInput{LinkedFunction { symbol: "prefixSecondary_f" }} NeedsInput{LinkedFunction { symbol: "prefixSecondary_f" }} NeedsInput{LinkedFunction { symbol: "prefixSecondary_f" }} NeedsInput{LinkedFunction { symbol: "prefixSecondary_f" }} NeedsInput{LinkedFunction { symbol: "prefixSecondary_f" }} NeedsInput{LinkedFunction { symbol: "prefixSecondary_f" }} NeedsInput{LinkedFunction { symbol: "prefixSecondary_f" }} NeedsInput{LinkedFunction { symbol: "prefixSecondary_f" }} NeedsInput{LinkedFunction { symbol: "prefixSecondary_f" }} NeedsInput{LinkedFunction { symbol: "prefixSecondary_f" }} NeedsInput{LinkedFunction { symbol: "prefixSecondary_f" }} NeedsInput{LinkedFunction { symbol: "prefixSecondary_f" }} NeedsInput{LinkedFunction { symbol: "prefixSecondary_f" }} NeedsInput{LinkedFunction { symbol: "prefixSecondary_f" }} NeedsInput{LinkedFunction { symbol: "prefixSecondary_f" }} NeedsInput{LinkedFunction { symbol: "prefixSecondary_f" }} NeedsInput{LinkedFunction { symbol: "prefixSecondary_f" }}
engine/linked_visible_caller.air.ll linked_visible_caller NeedsInput{LinkedFunction { symbol: "linked_scale" }} NeedsInput{LinkedFunction { symbol: "linked_scale" }} NeedsInput{LinkedFunction { symbol: "linked_scale" }} NeedsInput{LinkedFunction { symbol: "linked_scale" }} NeedsInput{LinkedFunction { symbol: "linked_scale" }} NeedsInput{LinkedFunction { symbol: "linked_scale" }} NeedsInput{LinkedFunction { symbol: "linked_scale" }} NeedsInput{LinkedFunction { symbol: "linked_scale" }} NeedsInput{LinkedFunction { symbol: "linked_scale" }} NeedsInput{LinkedFunction { symbol: "linked_scale" }} NeedsInput{LinkedFunction { symbol: "linked_scale" }} NeedsInput{LinkedFunction { symbol: "linked_scale" }} NeedsInput{LinkedFunction { symbol: "linked_scale" }} NeedsInput{LinkedFunction { symbol: "linked_scale" }} NeedsInput{LinkedFunction { symbol: "linked_scale" }} NeedsInput{LinkedFunction { symbol: "linked_scale" }} NeedsInput{LinkedFunction { symbol: "linked_scale" }} NeedsInput{LinkedFunction { symbol: "linked_scale" }} NeedsInput{LinkedFunction { symbol: "linked_scale" }}
@@ -1412,10 +1412,10 @@ engine/linked_visible_functions.ll linked_visible_functions ok ok ok ok ok ok ok
engine/men2_eight_bit_points.air.ll men2_eight_bit_points NeedsInput{VertexDescriptor { attribute: 2 }} NeedsInput{VertexDescriptor { attribute: 2 }} NeedsInput{VertexDescriptor { attribute: 2 }} NeedsInput{VertexDescriptor { attribute: 2 }} NeedsInput{VertexDescriptor { attribute: 2 }} NeedsInput{VertexDescriptor { attribute: 2 }} NeedsInput{VertexDescriptor { attribute: 2 }} NeedsInput{VertexDescriptor { attribute: 2 }} NeedsInput{VertexDescriptor { attribute: 2 }} NeedsInput{VertexDescriptor { attribute: 2 }} NeedsInput{VertexDescriptor { attribute: 2 }} NeedsInput{VertexDescriptor { attribute: 2 }} NeedsInput{VertexDescriptor { attribute: 2 }} NeedsInput{VertexDescriptor { attribute: 2 }} NeedsInput{VertexDescriptor { attribute: 2 }} NeedsInput{VertexDescriptor { attribute: 2 }} NeedsInput{VertexDescriptor { attribute: 2 }} NeedsInput{VertexDescriptor { attribute: 2 }} NeedsInput{VertexDescriptor { attribute: 2 }}
engine/men2_eight_bit_points.ll men2_eight_bit_points NeedsInput{VertexDescriptor { attribute: 2 }} NeedsInput{VertexDescriptor { attribute: 2 }} NeedsInput{VertexDescriptor { attribute: 2 }} NeedsInput{VertexDescriptor { attribute: 2 }} NeedsInput{VertexDescriptor { attribute: 2 }} NeedsInput{VertexDescriptor { attribute: 2 }} NeedsInput{VertexDescriptor { attribute: 2 }} NeedsInput{VertexDescriptor { attribute: 2 }} NeedsInput{VertexDescriptor { attribute: 2 }} NeedsInput{VertexDescriptor { attribute: 2 }} NeedsInput{VertexDescriptor { attribute: 2 }} NeedsInput{VertexDescriptor { attribute: 2 }} NeedsInput{VertexDescriptor { attribute: 2 }} NeedsInput{VertexDescriptor { attribute: 2 }} NeedsInput{VertexDescriptor { attribute: 2 }} NeedsInput{VertexDescriptor { attribute: 2 }} NeedsInput{VertexDescriptor { attribute: 2 }} NeedsInput{VertexDescriptor { attribute: 2 }} NeedsInput{VertexDescriptor { attribute: 2 }}
engine/mesh_amplified.air.ll mesh_amplified ok ok ok ok ok ok ok ok ok ok ok ok ok ok ok ok ok ok ok
engine/mesh_amplified.air.ll mesh_amplified_gated NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }}
engine/mesh_amplified.air.ll mesh_amplified_gated ok ok ok ok ok ok ok ok ok ok ok ok ok ok ok ok ok ok ok
engine/mesh_amplified.air.ll mesh_layered ok ok ok ok ok ok ok ok ok ok ok Unsupported{LayeredRendering; AnyOf[[Feature(ShaderOutputLayer)]]} ok ok ok ok Unsupported{LayeredRendering; AnyOf[[Feature(ShaderOutputLayer)]]} Unsupported{LayeredRendering; AnyOf[[Feature(ShaderOutputLayer)]]} Unsupported{LayeredRendering; AnyOf[[Feature(ShaderOutputLayer)]]}
engine/mesh_amplified.ll mesh_amplified ok ok ok ok ok ok ok ok ok ok ok ok ok ok ok ok ok ok ok
engine/mesh_amplified.ll mesh_amplified_gated NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }}
engine/mesh_amplified.ll mesh_amplified_gated ok ok ok ok ok ok ok ok ok ok ok ok ok ok ok ok ok ok ok
engine/mesh_amplified.ll mesh_layered ok ok ok ok ok ok ok ok ok ok ok Unsupported{LayeredRendering; AnyOf[[Feature(ShaderOutputLayer)]]} ok ok ok ok Unsupported{LayeredRendering; AnyOf[[Feature(ShaderOutputLayer)]]} Unsupported{LayeredRendering; AnyOf[[Feature(ShaderOutputLayer)]]} Unsupported{LayeredRendering; AnyOf[[Feature(ShaderOutputLayer)]]}
engine/mesh_barrier.air.ll mesh_barrier_fragment ok ok ok ok ok ok ok ok ok ok ok ok ok ok ok ok ok ok ok
engine/mesh_barrier.air.ll mesh_barrier_fragment_writer ok ok ok ok ok ok ok ok ok ok ok ok ok ok ok ok ok ok Unsupported{StageStoresAndAtomics; AnyOf[[Feature(FragmentStoresAndAtomics)]]}
@@ -2659,17 +2659,17 @@ engine/zwd_shapes.air.ll zwd_path_v0 ok ok ok ok ok ok ok ok ok ok ok ok ok ok o
engine/zwd_shapes.air.ll zwd_path_v1 ok ok ok ok ok ok ok ok ok ok ok ok ok ok ok ok ok ok ok
engine/zwd_shapes.air.ll zwd_path_v2 ok ok ok ok ok ok ok ok ok ok ok ok ok ok ok ok ok ok ok
engine/zwd_shapes.air.ll zwd_path_v3 ok ok ok ok ok ok ok ok ok ok ok ok ok ok ok ok ok ok ok
engine/zwd_shapes.air.ll zwd_panel NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }}
engine/zwd_shapes.air.ll zwd_disc NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }}
engine/zwd_shapes.air.ll zwd_ring NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }}
engine/zwd_shapes.air.ll zwd_masked NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }}
engine/zwd_shapes.air.ll zwd_mask_half NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }}
engine/zwd_shapes.air.ll zwd_mask_gather NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }}
engine/zwd_shapes.air.ll zwd_mask_read NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }}
engine/zwd_shapes.air.ll zwd_mask_nearest NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }}
engine/zwd_shapes.air.ll zwd_panel ok ok ok ok ok ok ok ok ok ok ok ok ok ok ok ok ok ok ok
engine/zwd_shapes.air.ll zwd_disc ok ok ok ok ok ok ok ok ok ok ok ok ok ok ok ok ok ok ok
engine/zwd_shapes.air.ll zwd_ring ok ok ok ok ok ok ok ok ok ok ok ok ok ok ok ok ok ok ok
engine/zwd_shapes.air.ll zwd_masked ok ok ok ok ok ok ok ok ok ok ok ok ok ok ok ok ok ok ok
engine/zwd_shapes.air.ll zwd_mask_half ok ok ok ok ok ok ok ok ok ok ok ok ok ok ok ok ok ok ok
engine/zwd_shapes.air.ll zwd_mask_gather ok ok ok ok ok ok ok ok ok ok ok ok ok ok ok ok ok ok ok
engine/zwd_shapes.air.ll zwd_mask_read ok ok ok ok ok ok ok ok ok ok ok ok ok ok ok ok ok ok ok
engine/zwd_shapes.air.ll zwd_mask_nearest ok ok ok ok ok ok ok ok ok ok ok ok ok ok ok ok ok ok ok
engine/zwd_shapes.air.ll zwd_clip ok ok ok ok ok ok ok ok ok ok ok ok ok ok ok ok ok ok ok
engine/zwd_shapes.air.ll zwd_two ok ok ok ok ok ok ok ok ok ok ok ok ok ok ok ok ok ok ok
engine/zwd_shapes.air.ll zwd_layer NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }}
engine/zwd_shapes.air.ll zwd_layer ok ok ok ok ok ok ok ok ok ok ok ok ok ok ok ok ok ok ok
engine/zwd_shapes.air.ll zwd_path_exterior ok ok ok ok ok ok ok ok ok ok ok ok ok ok ok ok ok ok ok
engine/zwd_shapes.air.ll zwd_path_exterior_flat ok ok ok ok ok ok ok ok ok ok ok ok ok ok ok ok ok ok ok
engine/zwd_shapes.air.ll zwd_path_exterior_linear ok ok ok ok ok ok ok ok ok ok ok ok ok ok ok ok ok ok ok
@@ -2679,17 +2679,17 @@ engine/zwd_shapes.ll zwd_path_v0 ok ok ok ok ok ok ok ok ok ok ok ok ok ok ok ok
engine/zwd_shapes.ll zwd_path_v1 ok ok ok ok ok ok ok ok ok ok ok ok ok ok ok ok ok ok ok
engine/zwd_shapes.ll zwd_path_v2 ok ok ok ok ok ok ok ok ok ok ok ok ok ok ok ok ok ok ok
engine/zwd_shapes.ll zwd_path_v3 ok ok ok ok ok ok ok ok ok ok ok ok ok ok ok ok ok ok ok
engine/zwd_shapes.ll zwd_panel NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }}
engine/zwd_shapes.ll zwd_disc NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }}
engine/zwd_shapes.ll zwd_ring NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }}
engine/zwd_shapes.ll zwd_masked NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }}
engine/zwd_shapes.ll zwd_mask_half NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }}
engine/zwd_shapes.ll zwd_mask_gather NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }}
engine/zwd_shapes.ll zwd_mask_read NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }}
engine/zwd_shapes.ll zwd_mask_nearest NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }}
engine/zwd_shapes.ll zwd_panel ok ok ok ok ok ok ok ok ok ok ok ok ok ok ok ok ok ok ok
engine/zwd_shapes.ll zwd_disc ok ok ok ok ok ok ok ok ok ok ok ok ok ok ok ok ok ok ok
engine/zwd_shapes.ll zwd_ring ok ok ok ok ok ok ok ok ok ok ok ok ok ok ok ok ok ok ok
engine/zwd_shapes.ll zwd_masked ok ok ok ok ok ok ok ok ok ok ok ok ok ok ok ok ok ok ok
engine/zwd_shapes.ll zwd_mask_half ok ok ok ok ok ok ok ok ok ok ok ok ok ok ok ok ok ok ok
engine/zwd_shapes.ll zwd_mask_gather ok ok ok ok ok ok ok ok ok ok ok ok ok ok ok ok ok ok ok
engine/zwd_shapes.ll zwd_mask_read ok ok ok ok ok ok ok ok ok ok ok ok ok ok ok ok ok ok ok
engine/zwd_shapes.ll zwd_mask_nearest ok ok ok ok ok ok ok ok ok ok ok ok ok ok ok ok ok ok ok
engine/zwd_shapes.ll zwd_clip ok ok ok ok ok ok ok ok ok ok ok ok ok ok ok ok ok ok ok
engine/zwd_shapes.ll zwd_two ok ok ok ok ok ok ok ok ok ok ok ok ok ok ok ok ok ok ok
engine/zwd_shapes.ll zwd_layer NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }} NeedsInput{FunctionConstant { index: 0 }}
engine/zwd_shapes.ll zwd_layer ok ok ok ok ok ok ok ok ok ok ok ok ok ok ok ok ok ok ok
engine/zwd_shapes.ll zwd_path_exterior ok ok ok ok ok ok ok ok ok ok ok ok ok ok ok ok ok ok ok
engine/zwd_shapes.ll zwd_path_exterior_flat ok ok ok ok ok ok ok ok ok ok ok ok ok ok ok ok ok ok ok
engine/zwd_shapes.ll zwd_path_exterior_linear ok ok ok ok ok ok ok ok ok ok ok ok ok ok ok ok ok ok ok
Can't render this file because it is too large.
+14 -12
View File
@@ -1151,18 +1151,10 @@ match floor.compile_function(&min_lod, &LoweringInputs::new(), &Budget::standard
state names it (`location.attachment()`). [REFUSALS.md](REFUSALS.md) lists every refusal in the
code, with its device condition.
A compile that needs an input asks for it (`Error::NeedsInput`) instead of guessing: a
function-constant value, a storage texture's format, a linked function, a kernel's stage-input
descriptor. Supply it and compile again:
```rust
match device.compile_compute_pipeline(&descriptor, &budget) {
Err(Error::NeedsInput(RuntimeInput::FunctionConstant { index })) => {
let words = [1u32, 2, 3, 4].map(u32::to_le_bytes).concat();
let value = FunctionConstantValue::new(DataType::UInt4, words);
kernel.constants = FunctionConstantValues::defaults().with_index(index, value);
}
```
A compile that needs an input asks for it (`Error::NeedsInput`) instead of guessing: a storage
texture's format, a linked function, a kernel's stage-input descriptor. Supply it and compile
again. A function-constant value is no such input: a constant the request leaves undefined
compiles, as plain Metal's does (section 10, "Function constants").
A storage texture's format (`RuntimeInput::StorageTextureFormat { slot }`) comes from what is
bound: `metal::format::storage_image_choice(pixel_format, device.profile())`, placed in a
@@ -3674,6 +3666,16 @@ each item named states the rule in full.
- **A heap's buffer and texture over the same bytes alias them, in the device's layout**, not
Apple's tiled or compressed one.
**Function constants**
- **A function constant the request leaves undefined reads as zero.** A value computed from it
alone is its type's zero (an `and`, `or` or `mul` with a constant that decides it is that
constant), and a branch or `select` on one takes its false way; a value it meets with one the
run computes is computed with that zero. As Metal's, `is_function_constant_defined` is false for
it and an argument gated on it, negated or not, is absent. Metal makes the same pipeline, and its
reads of the constant vary from read to read: on an M3 Max under macOS 27.0.1 it read `u + 3` as
0, `u * 7 + 1` as 1, `u == 0 ? 111 : 222` as 222 and `b ? 5 : 6` as 5.
**Kernels**
- **An imageblock's length rounds its cell as an M4 does**
+4 -3
View File
@@ -101,9 +101,10 @@ needs an internal item is one of the crate's own tests (`src/tests/`).
- **Structure, not names.** Families decide from IR types, address spaces, the metadata ABI and the
`air.*` and `llvm.*` intrinsic contract. No branch keys on a function, type or variable name.
- **Typed refusals.** An input the device cannot run exactly is `Error::Unsupported`, naming the
Metal feature and what would make it translatable. A missing pipeline input (a function-constant
value, a stage-input or vertex descriptor, a storage texture's format) is `Error::NeedsInput`,
asked for and never guessed. A deterministic cap is `Error::LimitExceeded`. Only a deadline
Metal feature and what would make it translatable. A missing pipeline input (a stage-input or
vertex descriptor, a storage texture's format, a linked function) is `Error::NeedsInput`, asked
for and never guessed; a function constant left undefined is no such input, as in Metal
([API.md](API.md), "Accepted differences"). A deterministic cap is `Error::LimitExceeded`. Only a deadline
(`Error::Budget`) or a cancellation (`Error::Cancelled`) is transient.
- **Recorded differences.** Where the output gives a near-equivalent of Metal's answer, the stage
records a `PrecisionNote`, and `Reconvergence::ImplementationDefined` where the profile lacks