mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-06 09:28:07 +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>
This commit is contained in:
parent
1d1d79bbaa
commit
af9d65e8b8
1 changed files with 1 additions and 1 deletions
|
|
@ -3434,7 +3434,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