diff options
author | Jason Ekstrand <[email protected]> | 2019-09-26 11:48:44 -0500 |
---|---|---|
committer | Jason Ekstrand <[email protected]> | 2019-11-09 15:29:01 +0000 |
commit | 4f9688e5719bfa49b36ed38dc14e57af8aa41050 (patch) | |
tree | e31337f39e352a881b8bdedfb5fc77a87af87dad /src/compiler/spirv/vtn_cfg.c | |
parent | a3dc975ee7964d84b4df500751695e6d2cbfcc85 (diff) |
spirv: Remove the type from sampled_image
We have types on all vtn_values at this point so there's no reason to
carry the redundant type information.
Reviewed-by: Caio Marcelo de Oliveira Filho <[email protected]>
Diffstat (limited to 'src/compiler/spirv/vtn_cfg.c')
-rw-r--r-- | src/compiler/spirv/vtn_cfg.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/compiler/spirv/vtn_cfg.c b/src/compiler/spirv/vtn_cfg.c index a6451490081..cf67893c6c8 100644 --- a/src/compiler/spirv/vtn_cfg.c +++ b/src/compiler/spirv/vtn_cfg.c @@ -315,7 +315,6 @@ vtn_cfg_handle_prepass_instruction(struct vtn_builder *b, SpvOp opcode, vtn_push_value(b, w[2], vtn_value_type_sampled_image); val->sampled_image = ralloc(b, struct vtn_sampled_image); - val->sampled_image->type = type; struct vtn_type *sampler_type = rzalloc(b, struct vtn_type); sampler_type->base_type = vtn_base_type_sampler; |