nir/spirv: Handle the NonReadable decoration on struct members
authorJason Ekstrand <jason.ekstrand@intel.com>
Fri, 20 May 2016 03:58:32 +0000 (20:58 -0700)
committerJason Ekstrand <jason.ekstrand@intel.com>
Fri, 20 May 2016 04:18:59 +0000 (21:18 -0700)
src/compiler/spirv/spirv_to_nir.c

index c92dfca3e383b46846a049ea3848ea6108bc3ae2..e60bb54106d9c4894afc8f4ec813f87bf710d52b 100644 (file)
@@ -455,6 +455,7 @@ struct_member_decoration_cb(struct vtn_builder *b,
 
    switch (dec->decoration) {
    case SpvDecorationNonWritable:
+   case SpvDecorationNonReadable:
    case SpvDecorationRelaxedPrecision:
       break; /* FIXME: Do nothing with this for now. */
    case SpvDecorationNoPerspective: