From 53265c8798ee83e812f2e27356c8d9affc5356ca Mon Sep 17 00:00:00 2001 From: Jason Ekstrand Date: Mon, 1 Jan 2018 19:55:33 -0800 Subject: spirv: Add a mechanism for dumping failing shaders Reviewed-by: Lionel Landwerlin --- src/compiler/spirv/vtn_private.h | 1 + 1 file changed, 1 insertion(+) (limited to 'src/compiler/spirv/vtn_private.h') 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; -- cgit v1.2.3