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

Author: Jason Ekstrand <jason.ekstr...@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:

_______________________________________________
mesa-commit mailing list
mesa-commit@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/mesa-commit

Reply via email to