diff options
author | Jason Ekstrand <[email protected]> | 2017-10-18 17:28:19 -0700 |
---|---|---|
committer | Jason Ekstrand <[email protected]> | 2017-12-02 08:09:11 -0800 |
commit | e19c623128ef07c778f5f587864361c1ff383695 (patch) | |
tree | a555c61ff96823ac171d15cab6c7401ab1a07806 /src/compiler/spirv/vtn_private.h | |
parent | 6bd876dcaa4403b30eedd5ebe66bfadcef1f1a0c (diff) |
spirv: Convert the supported_extensions struct to spirv_options
This is a bit more general and lets us pass additional options into the
spirv_to_nir pass beyond what capabilities we support.
Reviewed-by: Kenneth Graunke <[email protected]>
Reviewed-by: Kristian H. Kristensen <[email protected]>
Diffstat (limited to 'src/compiler/spirv/vtn_private.h')
-rw-r--r-- | src/compiler/spirv/vtn_private.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/compiler/spirv/vtn_private.h b/src/compiler/spirv/vtn_private.h index 751f5011b7d..b4380294048 100644 --- a/src/compiler/spirv/vtn_private.h +++ b/src/compiler/spirv/vtn_private.h @@ -467,7 +467,7 @@ struct vtn_builder { nir_builder nb; nir_shader *shader; - const struct nir_spirv_supported_extensions *ext; + const struct spirv_to_nir_options *options; struct vtn_block *block; /* Current file, line, and column. Useful for debugging. Set |