aboutsummaryrefslogtreecommitdiffstats
path: root/src/compiler/spirv/vtn_private.h
diff options
context:
space:
mode:
authorKarol Herbst <[email protected]>2018-12-03 19:08:41 +0100
committerKarol Herbst <[email protected]>2019-01-21 20:36:41 +0100
commit5ee0adfb6eba2407c1046f3cdb70bf43e6383634 (patch)
treea3e9fb41998159b6947b42c2faa5541598fd16bf /src/compiler/spirv/vtn_private.h
parentfa737042adb02d83c24d6578c294264881e18334 (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.h3
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 *