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 c92dfca..e60bb54 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: