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 21, 2023
1 parent 9542cb3 commit ef8ec25
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 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,
non_uniform_result: Some(handle),
requirements: UniformityRequirements::empty(),
},
E::SubgroupOperationResult { .. } => Uniformity {
non_uniform_result: None,
non_uniform_result: Some(handle),
requirements: UniformityRequirements::empty(),
},
};
Expand Down

0 comments on commit ef8ec25

Please sign in to comment.