mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-20 07:20:10 +01:00
nak: merge identical if branches for blackwell, ampere and ada
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/38807>
This commit is contained in:
parent
9cfb4b1fdb
commit
c52fa1ac14
1 changed files with 1 additions and 3 deletions
|
|
@ -261,9 +261,7 @@ impl ShaderModel for ShaderModel70 {
|
||||||
}
|
}
|
||||||
|
|
||||||
fn latency_upper_bound(&self) -> u32 {
|
fn latency_upper_bound(&self) -> u32 {
|
||||||
if self.is_blackwell() {
|
if self.is_blackwell() || self.is_ampere() || self.is_ada() {
|
||||||
30
|
|
||||||
} else if self.is_ampere() || self.is_ada() {
|
|
||||||
30
|
30
|
||||||
} else if self.is_turing() {
|
} else if self.is_turing() {
|
||||||
25
|
25
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue