Skip to content

Commit

Permalink
subgroup: Treat subgroup operation results as non-uniform
Browse files Browse the repository at this point in the history
  • Loading branch information
exrook committed Oct 19, 2023
1 parent 34e0100 commit 1bc1289
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/valid/analyzer.rs
Original file line number Diff line number Diff line change
Expand Up @@ -741,11 +741,11 @@ impl FunctionInfo {
requirements: UniformityRequirements::empty(),
},
E::SubgroupBallotResult => Uniformity {
non_uniform_result: None, // FIXME
non_uniform_result: Some(handle),
requirements: UniformityRequirements::empty(),
},
E::SubgroupOperationResult { ty } => Uniformity {
non_uniform_result: None, // FIXME
E::SubgroupOperationResult { .. } => Uniformity {
non_uniform_result: Some(handle),
requirements: UniformityRequirements::empty(),
},
};
Expand Down

0 comments on commit 1bc1289

Please sign in to comment.