diff options
author | Jason Ekstrand <[email protected]> | 2018-01-01 19:55:33 -0800 |
---|---|---|
committer | Jason Ekstrand <[email protected]> | 2018-01-08 14:57:44 -0800 |
commit | 53265c8798ee83e812f2e27356c8d9affc5356ca (patch) | |
tree | 85720f1b64dddd64813a8ae5d834cc3af69c0588 /src/compiler/spirv/vtn_private.h | |
parent | 819adfdfb4601eed9c1642f23efa0c8077213a35 (diff) |
spirv: Add a mechanism for dumping failing shaders
Reviewed-by: Lionel Landwerlin <[email protected]>
Diffstat (limited to 'src/compiler/spirv/vtn_private.h')
-rw-r--r-- | src/compiler/spirv/vtn_private.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/compiler/spirv/vtn_private.h b/src/compiler/spirv/vtn_private.h index f7d8f49c98e..374643a7a84 100644 --- a/src/compiler/spirv/vtn_private.h +++ b/src/compiler/spirv/vtn_private.h @@ -531,6 +531,7 @@ struct vtn_builder { jmp_buf fail_jump; const uint32_t *spirv; + size_t spirv_word_count; nir_shader *shader; const struct spirv_to_nir_options *options; |