Mesa (master): nir/spirv: Handle the NonReadable decoration on struct members

Jason Ekstrand jekstrand at kemper.freedesktop.org
Fri May 20 04:19:03 UTC 2016


Module: Mesa
Branch: master
Commit: eb384daae896970e8164cdc60015b8c48c12f851
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=eb384daae896970e8164cdc60015b8c48c12f851

Author: Jason Ekstrand <jason.ekstrand at intel.com>
Date:   Thu May 19 20:58:32 2016 -0700

nir/spirv: Handle the NonReadable decoration on struct members

---

 src/compiler/spirv/spirv_to_nir.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/compiler/spirv/spirv_to_nir.c b/src/compiler/spirv/spirv_to_nir.c
index c92dfca..e60bb54 100644
--- a/src/compiler/spirv/spirv_to_nir.c
+++ b/src/compiler/spirv/spirv_to_nir.c
@@ -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:




More information about the mesa-commit mailing list