diff options
author | Karol Herbst <[email protected]> | 2018-07-19 13:04:14 +0200 |
---|---|---|
committer | Karol Herbst <[email protected]> | 2019-03-05 22:28:29 +0100 |
commit | 5f8257fb0b022448eaee7c7d843fcf7309776d83 (patch) | |
tree | 47be1fbd3f99a15be5c193de71c673f95a6184bd /src/compiler/spirv/vtn_private.h | |
parent | 5d48359a2c5670d55f24e91229f59efc6368dcba (diff) |
nir/spirv: improve parsing of the memory model
v2: add some vtn_fail_ifs
Signed-off-by: Karol Herbst <[email protected]>
Reviewed-by: Jason Ekstrand <[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 f3d54051885..330cf47b34a 100644 --- a/src/compiler/spirv/vtn_private.h +++ b/src/compiler/spirv/vtn_private.h @@ -613,6 +613,9 @@ struct vtn_builder { /* false by default, set to true by the ContractionOff execution mode */ bool exact; + + /* when a physical memory model is choosen */ + bool physical_ptrs; }; nir_ssa_def * |