spirv: Bail when we see CounterBuffer decoration
authorCaio Marcelo de Oliveira Filho <caio.oliveira@intel.com>
Wed, 10 Jul 2019 16:00:47 +0000 (09:00 -0700)
committerCaio Marcelo de Oliveira Filho <caio.oliveira@intel.com>
Wed, 17 Jul 2019 03:31:12 +0000 (20:31 -0700)
commite2939dc5a149c7def7669ae5daf8ccdab0fb51c1
tree19c7013723ee15bdb5fa1743d2b741e412e7a923
parent1d5ee315536d4563714b35004d9efc1bd6621f53
spirv: Bail when we see CounterBuffer decoration

This decoration can be ignored, so we can just skip the next steps.
Otherwise we'd have to also handle it in apply_var_decoration.

Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>
src/compiler/spirv/vtn_variables.c