select: select_entry hands the widest-pin choice on to finish
f51f600047passed `widest_pin` into finish from select_entry, but select_entry is its own function and never had it: select destructures it and called select_entry without it. The library still did not compile atf51f600047(E0425 at the finish call; census job 25778 atf51f600047shows it). select now passes it to select_entry, which passes it to finish. Verified: grep shows every use of the value now sits in a function that takes it (select, select_entry, finish). The compile and suite proof is the pin-71 merged check at this commit. No version bump.
This commit is contained in:
1 parent
f51f600047
commit
2869f44698
1 file changed
+2
-1
@@ -1245,7 +1245,7 @@ pub fn select(
|
||||
func: e.func,
|
||||
observed,
|
||||
};
|
||||
let result = select_entry(cx, body, func.params.len(), m);
|
||||
let result = select_entry(cx, body, func.params.len(), widest_pin, m);
|
||||
m.release(observed_bytes);
|
||||
m.release(root_bytes);
|
||||
result
|
||||
@@ -1255,6 +1255,7 @@ fn select_entry(
|
||||
mut cx: SelectCx<'_>,
|
||||
body: &Body,
|
||||
params: usize,
|
||||
widest_pin: simd::WidestPin,
|
||||
m: &mut Meter,
|
||||
) -> Result<Plan, Error> {
|
||||
// The varyings a vertex function writes the same at every vertex of a primitive, which a
|
||||
|
||||
Reference in new issue
Block a user