nir/divergence_analysis: Update LCSSA comment
Reviewed-by: Daniel Schürmann <daniel@schuermann.dev> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/35271>
This commit is contained in:
@@ -28,7 +28,9 @@
|
||||
* That is, the variable has the same value for all invocations
|
||||
* of the group.
|
||||
*
|
||||
* This divergence analysis pass expects the shader to be in LCSSA-form.
|
||||
* If the shader is not in LCSSA-form, passes need to use nir_src_is_divergent()
|
||||
* instead of reading the value from src->ssa->divergent as without LCSSA a src
|
||||
* can have a different divergence than the corresponding SSA-def.
|
||||
*
|
||||
* This algorithm implements "The Simple Divergence Analysis" from
|
||||
* Diogo Sampaio, Rafael De Souza, Sylvain Collange, Fernando Magno Quintão Pereira.
|
||||
|
||||
Reference in New Issue
Block a user