| commit | cb156a468ec05ec0f082b98b7692f01ea13ec479 | [log] [tgz] |
|---|---|---|
| author | Faith Ekstrand <faith.ekstrand@collabora.com> | Mon May 05 10:09:16 2025 -0400 |
| committer | Marge Bot <marge-bot@fdo.invalid> | Mon May 05 17:51:25 2025 +0000 |
| tree | a23d04463b8d655bace7b32e32626441a4c2ba52 | |
| parent | a82b5696498e333a2e9ab957bceb6d1d269e9cdc [diff] |
nak: Match on the SrcRef directly in Src::is_nonzero() Calling as_u32() isn't really doing us any good here since we want to fail for SrcRef::Zero anyway. Also assert that src_mod == None since we don't handle FNeg in this path. Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/34818>