nir/spirv: Add support for SpvDecorationColMajor
authorJason Ekstrand <jason.ekstrand@intel.com>
Sat, 5 Sep 2015 01:26:32 +0000 (18:26 -0700)
committerJason Ekstrand <jason.ekstrand@intel.com>
Sat, 5 Sep 2015 01:50:14 +0000 (18:50 -0700)
src/glsl/nir/spirv_to_nir.c

index c3a16986fc1b55faf5f058580292784e9aeba765..9495fba0652438d80c3103f5a4f3ad6e4e3c4be8 100644 (file)
@@ -365,6 +365,8 @@ struct_member_decoration_cb(struct vtn_builder *b,
    case SpvDecorationOffset:
       ctx->type->offsets[member] = dec->literals[0];
       break;
+   case SpvDecorationColMajor:
+      break; /* Nothing to do here.  Column-major is the default. */
    default:
       unreachable("Unhandled member decoration");
    }