mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-02-01 22:00:26 +01:00
nak/sm70: Fix the bit74_75_ar_mod assert
It's used for src2, not src0. Fixes:40422927dc("nak: Pass has_mod to all form of src2 requiring it") Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/33107> (cherry picked from commit47fc468944)
This commit is contained in:
parent
61b44913f5
commit
5f36e5961e
2 changed files with 2 additions and 2 deletions
|
|
@ -2484,7 +2484,7 @@
|
|||
"description": "nak/sm70: Fix the bit74_75_ar_mod assert",
|
||||
"nominated": true,
|
||||
"nomination_type": 2,
|
||||
"resolution": 0,
|
||||
"resolution": 1,
|
||||
"main_sha": null,
|
||||
"because_sha": "40422927dcb1249cdb1444557aca671387140428",
|
||||
"notes": null
|
||||
|
|
|
|||
|
|
@ -575,7 +575,7 @@ impl SM70Encoder<'_> {
|
|||
let bit74_75_are_mod = !is_fp16_alu
|
||||
|| matches!(src1, ALUSrc::None)
|
||||
|| matches!(src2, ALUSrc::None);
|
||||
debug_assert!(bit74_75_are_mod || !src0.has_src_mod());
|
||||
debug_assert!(bit74_75_are_mod || !src2.has_src_mod());
|
||||
|
||||
self.encode_alu_src0(&src0, RegFile::GPR, is_fp16_alu);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue