diff options
author | Karol Herbst <[email protected]> | 2018-12-03 19:08:41 +0100 |
---|---|---|
committer | Karol Herbst <[email protected]> | 2019-01-21 20:36:41 +0100 |
commit | 5ee0adfb6eba2407c1046f3cdb70bf43e6383634 (patch) | |
tree | a3e9fb41998159b6947b42c2faa5541598fd16bf /src/compiler/spirv/vtn_private.h | |
parent | fa737042adb02d83c24d6578c294264881e18334 (diff) |
nir/spirv: handle ContractionOff execution mode
Signed-off-by: Karol Herbst <[email protected]>
Reviewed-by: Jason Ekstrand <[email protected]>
Reviewed-by: Bas Nieuwenhuizen <[email protected]>
Diffstat (limited to 'src/compiler/spirv/vtn_private.h')
-rw-r--r-- | src/compiler/spirv/vtn_private.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/compiler/spirv/vtn_private.h b/src/compiler/spirv/vtn_private.h index a2b3dee7517..3a5c5f32224 100644 --- a/src/compiler/spirv/vtn_private.h +++ b/src/compiler/spirv/vtn_private.h @@ -604,6 +604,9 @@ struct vtn_builder { unsigned func_param_idx; bool has_loop_continue; + + /* false by default, set to true by the ContractionOff execution mode */ + bool exact; }; nir_ssa_def * |