mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-25 01:30:30 +01:00
nak: Don't mix up two types of barrier
This part of the shader header is used for control flow barriers (like glsl barrier()), not reconvergence barriers. Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/30180>
This commit is contained in:
parent
ca087e2027
commit
aac97b22ae
1 changed files with 0 additions and 7 deletions
|
|
@ -1359,13 +1359,6 @@ impl Shader<'_> {
|
|||
|
||||
self.info.num_gprs = total_gprs.try_into().unwrap();
|
||||
|
||||
// We do a maximum here because nak_from_nir may set num_barriers to 1
|
||||
// in the case where there is an OpBar.
|
||||
self.info.num_barriers = max(
|
||||
self.info.num_barriers,
|
||||
max_live[RegFile::Bar].try_into().unwrap(),
|
||||
);
|
||||
|
||||
let limit = PerRegFile::new_with(|file| {
|
||||
if file == RegFile::GPR {
|
||||
gpr_limit
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue