mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-07 09:18:04 +02:00
nak: Fix a SM check for OpPCnt
This doens't really fix anything as we don't have any nir_loops on Volta+ but the code was wrong so we should fix it. Fixes:9bbc692064("nak/nir: Rework CRS handling") Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/34201> (cherry picked from commitaf9d65e8b8)
This commit is contained in:
parent
829c728e89
commit
4aad059de8
2 changed files with 2 additions and 2 deletions
|
|
@ -2394,7 +2394,7 @@
|
|||
"description": "nak: Fix a SM check for OpPCnt",
|
||||
"nominated": true,
|
||||
"nomination_type": 2,
|
||||
"resolution": 0,
|
||||
"resolution": 1,
|
||||
"main_sha": null,
|
||||
"because_sha": "9bbc6920640b71503519e513ccb9ce528a16fb8f",
|
||||
"notes": null
|
||||
|
|
|
|||
|
|
@ -3388,7 +3388,7 @@ impl<'a> ShaderFromNir<'a> {
|
|||
b.push_op(phi);
|
||||
}
|
||||
|
||||
if self.sm.sm() < 75 && nb.cf_node.prev().is_none() {
|
||||
if self.sm.sm() < 70 && nb.cf_node.prev().is_none() {
|
||||
if let Some(_) = nb.parent().as_loop() {
|
||||
b.push_op(OpPCnt {
|
||||
target: self.get_block_label(nb),
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue